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.779/1.779, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001/0.001, allocations: 180.8 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.000857/0.0008571, allocations: 86.56 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.26e-05, allocations: 4 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7114, allocations: 116.3 MB / 0.9734 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.9141, allocations: 142.6 MB / 1.113 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.9145, allocations: 86.3 kB / 1.113 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02258/0.9371, allocations: 8.398 MB / 1.121 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9371, allocations: 0 / 1.121 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.9371, allocations: 8 kB / 1.121 GB, free: 15.02 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.0007908/0.9379, allocations: 0.5571 MB / 1.122 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.938, allocations: 8.031 kB / 1.122 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/0.9381, allocations: 42.62 kB / 1.122 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.9386, allocations: 335.9 kB / 1.122 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.9387, allocations: 11.88 kB / 1.122 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.9387, allocations: 12 kB / 1.122 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002456/0.939, allocations: 136 kB / 1.122 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.9392, allocations: 157.4 kB / 1.122 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.9393, allocations: 0 / 1.122 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.9393, allocations: 0 / 1.122 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.9393, allocations: 8 kB / 1.122 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009984/0.9403, allocations: 0.645 MB / 1.123 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.9407, allocations: 190.9 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.9408, allocations: 64.86 kB / 1.123 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.9408, allocations: 4 kB / 1.123 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.941, allocations: 132.5 kB / 1.123 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/0.941, allocations: 0 / 1.123 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003329/0.9414, allocations: 178.4 kB / 1.123 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.9414, allocations: 55.34 kB / 1.123 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.9418, allocations: 337 kB / 1.124 GB, free: 12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.9418, allocations: 25.7 kB / 1.124 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.942, allocations: 180.4 kB / 1.124 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.942, allocations: 43.44 kB / 1.124 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.942, allocations: 4 kB / 1.124 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.9422, allocations: 350.8 kB / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.9423, allocations: 95.98 kB / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.9425, allocations: 141.1 kB / 1.125 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.9428, allocations: 95.94 kB / 1.125 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9428, allocations: 4 kB / 1.125 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004685/0.9433, allocations: 290.2 kB / 1.125 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.9433, allocations: 4 kB / 1.125 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9433, allocations: 0 / 1.125 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.9433, allocations: 7.984 kB / 1.125 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.9435, allocations: 39.92 kB / 1.125 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.9435, allocations: 0 / 1.125 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.9437, allocations: 33.97 kB / 1.125 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.9438, allocations: 8 kB / 1.125 GB, free: 10.66 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 () * 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.0001022/0.9439, allocations: 122.6 kB / 1.125 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002666/0.9441, allocations: 179.2 kB / 1.125 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.9442, allocations: 27.7 kB / 1.125 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.9445, allocations: 207.7 kB / 1.126 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9445, allocations: 3.938 kB / 1.126 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9446, allocations: 4 kB / 1.126 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9446, allocations: 0 / 1.126 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.9448, allocations: 305.9 kB / 1.126 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.9449, allocations: 3.938 kB / 1.126 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-05/0.945, allocations: 26.61 kB / 1.126 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.945, allocations: 0 / 1.126 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.945, allocations: 4 kB / 1.126 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.945, allocations: 0 / 1.126 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.945, allocations: 0 / 1.126 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.9453, allocations: 226.7 kB / 1.126 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.9454, allocations: 116.7 kB / 1.126 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.9454, allocations: 0 / 1.126 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.9456, allocations: 15.98 kB / 1.126 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.9457, allocations: 39.94 kB / 1.126 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.9457, allocations: 13.77 kB / 1.126 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002858/0.946, allocations: 228.6 kB / 1.126 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/0.946, allocations: 0 / 1.126 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004954/0.9465, allocations: 71.78 kB / 1.127 GB, free: 9.02 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) * 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.001339/0.9478, allocations: 1.03 MB / 1.128 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003379/0.9482, allocations: 192.2 kB / 1.128 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9482, allocations: 0 / 1.128 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.9483, allocations: 83.92 kB / 1.128 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.9487, allocations: 47.16 kB / 1.128 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/0.9496, allocations: 464.3 kB / 1.128 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.95, allocations: 0.7912 MB / 1.129 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.9501, allocations: 40.7 kB / 1.129 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.9503, allocations: 107.4 kB / 1.129 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/0.9503, allocations: 0 / 1.129 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.979, allocations: 5.769 MB / 1.135 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006868/0.9798, allocations: 200.2 kB / 1.135 GB, free: 432 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/3.038, allocations: 4 kB / 1.135 GB, free: 428 kB / 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)