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.001681/0.001681, allocations: 102.2 kB / 16.4 MB, free: 6.457 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.001985/0.001985, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8394/0.8394, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 66.11 kB / 0.5679 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1441, allocations: 77.92 MB / 0.644 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse): time 0.551/0.6952, allocations: 197.5 MB / 0.8369 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.7109, allocations: 9.859 MB / 0.8465 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.7134, allocations: 41.59 kB / 0.8465 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.716, allocations: 0.7795 MB / 0.8473 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007273/0.7233, allocations: 2.535 MB / 0.8498 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004766/0.7281, allocations: 1.64 MB / 0.8514 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006305/0.7344, allocations: 4.337 MB / 0.8556 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004179/0.7386, allocations: 2.103 MB / 0.8577 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003433/0.7421, allocations: 1.53 MB / 0.8592 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/0.7452, allocations: 1.486 MB / 0.8606 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007534/0.746, allocations: 292 kB / 0.8609 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004766/0.7507, allocations: 2.261 MB / 0.8631 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008936/0.7517, allocations: 0.8727 MB / 0.864 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.7532, allocations: 1.365 MB / 0.8653 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006312/0.7595, allocations: 4.535 MB / 0.8697 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7595, allocations: 0 / 0.8697 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7595, allocations: 0 / 0.8697 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.57e-05/0.7596, allocations: 0 / 0.8697 GB, free: 4.879 MB / 0.6231 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.006118/0.7657, allocations: 2.999 MB / 0.8726 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.7658, allocations: 12.62 kB / 0.8727 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004114/0.7662, allocations: 306.5 kB / 0.8729 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/0.7685, allocations: 470 kB / 0.8734 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.771, allocations: 1.53 MB / 0.8749 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.7711, allocations: 147.8 kB / 0.875 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.7714, allocations: 192 kB / 0.8752 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003676/0.7751, allocations: 2.356 MB / 0.8775 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/0.7751, allocations: 0 / 0.8775 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/0.7753, allocations: 76 kB / 0.8776 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.192e-05/0.7754, allocations: 87.78 kB / 0.8777 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004482/0.7799, allocations: 2.868 MB / 0.8805 GB, free: 9.688 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.01054/0.7905, allocations: 7.135 MB / 0.8874 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/0.794, allocations: 2.388 MB / 0.8898 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.7957, allocations: 1.157 MB / 0.8909 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.7968, allocations: 1.014 MB / 0.8919 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002057/0.7989, allocations: 1.29 MB / 0.8932 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=216): time 3.596e-06/0.7989, allocations: 0 / 0.8932 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=216): time 0.006993/0.8059, allocations: 3.387 MB / 0.8965 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.806, allocations: 213.9 kB / 0.8967 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.808, allocations: 1.213 MB / 0.8978 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.8082, allocations: 69.7 kB / 0.8979 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/0.8088, allocations: 0.754 MB / 0.8987 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005765/0.8094, allocations: 0.7436 MB / 0.8994 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005034/0.8099, allocations: 335.5 kB / 0.8997 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.81, allocations: 309 kB / 0.9 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.8114, allocations: 0.8238 MB / 0.9008 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.813, allocations: 1.044 MB / 0.9018 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/0.8162, allocations: 1.967 MB / 0.9037 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.8162, allocations: 4 kB / 0.9037 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00443/0.8206, allocations: 2.301 MB / 0.906 GB, free: 14.82 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.8207, allocations: 8 kB / 0.906 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.8207, allocations: 0 / 0.906 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.8213, allocations: 92.83 kB / 0.9061 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.823, allocations: 391.2 kB / 0.9065 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.8252, allocations: 1.642 MB / 0.9081 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.8269, allocations: 190.8 kB / 0.9082 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.8271, allocations: 71.97 kB / 0.9083 GB, free: 12.29 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.0009643/0.8281, allocations: 0.5324 MB / 0.9088 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.8284, allocations: 186.8 kB / 0.909 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/0.8334, allocations: 2.693 MB / 0.9116 GB, free: 8.844 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.8334, allocations: 31.98 kB / 0.9117 GB, free: 8.812 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8335, allocations: 0 / 0.9117 GB, free: 8.812 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00427/0.8377, allocations: 2.473 MB / 0.9141 GB, free: 6.25 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.8482, allocations: 5.588 MB / 0.9195 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.8482, allocations: 4 kB / 0.9195 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.8499, allocations: 375.5 kB / 0.9199 GB, free: 144 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006195/0.8505, allocations: 130.1 kB / 0.92 GB, free: 8 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.8507, allocations: 64.05 kB / 0.9201 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/0.8536, allocations: 3.217 MB / 0.9232 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.8537, allocations: 11.94 kB / 0.9232 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00688/0.8606, allocations: 3.982 MB / 0.9271 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.8618, allocations: 0.5461 MB / 0.9277 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/0.8622, allocations: 51.98 kB / 0.9277 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/0.8638, allocations: 93.17 kB / 0.9278 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/0.8641, allocations: 161.7 kB / 0.928 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/0.8643, allocations: 75.97 kB / 0.928 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001491/0.8658, allocations: 0.8571 MB / 0.9289 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8658, allocations: 0 / 0.9289 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001955/0.8677, allocations: 0.7367 MB / 0.9296 GB, free: 5.832 MB / 0.6856 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.008796/0.8765, allocations: 5.197 MB / 0.9347 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004246/0.8808, allocations: 2.249 MB / 0.9369 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/0.8808, allocations: 3.953 kB / 0.9369 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.8832, allocations: 1.451 MB / 0.9383 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00437/0.8876, allocations: 0.8071 MB / 0.9391 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/0.9142, allocations: 15.41 MB / 0.9541 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.9156, allocations: 1.554 MB / 0.9556 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002143/0.9178, allocations: 0.6944 MB / 0.9563 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.9191, allocations: 0.839 MB / 0.9571 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.9191, allocations: 0 / 0.9571 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09946/1.019, allocations: 50.49 MB / 1.006 GB, free: 7.301 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.9, allocations: 9.344 kB / 1.006 GB, free: 7.297 MB / 0.7637 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)