Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 289.7 MB / 302.2 MB, free: 2.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 183.8 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.2 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 95.58 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.445e-05/4.462e-05, allocations: 0 / 0.8664 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.342, allocations: 143.3 MB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.342, allocations: 84.22 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02151/1.363, allocations: 8.446 MB / 1.128 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/1.364, allocations: 4 kB / 1.128 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.505e-05/1.364, allocations: 4 kB / 1.128 GB, free: 36.92 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008972/1.364, allocations: 0.5493 MB / 1.129 GB, free: 36.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/1.365, allocations: 12.03 kB / 1.129 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.263e-05/1.365, allocations: 54.97 kB / 1.129 GB, free: 36.33 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/1.365, allocations: 33.34 kB / 1.129 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/1.365, allocations: 340.5 kB / 1.129 GB, free: 36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/1.365, allocations: 16.62 kB / 1.129 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/1.365, allocations: 22.81 kB / 1.129 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/1.366, allocations: 178.2 kB / 1.129 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.366, allocations: 0 / 1.129 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/1.366, allocations: 10.56 kB / 1.129 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.366, allocations: 8 kB / 1.129 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/1.366, allocations: 142.7 kB / 1.13 GB, free: 35.78 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/1.367, allocations: 0.6942 MB / 1.13 GB, free: 35.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/1.368, allocations: 202.2 kB / 1.13 GB, free: 35.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/1.368, allocations: 69.05 kB / 1.13 GB, free: 35.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/1.368, allocations: 0 / 1.13 GB, free: 35.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/1.368, allocations: 131.5 kB / 1.131 GB, free: 35.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/1.368, allocations: 0 / 1.131 GB, free: 35.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0003954/1.368, allocations: 193.7 kB / 1.131 GB, free: 34.9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/1.368, allocations: 59.86 kB / 1.131 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/1.369, allocations: 350.7 kB / 1.131 GB, free: 34.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/1.369, allocations: 32.64 kB / 1.131 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/1.369, allocations: 186.8 kB / 1.131 GB, free: 34.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/1.369, allocations: 41.2 kB / 1.131 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/1.369, allocations: 9.5 kB / 1.131 GB, free: 34.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.369, allocations: 343 kB / 1.132 GB, free: 34.06 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/1.369, allocations: 101.3 kB / 1.132 GB, free: 34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/1.37, allocations: 150.5 kB / 1.132 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/1.37, allocations: 94.28 kB / 1.132 GB, free: 33.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.37, allocations: 4 kB / 1.132 GB, free: 33.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004731/1.37, allocations: 299.7 kB / 1.132 GB, free: 33.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.37, allocations: 8 kB / 1.132 GB, free: 33.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.37, allocations: 4.031 kB / 1.132 GB, free: 33.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.37, allocations: 1.594 kB / 1.132 GB, free: 33.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/1.371, allocations: 35.41 kB / 1.132 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.371, allocations: 4 kB / 1.132 GB, free: 33.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/1.371, allocations: 36.31 kB / 1.132 GB, free: 33.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/1.371, allocations: 14.34 kB / 1.132 GB, free: 33.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.371, allocations: 128 kB / 1.133 GB, free: 33.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/1.371, allocations: 27.62 kB / 1.133 GB, free: 33.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/1.371, allocations: 218.5 kB / 1.133 GB, free: 33.28 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/1.371, allocations: 7.375 kB / 1.133 GB, free: 33.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.371, allocations: 4.938 kB / 1.133 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.371, allocations: 0 / 1.133 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/1.372, allocations: 350.2 kB / 1.133 GB, free: 33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.372, allocations: 4 kB / 1.133 GB, free: 33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.165e-05/1.372, allocations: 23.41 kB / 1.133 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.372, allocations: 0 / 1.133 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/1.372, allocations: 3.625 kB / 1.133 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.372, allocations: 4.938 kB / 1.133 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.372, allocations: 0 / 1.133 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/1.372, allocations: 226.4 kB / 1.133 GB, free: 32.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/1.372, allocations: 119.7 kB / 1.134 GB, free: 32.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/1.372, allocations: 11.5 kB / 1.134 GB, free: 32.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/1.373, allocations: 23.11 kB / 1.134 GB, free: 32.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/1.373, allocations: 37.27 kB / 1.134 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/1.373, allocations: 8.375 kB / 1.134 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002168/1.373, allocations: 238.1 kB / 1.134 GB, free: 32.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/1.373, allocations: 0.6562 kB / 1.134 GB, free: 32.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003265/1.373, allocations: 82.12 kB / 1.134 GB, free: 32.39 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/1.375, allocations: 1.06 MB / 1.135 GB, free: 31.53 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003773/1.375, allocations: 201 kB / 1.135 GB, free: 31.4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.375, allocations: 4.062 kB / 1.135 GB, free: 31.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/1.375, allocations: 91.48 kB / 1.135 GB, free: 31.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/1.376, allocations: 51.22 kB / 1.135 GB, free: 31.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/1.377, allocations: 482.8 kB / 1.136 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/1.377, allocations: 0.7879 MB / 1.137 GB, free: 30.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001538/1.377, allocations: 45.19 kB / 1.137 GB, free: 30.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/1.377, allocations: 102.3 kB / 1.137 GB, free: 30.11 MB / 0.7448 GB Notification: Performance of SimCode: time 9.11e-07/1.377, allocations: 0.75 kB / 1.137 GB, free: 30.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/1.402, allocations: 6.334 MB / 1.143 GB, free: 26.42 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.402, allocations: 222.3 kB / 1.143 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/3.53, allocations: 4 kB / 1.143 GB, free: 26.19 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)