Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.83/2.83, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.00147/0.00147, allocations: 189.3 kB / 370.8 MB, free: 10.85 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.136/2.136, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 104.3 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005005, allocations: 12.42 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2361, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9595/1.196, allocations: 142.2 MB / 1.117 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/1.196, allocations: 84.34 kB / 1.117 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03792/1.234, allocations: 8.469 MB / 1.126 GB, free: 30.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.535e-06/1.234, allocations: 4 kB / 1.126 GB, free: 30.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.842e-05/1.234, allocations: 11.66 kB / 1.126 GB, free: 30.96 MB / 0.698 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.001427/1.236, allocations: 0.6139 MB / 1.126 GB, free: 30.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.236, allocations: 11.69 kB / 1.126 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.457e-05/1.236, allocations: 51.91 kB / 1.126 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/1.236, allocations: 37.77 kB / 1.126 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/1.237, allocations: 338.6 kB / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/1.237, allocations: 14.62 kB / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/1.237, allocations: 17.89 kB / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/1.237, allocations: 190 kB / 1.127 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.237, allocations: 0 / 1.127 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/1.237, allocations: 11.19 kB / 1.127 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.237, allocations: 3.875 kB / 1.127 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/1.238, allocations: 147.5 kB / 1.127 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/1.239, allocations: 0.6924 MB / 1.128 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/1.24, allocations: 215 kB / 1.128 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/1.24, allocations: 6.734 kB / 1.128 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/1.241, allocations: 126.8 kB / 1.128 GB, free: 29.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.417e-06/1.241, allocations: 0 / 1.128 GB, free: 29.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0008282/1.241, allocations: 272.3 kB / 1.128 GB, free: 29.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/1.242, allocations: 55.34 kB / 1.128 GB, free: 29.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/1.242, allocations: 346.2 kB / 1.129 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/1.242, allocations: 36.3 kB / 1.129 GB, free: 29.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/1.242, allocations: 172.3 kB / 1.129 GB, free: 29.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/1.242, allocations: 46.56 kB / 1.129 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/1.242, allocations: 3.5 kB / 1.129 GB, free: 29.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002028/1.243, allocations: 346.3 kB / 1.129 GB, free: 29.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/1.243, allocations: 111.3 kB / 1.129 GB, free: 29.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/1.243, allocations: 148.6 kB / 1.129 GB, free: 29.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/1.244, allocations: 93.47 kB / 1.13 GB, free: 29.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.244, allocations: 0 / 1.13 GB, free: 29.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007946/1.244, allocations: 308.2 kB / 1.13 GB, free: 28.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.245, allocations: 10.81 kB / 1.13 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.245, allocations: 0 / 1.13 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.245, allocations: 3.969 kB / 1.13 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/1.245, allocations: 37.53 kB / 1.13 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.245, allocations: 6.812 kB / 1.13 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/1.245, allocations: 40.11 kB / 1.13 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/1.245, allocations: 14.38 kB / 1.13 GB, free: 28.93 MB / 0.698 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.0003287/1.246, allocations: 173.9 kB / 1.13 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/1.246, allocations: 27.31 kB / 1.13 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000648/1.246, allocations: 231.6 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.246, allocations: 3.875 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.246, allocations: 3.938 kB / 1.13 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.246, allocations: 4 kB / 1.13 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/1.247, allocations: 348.8 kB / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.247, allocations: 0 / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/1.247, allocations: 18.39 kB / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.247, allocations: 0 / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/1.247, allocations: 7.25 kB / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.247, allocations: 0 / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.247, allocations: 0 / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/1.248, allocations: 251 kB / 1.131 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/1.248, allocations: 110.3 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/1.248, allocations: 11.53 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/1.248, allocations: 20.31 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.248, allocations: 37.05 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/1.248, allocations: 6.547 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003682/1.249, allocations: 239.8 kB / 1.131 GB, free: 28.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.249, allocations: 4 kB / 1.131 GB, free: 28.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004785/1.249, allocations: 76.09 kB / 1.131 GB, free: 28.24 MB / 0.698 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.002193/1.252, allocations: 1.117 MB / 1.133 GB, free: 27.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007069/1.252, allocations: 218.9 kB / 1.133 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.252, allocations: 0 / 1.133 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/1.253, allocations: 92.05 kB / 1.133 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/1.253, allocations: 50 kB / 1.133 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/1.255, allocations: 1.013 MB / 1.134 GB, free: 26.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/1.255, allocations: 0.7838 MB / 1.135 GB, free: 25.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002534/1.256, allocations: 49.23 kB / 1.135 GB, free: 25.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/1.256, allocations: 106.2 kB / 1.135 GB, free: 25.91 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.256, allocations: 0 / 1.135 GB, free: 25.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/1.285, allocations: 6.24 MB / 1.141 GB, free: 23.02 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/1.286, allocations: 251.8 kB / 1.141 GB, free: 22.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.972, allocations: 4 kB / 1.141 GB, free: 22.68 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_8.0.0_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_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)