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.001363/0.001363, allocations: 106.1 kB / 15.99 MB, free: 6.328 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.001404/0.001404, allocations: 195.7 kB / 16.91 MB, free: 6.176 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7116/0.7116, allocations: 115.3 MB / 406.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.89 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3422, allocations: 76.17 MB / 0.556 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse): time 0.1976/0.5398, allocations: 194.9 MB / 0.7464 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3102/0.85, allocations: 9.728 MB / 0.7559 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.8517, allocations: 41.06 kB / 0.7559 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.8534, allocations: 0.6411 MB / 0.7565 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005529/0.859, allocations: 2.289 MB / 0.7588 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.8626, allocations: 1.493 MB / 0.7602 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004857/0.8674, allocations: 4.317 MB / 0.7644 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/0.8704, allocations: 2.069 MB / 0.7665 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.8727, allocations: 1.526 MB / 0.7679 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.8748, allocations: 1.55 MB / 0.7695 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003896/0.8752, allocations: 289.6 kB / 0.7697 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004143/0.8793, allocations: 2.292 MB / 0.772 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007283/0.8801, allocations: 0.8756 MB / 0.7728 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.8815, allocations: 1.37 MB / 0.7742 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00506/0.8865, allocations: 4.572 MB / 0.7786 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.8866, allocations: 4.203 kB / 0.7786 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8866, allocations: 0 / 0.7786 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.715e-05/0.8866, allocations: 1 kB / 0.7786 GB, free: 16.78 MB / 0.5919 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.005563/0.8922, allocations: 2.929 MB / 0.7815 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8922, allocations: 9.734 kB / 0.7815 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004123/0.8927, allocations: 302.8 kB / 0.7818 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.8949, allocations: 455.6 kB / 0.7822 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.897, allocations: 1.473 MB / 0.7837 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.8971, allocations: 145.7 kB / 0.7838 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/0.8974, allocations: 194.5 kB / 0.784 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003949/0.9014, allocations: 2.35 MB / 0.7863 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.9014, allocations: 3.438 kB / 0.7863 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.9017, allocations: 86.53 kB / 0.7864 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-05/0.9018, allocations: 78.14 kB / 0.7864 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004308/0.9061, allocations: 2.871 MB / 0.7893 GB, free: 14.69 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.01006/0.9161, allocations: 7.152 MB / 0.7962 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003219/0.9194, allocations: 2.382 MB / 0.7986 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.921, allocations: 1.165 MB / 0.7997 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.9222, allocations: 1.014 MB / 0.8007 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/0.9241, allocations: 1.292 MB / 0.802 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=216): time 3.787e-06/0.9241, allocations: 0 / 0.802 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=216): time 0.006937/0.9311, allocations: 3.387 MB / 0.8053 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.9312, allocations: 208.8 kB / 0.8055 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.9331, allocations: 1.215 MB / 0.8066 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.9333, allocations: 68.08 kB / 0.8067 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006202/0.934, allocations: 0.7419 MB / 0.8074 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00063/0.9346, allocations: 0.7111 MB / 0.8081 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005557/0.9352, allocations: 332 kB / 0.8084 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.9353, allocations: 301.1 kB / 0.8087 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.9367, allocations: 0.8305 MB / 0.8095 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.9383, allocations: 1.042 MB / 0.8106 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.9414, allocations: 1.967 MB / 0.8125 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.9414, allocations: 2.844 kB / 0.8125 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004445/0.9459, allocations: 2.301 MB / 0.8147 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.9459, allocations: 4.781 kB / 0.8147 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.9459, allocations: 3.5 kB / 0.8147 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/0.9466, allocations: 89.23 kB / 0.8148 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.9482, allocations: 388.4 kB / 0.8152 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.9504, allocations: 1.651 MB / 0.8168 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.9524, allocations: 233.3 kB / 0.817 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.9526, allocations: 67.42 kB / 0.8171 GB, free: 4.004 MB / 0.5919 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.001167/0.9537, allocations: 0.5287 MB / 0.8176 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000541/0.9543, allocations: 185 kB / 0.8178 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005361/0.9597, allocations: 2.697 MB / 0.8204 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.9597, allocations: 27.94 kB / 0.8204 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.9597, allocations: 0.8438 kB / 0.8205 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004122/0.9638, allocations: 2.47 MB / 0.8229 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.9743, allocations: 5.582 MB / 0.8283 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.9743, allocations: 6.906 kB / 0.8283 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.9759, allocations: 377.2 kB / 0.8287 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006539/0.9766, allocations: 125.9 kB / 0.8288 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.9768, allocations: 67.91 kB / 0.8289 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003276/0.9801, allocations: 3.227 MB / 0.832 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.9801, allocations: 8 kB / 0.832 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00681/0.9869, allocations: 3.964 MB / 0.8359 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.9883, allocations: 0.545 MB / 0.8364 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005383/0.9888, allocations: 51.94 kB / 0.8365 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/0.9907, allocations: 141.4 kB / 0.8366 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003547/0.9911, allocations: 167.5 kB / 0.8368 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/0.9912, allocations: 75.97 kB / 0.8368 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001514/0.9928, allocations: 0.8571 MB / 0.8377 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9928, allocations: 0 / 0.8377 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002462/0.9952, allocations: 0.729 MB / 0.8384 GB, free: 15.13 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.00864/1.004, allocations: 5.187 MB / 0.8435 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008994/1.013, allocations: 3.771 MB / 0.8471 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.013, allocations: 6.906 kB / 0.8471 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002624/1.016, allocations: 1.446 MB / 0.8486 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/1.02, allocations: 0.7933 MB / 0.8493 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03191/1.052, allocations: 17.39 MB / 0.8663 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/1.054, allocations: 1.542 MB / 0.8678 GB, free: 452 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002489/1.056, allocations: 0.6907 MB / 0.8685 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/1.057, allocations: 0.835 MB / 0.8693 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of SimCode: time 1.543e-06/1.057, allocations: 0 / 0.8693 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08498/1.142, allocations: 49.71 MB / 0.9179 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/1.143, allocations: 304.5 kB / 0.9182 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/4.22, allocations: 3.75 kB / 0.9182 GB, free: 13.51 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Experimental_Benchmarks_AirFlow_Examples_ZoneStepResponse_fmu --startTime=0 --stopTime=6e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Experimental_Benchmarks_AirFlow_Examples_ZoneStepResponse.fmu > IBPSA_latest_IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe 2>&1)