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.001093/0.001093, allocations: 102.9 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.001198/0.001198, allocations: 186.4 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7303/0.7303, allocations: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3422, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse): time 0.5149/0.8571, allocations: 197.4 MB / 0.7601 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.871, allocations: 9.862 MB / 0.7697 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.8733, allocations: 42.97 kB / 0.7698 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.8754, allocations: 0.7469 MB / 0.7705 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006464/0.8818, allocations: 2.465 MB / 0.7729 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004473/0.8863, allocations: 1.629 MB / 0.7745 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006747/0.8931, allocations: 4.32 MB / 0.7787 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003671/0.8968, allocations: 2.095 MB / 0.7808 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.9003, allocations: 1.507 MB / 0.7822 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.9033, allocations: 1.49 MB / 0.7837 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005048/0.9038, allocations: 288.6 kB / 0.784 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004444/0.9083, allocations: 2.22 MB / 0.7861 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007921/0.9091, allocations: 0.8795 MB / 0.787 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.9106, allocations: 1.369 MB / 0.7883 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005282/0.9159, allocations: 4.447 MB / 0.7927 GB, free: 420 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.916, allocations: 1.031 kB / 0.7927 GB, free: 420 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.422e-06/0.916, allocations: 0 / 0.7927 GB, free: 420 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.481e-05/0.916, allocations: 0 / 0.7927 GB, free: 420 kB / 0.5762 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.005822/0.9219, allocations: 2.929 MB / 0.7955 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.9219, allocations: 13.39 kB / 0.7955 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004869/0.9224, allocations: 301.4 kB / 0.7958 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/0.9247, allocations: 451.2 kB / 0.7963 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.927, allocations: 1.468 MB / 0.7977 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.065e-05/0.9271, allocations: 147.5 kB / 0.7978 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/0.9274, allocations: 190.6 kB / 0.798 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/0.9311, allocations: 2.362 MB / 0.8003 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/0.9312, allocations: 8.766 kB / 0.8003 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.9314, allocations: 78.53 kB / 0.8004 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/0.9315, allocations: 78.53 kB / 0.8005 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004295/0.9358, allocations: 2.876 MB / 0.8033 GB, free: 14.31 MB / 0.5919 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.01056/0.9464, allocations: 7.176 MB / 0.8103 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/0.95, allocations: 2.385 MB / 0.8126 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.9516, allocations: 1.157 MB / 0.8138 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/0.9528, allocations: 1.026 MB / 0.8148 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002107/0.9549, allocations: 1.289 MB / 0.816 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=216): time 5.901e-06/0.9549, allocations: 5.172 kB / 0.816 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of matching and sorting (n=216): time 0.006857/0.9618, allocations: 3.382 MB / 0.8193 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/0.9619, allocations: 211.5 kB / 0.8195 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.9637, allocations: 1.21 MB / 0.8207 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.9639, allocations: 64.52 kB / 0.8208 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005904/0.9645, allocations: 0.7442 MB / 0.8215 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005883/0.9651, allocations: 0.7039 MB / 0.8222 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005041/0.9656, allocations: 333.2 kB / 0.8225 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.9657, allocations: 309.1 kB / 0.8228 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.967, allocations: 0.824 MB / 0.8236 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.9686, allocations: 1.044 MB / 0.8246 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/0.9716, allocations: 1.968 MB / 0.8265 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.9716, allocations: 0 / 0.8265 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004326/0.976, allocations: 2.306 MB / 0.8288 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.976, allocations: 7.938 kB / 0.8288 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.976, allocations: 4.969 kB / 0.8288 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.9766, allocations: 84.73 kB / 0.8289 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.9782, allocations: 386.8 kB / 0.8293 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.9801, allocations: 1.638 MB / 0.8309 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.9818, allocations: 184.1 kB / 0.831 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.982, allocations: 75.84 kB / 0.8311 GB, free: 13.27 MB / 0.6075 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.0009984/0.983, allocations: 0.5334 MB / 0.8316 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.9834, allocations: 181.8 kB / 0.8318 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/0.9885, allocations: 2.705 MB / 0.8344 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.9885, allocations: 20.81 kB / 0.8345 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.9885, allocations: 4 kB / 0.8345 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003954/0.9925, allocations: 2.469 MB / 0.8369 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009846/1.002, allocations: 5.586 MB / 0.8423 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.002, allocations: 4 kB / 0.8423 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/1.004, allocations: 377.8 kB / 0.8427 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006369/1.005, allocations: 125.6 kB / 0.8428 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/1.005, allocations: 59.97 kB / 0.8429 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/1.008, allocations: 3.22 MB / 0.846 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.008, allocations: 11.12 kB / 0.846 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006594/1.014, allocations: 3.98 MB / 0.8499 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.015, allocations: 0.5411 MB / 0.8504 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/1.016, allocations: 55.08 kB / 0.8505 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.017, allocations: 89.8 kB / 0.8506 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/1.017, allocations: 164.8 kB / 0.8507 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/1.018, allocations: 83.95 kB / 0.8508 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001189/1.019, allocations: 0.8454 MB / 0.8516 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/1.019, allocations: 0 / 0.8516 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001843/1.021, allocations: 0.7213 MB / 0.8523 GB, free: 7.055 MB / 0.6231 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.008118/1.029, allocations: 5.19 MB / 0.8574 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008877/1.038, allocations: 3.779 MB / 0.8611 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.038, allocations: 0 / 0.8611 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002285/1.04, allocations: 1.454 MB / 0.8625 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/1.044, allocations: 0.7948 MB / 0.8633 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02562/1.069, allocations: 16.56 MB / 0.8795 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/1.071, allocations: 1.558 MB / 0.881 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00266/1.073, allocations: 0.6859 MB / 0.8817 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/1.075, allocations: 0.839 MB / 0.8825 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of SimCode: time 1.443e-06/1.075, allocations: 0 / 0.8825 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09178/1.167, allocations: 49.99 MB / 0.9313 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.4, allocations: 8.266 kB / 0.9313 GB, free: 6.27 MB / 0.7012 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)