Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.747/1.747, allocations: 288.2 MB / 303.2 MB, free: 8.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.001236/0.001236, allocations: 179.2 kB / 371.8 MB, free: 10.28 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.814/1.814, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008896/0.0008896, allocations: 90.92 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004014, allocations: 11.59 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2412, allocations: 115.3 MB / 0.9795 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8191/1.06, allocations: 142.4 MB / 1.119 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/1.061, allocations: 82.44 kB / 1.119 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02166/1.082, allocations: 8.468 MB / 1.127 GB, free: 31.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.424e-06/1.082, allocations: 0 / 1.127 GB, free: 31.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.426e-05/1.082, allocations: 11.69 kB / 1.127 GB, free: 31.34 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.0009582/1.083, allocations: 0.6142 MB / 1.128 GB, free: 30.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.083, allocations: 11.72 kB / 1.128 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.478e-05/1.084, allocations: 47.64 kB / 1.128 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/1.084, allocations: 38.88 kB / 1.128 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/1.084, allocations: 341.8 kB / 1.128 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/1.084, allocations: 29.77 kB / 1.128 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/1.084, allocations: 17.91 kB / 1.128 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/1.085, allocations: 178.8 kB / 1.128 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.085, allocations: 0 / 1.128 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/1.085, allocations: 6.875 kB / 1.128 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.085, allocations: 3.844 kB / 1.128 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/1.085, allocations: 148.4 kB / 1.128 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/1.086, allocations: 0.7059 MB / 1.129 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/1.086, allocations: 204.5 kB / 1.129 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/1.086, allocations: 7.984 kB / 1.129 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/1.087, allocations: 127.9 kB / 1.129 GB, free: 29.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/1.087, allocations: 0 / 1.129 GB, free: 29.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005075/1.087, allocations: 264.4 kB / 1.13 GB, free: 29.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.087, allocations: 55.36 kB / 1.13 GB, free: 29.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/1.088, allocations: 350.2 kB / 1.13 GB, free: 29.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/1.088, allocations: 33.48 kB / 1.13 GB, free: 29.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/1.088, allocations: 177.4 kB / 1.13 GB, free: 29.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/1.088, allocations: 49.33 kB / 1.13 GB, free: 29.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/1.088, allocations: 7.562 kB / 1.13 GB, free: 29.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.088, allocations: 337.8 kB / 1.131 GB, free: 29.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/1.088, allocations: 107.8 kB / 1.131 GB, free: 29.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/1.088, allocations: 147.1 kB / 1.131 GB, free: 28.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/1.089, allocations: 101.8 kB / 1.131 GB, free: 28.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.089, allocations: 0 / 1.131 GB, free: 28.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004369/1.089, allocations: 306.5 kB / 1.131 GB, free: 28.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.089, allocations: 3.844 kB / 1.131 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.089, allocations: 3.844 kB / 1.131 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.089, allocations: 0 / 1.131 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/1.089, allocations: 38.81 kB / 1.131 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.089, allocations: 3.969 kB / 1.131 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/1.089, allocations: 46.33 kB / 1.131 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/1.089, allocations: 14.78 kB / 1.131 GB, free: 28.85 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.0001656/1.09, allocations: 167.7 kB / 1.131 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/1.09, allocations: 31.28 kB / 1.132 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000442/1.09, allocations: 227.2 kB / 1.132 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.09, allocations: 7.828 kB / 1.132 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.09, allocations: 0 / 1.132 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.09, allocations: 3.984 kB / 1.132 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/1.09, allocations: 345.2 kB / 1.132 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.09, allocations: 3.984 kB / 1.132 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-05/1.091, allocations: 25.44 kB / 1.132 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.091, allocations: 0 / 1.132 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/1.091, allocations: 15.7 kB / 1.132 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.091, allocations: 4 kB / 1.132 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.091, allocations: 0 / 1.132 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/1.091, allocations: 235.5 kB / 1.132 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/1.091, allocations: 115.7 kB / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/1.091, allocations: 7.531 kB / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/1.091, allocations: 22.95 kB / 1.132 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.909e-05/1.091, allocations: 34.53 kB / 1.133 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/1.091, allocations: 15.14 kB / 1.133 GB, free: 28.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002176/1.092, allocations: 240.2 kB / 1.133 GB, free: 28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.092, allocations: 0 / 1.133 GB, free: 28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000305/1.092, allocations: 72.81 kB / 1.133 GB, free: 27.99 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.001479/1.093, allocations: 1.115 MB / 1.134 GB, free: 27.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003759/1.094, allocations: 216.6 kB / 1.134 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.094, allocations: 0 / 1.134 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/1.094, allocations: 88.25 kB / 1.134 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/1.094, allocations: 60.53 kB / 1.134 GB, free: 27.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.095, allocations: 1.011 MB / 1.135 GB, free: 26.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/1.096, allocations: 0.7834 MB / 1.136 GB, free: 25.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001373/1.096, allocations: 41.2 kB / 1.136 GB, free: 25.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.096, allocations: 104.4 kB / 1.136 GB, free: 25.64 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/1.096, allocations: 0 / 1.136 GB, free: 25.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/1.116, allocations: 6.263 MB / 1.142 GB, free: 22.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/1.116, allocations: 265 kB / 1.143 GB, free: 22.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/3.285, allocations: 0 / 1.143 GB, free: 22.35 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)