Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 102.3 kB / 16.27 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009677/0.0009677, allocations: 187.7 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7077/0.7077, allocations: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.88 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.28, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1424/0.4224, allocations: 156.7 MB / 0.7203 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02182/0.4443, allocations: 21.75 MB / 0.7416 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.4456, allocations: 51.69 kB / 0.7416 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.4471, allocations: 1.157 MB / 0.7427 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.4484, allocations: 0.8562 MB / 0.7436 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009833/0.4494, allocations: 439.7 kB / 0.744 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.4506, allocations: 1.255 MB / 0.7452 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007465/0.4514, allocations: 0.6892 MB / 0.7459 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005737/0.452, allocations: 0.5529 MB / 0.7464 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008615/0.4528, allocations: 0.9138 MB / 0.7473 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.4529, allocations: 64 kB / 0.7474 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.4532, allocations: 111.9 kB / 0.7475 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.4534, allocations: 316.8 kB / 0.7478 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.4538, allocations: 492.8 kB / 0.7483 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.2558/0.7096, allocations: 1.173 MB / 0.7494 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.7096, allocations: 0 / 0.7494 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7097, allocations: 1.406 kB / 0.7494 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.1e-05/0.7097, allocations: 0.5312 kB / 0.7494 GB, free: 6.172 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00249/0.7122, allocations: 1.477 MB / 0.7509 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.7122, allocations: 9.406 kB / 0.7509 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.653e-05/0.7123, allocations: 85 kB / 0.751 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.7126, allocations: 135.6 kB / 0.7511 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008196/0.7134, allocations: 0.6616 MB / 0.7517 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.7136, allocations: 73.3 kB / 0.7518 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-05/0.7136, allocations: 48.92 kB / 0.7518 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008929/0.7145, allocations: 0.518 MB / 0.7524 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.7146, allocations: 6.188 kB / 0.7524 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.7146, allocations: 17.72 kB / 0.7524 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.7146, allocations: 10.34 kB / 0.7524 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008479/0.7155, allocations: 420 kB / 0.7528 GB, free: 4.785 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.7188, allocations: 2.802 MB / 0.7555 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.7198, allocations: 454.9 kB / 0.756 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/0.7204, allocations: 284.5 kB / 0.7562 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.7205, allocations: 13.12 kB / 0.7562 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000604/0.7211, allocations: 300.4 kB / 0.7565 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.7211, allocations: 1.375 kB / 0.7565 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.003032/0.7241, allocations: 1.238 MB / 0.7577 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.7242, allocations: 56.59 kB / 0.7578 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.7261, allocations: 1.753 MB / 0.7595 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.7261, allocations: 42.91 kB / 0.7595 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.7264, allocations: 0.5092 MB / 0.76 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.7265, allocations: 153.1 kB / 0.7602 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.7267, allocations: 97.19 kB / 0.7603 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.7268, allocations: 327.1 kB / 0.7606 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.7273, allocations: 223.3 kB / 0.7608 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.7278, allocations: 328.2 kB / 0.7611 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/0.7287, allocations: 0.5108 MB / 0.7616 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7287, allocations: 1.938 kB / 0.7616 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0016/0.7303, allocations: 0.8416 MB / 0.7624 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.7304, allocations: 9.047 kB / 0.7624 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7304, allocations: 3.844 kB / 0.7625 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.7309, allocations: 185.5 kB / 0.7626 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.7313, allocations: 99.36 kB / 0.7627 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.7344, allocations: 2.997 MB / 0.7656 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.7348, allocations: 73.11 kB / 0.7657 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.7348, allocations: 24.06 kB / 0.7657 GB, free: 16.19 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000373/0.7352, allocations: 385.1 kB / 0.7661 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.7353, allocations: 115.3 kB / 0.7662 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.7355, allocations: 143.5 kB / 0.7664 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.7355, allocations: 4.531 kB / 0.7664 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.7356, allocations: 4.5 kB / 0.7664 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.7356, allocations: 2.672 kB / 0.7664 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.7379, allocations: 1.567 MB / 0.7679 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.7379, allocations: 1 kB / 0.7679 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.7381, allocations: 49.03 kB / 0.7679 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004428/0.7386, allocations: 196 kB / 0.7681 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.7386, allocations: 10.88 kB / 0.7681 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/0.7425, allocations: 4.554 MB / 0.7726 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7425, allocations: 1.906 kB / 0.7726 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.7443, allocations: 1.064 MB / 0.7736 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.7445, allocations: 215.8 kB / 0.7738 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.509e-05/0.7446, allocations: 16.81 kB / 0.7739 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.7449, allocations: 34.52 kB / 0.7739 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.745, allocations: 51.8 kB / 0.7739 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.7451, allocations: 14.28 kB / 0.7739 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001021/0.7461, allocations: 1.283 MB / 0.7752 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7461, allocations: 1.031 kB / 0.7752 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006703/0.7468, allocations: 199.9 kB / 0.7754 GB, free: 12.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002798/0.7496, allocations: 1.988 MB / 0.7773 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.751, allocations: 0.7642 MB / 0.7781 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.751, allocations: 2.094 kB / 0.7781 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007678/0.7518, allocations: 0.5498 MB / 0.7786 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/0.7527, allocations: 210.8 kB / 0.7788 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.7634, allocations: 9.141 MB / 0.7877 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.764, allocations: 1.149 MB / 0.7889 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002756/0.7643, allocations: 95.44 kB / 0.789 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.7646, allocations: 405.4 kB / 0.7893 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.7646, allocations: 0.9688 kB / 0.7893 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04254/0.8072, allocations: 20.84 MB / 0.8097 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.989/9.796, allocations: 14.39 kB / 0.8097 GB, free: 1.828 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)