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.876/1.876, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001134/0.001134, allocations: 177 kB / 377.1 MB, free: 1.523 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.797/1.797, allocations: 205.4 MB / 0.6366 GB, free: 8.551 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.0008928/0.0008923, allocations: 95.7 kB / 0.7509 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003859, allocations: 8 kB / 0.8749 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2871, allocations: 116.3 MB / 0.9885 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7653/1.052, allocations: 143.4 MB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/1.053, allocations: 83.28 kB / 1.129 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02309/1.076, allocations: 8.486 MB / 1.137 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.054e-06/1.076, allocations: 0 / 1.137 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.687e-05/1.076, allocations: 4 kB / 1.137 GB, free: 26.38 MB / 0.7292 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.001134/1.077, allocations: 0.6098 MB / 1.137 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.077, allocations: 8.734 kB / 1.137 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.192e-05/1.077, allocations: 54.88 kB / 1.138 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/1.077, allocations: 34.34 kB / 1.138 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/1.078, allocations: 341 kB / 1.138 GB, free: 25.33 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.078, allocations: 23.44 kB / 1.138 GB, free: 25.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/1.078, allocations: 20.66 kB / 1.138 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/1.078, allocations: 184.4 kB / 1.138 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.078, allocations: 0 / 1.138 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/1.078, allocations: 4.75 kB / 1.138 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.078, allocations: 8.656 kB / 1.138 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/1.079, allocations: 143.2 kB / 1.138 GB, free: 25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/1.08, allocations: 0.7006 MB / 1.139 GB, free: 24.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/1.08, allocations: 206.2 kB / 1.139 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/1.08, allocations: 0 / 1.139 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/1.081, allocations: 137.5 kB / 1.139 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/1.081, allocations: 0 / 1.139 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0005528/1.081, allocations: 260.2 kB / 1.14 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1.081, allocations: 60.06 kB / 1.14 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004284/1.082, allocations: 348.7 kB / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/1.082, allocations: 33.7 kB / 1.14 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/1.082, allocations: 171.3 kB / 1.14 GB, free: 23.26 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/1.082, allocations: 47.61 kB / 1.14 GB, free: 23.22 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/1.082, allocations: 4 kB / 1.14 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/1.082, allocations: 348.8 kB / 1.14 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/1.082, allocations: 104.2 kB / 1.141 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/1.082, allocations: 157.6 kB / 1.141 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/1.083, allocations: 99.72 kB / 1.141 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.083, allocations: 0 / 1.141 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004652/1.083, allocations: 305.9 kB / 1.141 GB, free: 22.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.083, allocations: 4.609 kB / 1.141 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.083, allocations: 0 / 1.141 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.083, allocations: 4 kB / 1.141 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/1.083, allocations: 37.48 kB / 1.141 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/1.083, allocations: 3.938 kB / 1.141 GB, free: 22.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/1.084, allocations: 52.16 kB / 1.141 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/1.084, allocations: 14.28 kB / 1.141 GB, free: 22.17 MB / 0.7292 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 () * Number of clocked 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.0001685/1.084, allocations: 169.9 kB / 1.141 GB, free: 22 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/1.084, allocations: 27.62 kB / 1.141 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/1.084, allocations: 232.3 kB / 1.142 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.084, allocations: 4 kB / 1.142 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.084, allocations: 0 / 1.142 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.084, allocations: 1.266 kB / 1.142 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/1.085, allocations: 344.7 kB / 1.142 GB, free: 21.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.085, allocations: 0 / 1.142 GB, free: 21.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.501e-05/1.085, allocations: 22.67 kB / 1.142 GB, free: 21.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/1.085, allocations: 5.344 kB / 1.142 GB, free: 21.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/1.085, allocations: 5.641 kB / 1.142 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/1.085, allocations: 2.672 kB / 1.142 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.085, allocations: 0 / 1.142 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/1.085, allocations: 248.3 kB / 1.142 GB, free: 21.17 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/1.085, allocations: 111.4 kB / 1.142 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/1.085, allocations: 8.797 kB / 1.142 GB, free: 21.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/1.085, allocations: 16.78 kB / 1.142 GB, free: 21.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.086, allocations: 43.89 kB / 1.142 GB, free: 21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/1.086, allocations: 5.828 kB / 1.142 GB, free: 21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002467/1.086, allocations: 239.3 kB / 1.143 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.5e-07/1.086, allocations: 0 / 1.143 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003163/1.086, allocations: 74.09 kB / 1.143 GB, free: 20.72 MB / 0.7292 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) * Number of clocked states: 0 () * 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.001403/1.088, allocations: 1.126 MB / 1.144 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003932/1.088, allocations: 218.2 kB / 1.144 GB, free: 19.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.088, allocations: 0 / 1.144 GB, free: 19.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/1.088, allocations: 95.56 kB / 1.144 GB, free: 19.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/1.088, allocations: 48.02 kB / 1.144 GB, free: 19.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/1.09, allocations: 1.01 MB / 1.145 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/1.09, allocations: 0.7845 MB / 1.146 GB, free: 17.69 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001622/1.09, allocations: 44 kB / 1.146 GB, free: 17.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/1.09, allocations: 103.9 kB / 1.146 GB, free: 17.58 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/1.09, allocations: 0 / 1.146 GB, free: 17.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/1.111, allocations: 6.252 MB / 1.152 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.111, allocations: 253.6 kB / 1.152 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/3.292, allocations: 0 / 1.152 GB, free: 13.6 MB / 0.7292 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)