Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.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.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse,fileNamePrefix="IBPSA_latest_IBPSA_Experimental_Benchmarks_AirFlow_Examples_ZoneStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse,fileNamePrefix="IBPSA_latest_IBPSA_Experimental_Benchmarks_AirFlow_Examples_ZoneStepResponse",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.001224/0.001224, allocations: 103.8 kB / 16.4 MB, free: 6.477 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.00125/0.00125, allocations: 189.2 kB / 17.34 MB, free: 5.73 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8197/0.8197, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 64.12 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1471, allocations: 78.87 MB / 0.6505 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse): time 0.5517/0.6988, allocations: 197.5 MB / 0.8434 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.7142, allocations: 9.859 MB / 0.853 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.7164, allocations: 46.53 kB / 0.8531 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.7185, allocations: 0.7493 MB / 0.8538 GB, free: 252 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006845/0.7253, allocations: 2.469 MB / 0.8562 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.7298, allocations: 1.633 MB / 0.8578 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008711/0.7385, allocations: 4.328 MB / 0.8621 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004496/0.743, allocations: 2.102 MB / 0.8641 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/0.7472, allocations: 1.709 MB / 0.8658 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.7504, allocations: 1.484 MB / 0.8672 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006712/0.7511, allocations: 292 kB / 0.8675 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006265/0.7573, allocations: 2.234 MB / 0.8697 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.759, allocations: 0.8805 MB / 0.8705 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002385/0.7614, allocations: 1.361 MB / 0.8719 GB, free: 484 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007905/0.7693, allocations: 4.532 MB / 0.8763 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.7694, allocations: 8 kB / 0.8763 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7694, allocations: 0 / 0.8763 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.442e-05/0.7694, allocations: 0 / 0.8763 GB, free: 11.91 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 500 * Number of variables: 500 Notification: Performance of Generate backend data structure: time 0.006506/0.776, allocations: 3.011 MB / 0.8792 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.776, allocations: 8.031 kB / 0.8793 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004625/0.7765, allocations: 306.5 kB / 0.8795 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.7789, allocations: 462.1 kB / 0.88 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.7816, allocations: 1.526 MB / 0.8815 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.7817, allocations: 147.9 kB / 0.8816 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/0.782, allocations: 196 kB / 0.8818 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004116/0.7861, allocations: 2.348 MB / 0.8841 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/0.7862, allocations: 7.875 kB / 0.8841 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.7864, allocations: 84 kB / 0.8842 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.903e-05/0.7865, allocations: 75.84 kB / 0.8843 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004764/0.7913, allocations: 2.868 MB / 0.8871 GB, free: 0.7344 MB / 0.6387 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.01092/0.8022, allocations: 7.402 MB / 0.8943 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/0.806, allocations: 2.381 MB / 0.8966 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.8079, allocations: 1.157 MB / 0.8977 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.8091, allocations: 1.014 MB / 0.8987 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002123/0.8113, allocations: 1.294 MB / 0.9 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=216): time 3.316e-06/0.8113, allocations: 0 / 0.9 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of matching and sorting (n=216): time 0.007404/0.8187, allocations: 3.391 MB / 0.9033 GB, free: 15.44 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.8188, allocations: 205.9 kB / 0.9035 GB, free: 15.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.8207, allocations: 1.217 MB / 0.9047 GB, free: 13.97 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.8208, allocations: 65.7 kB / 0.9048 GB, free: 13.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007402/0.8216, allocations: 0.7618 MB / 0.9055 GB, free: 13.13 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007294/0.8223, allocations: 0.7397 MB / 0.9062 GB, free: 12.39 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005583/0.8229, allocations: 335.5 kB / 0.9065 GB, free: 12.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.823, allocations: 305.1 kB / 0.9068 GB, free: 11.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.8245, allocations: 0.8199 MB / 0.9076 GB, free: 10.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.8263, allocations: 1.04 MB / 0.9086 GB, free: 9.855 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/0.8296, allocations: 1.971 MB / 0.9106 GB, free: 7.863 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.8296, allocations: 3.938 kB / 0.9106 GB, free: 7.859 MB / 0.67 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004722/0.8343, allocations: 2.317 MB / 0.9128 GB, free: 5.531 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.8344, allocations: 4 kB / 0.9128 GB, free: 5.527 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.8344, allocations: 7.938 kB / 0.9128 GB, free: 5.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.835, allocations: 88.83 kB / 0.9129 GB, free: 5.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.8366, allocations: 387.4 kB / 0.9133 GB, free: 5.051 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.839, allocations: 1.626 MB / 0.9149 GB, free: 3.281 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.8405, allocations: 198.8 kB / 0.9151 GB, free: 3.086 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.8407, allocations: 71.97 kB / 0.9152 GB, free: 3.016 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 232 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.8417, allocations: 0.5247 MB / 0.9157 GB, free: 2.48 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.8422, allocations: 191 kB / 0.9158 GB, free: 2.293 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005487/0.8476, allocations: 2.706 MB / 0.9185 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.8477, allocations: 24 kB / 0.9185 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.8477, allocations: 8 kB / 0.9185 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004287/0.852, allocations: 2.469 MB / 0.9209 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.8621, allocations: 5.587 MB / 0.9264 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.8621, allocations: 4 kB / 0.9264 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.8637, allocations: 375.5 kB / 0.9267 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006624/0.8644, allocations: 126 kB / 0.9269 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.8646, allocations: 55.97 kB / 0.9269 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/0.868, allocations: 3.221 MB / 0.9301 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.868, allocations: 4.062 kB / 0.9301 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007014/0.875, allocations: 3.986 MB / 0.934 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.8761, allocations: 0.5577 MB / 0.9345 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.8764, allocations: 47.98 kB / 0.9346 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.8777, allocations: 93.64 kB / 0.9346 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/0.878, allocations: 165.7 kB / 0.9348 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.8782, allocations: 79.97 kB / 0.9349 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00135/0.8796, allocations: 0.8454 MB / 0.9357 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8796, allocations: 0 / 0.9357 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001851/0.8814, allocations: 0.7407 MB / 0.9364 GB, free: 12.56 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 5 (simpleZone.volRoom.dynBal.medium.Xi[1],simpleZone.volRoom.dynBal.U,simpleZone.volRoom.dynBal.m,simpleZone.door.mExcAB,simpleZone.door.mExcBA) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009169/0.8906, allocations: 5.183 MB / 0.9415 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004147/0.8948, allocations: 2.257 MB / 0.9437 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.8948, allocations: 4 kB / 0.9437 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002425/0.8972, allocations: 1.447 MB / 0.9451 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/0.9007, allocations: 0.806 MB / 0.9459 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02577/0.9265, allocations: 15.42 MB / 0.961 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.928, allocations: 1.554 MB / 0.9625 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002207/0.9302, allocations: 0.6906 MB / 0.9631 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/0.9315, allocations: 0.839 MB / 0.964 GB, free: 12 kB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.9315, allocations: 0 / 0.964 GB, free: 12 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.032, allocations: 50.51 MB / 1.013 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/17.18, allocations: 11.98 kB / 1.013 GB, free: 14 MB / 0.7794 GB (rm -f IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe ; mkfifo IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe >> ../files/IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse_res.csv --start-time 0 --stop-time 6e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 200 IBPSA_latest_IBPSA_Experimental_Benchmarks_AirFlow_Examples_ZoneStepResponse.fmu > IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe 2>&1)