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.626/2.626, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001566/0.001566, allocations: 181.6 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.135/2.135, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001288/0.001287, allocations: 92.55 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005365/0.0005365, allocations: 12.52 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2426, allocations: 115.3 MB / 0.9783 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002654/0.2453, allocations: 1.749 MB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.2474, allocations: 1.012 MB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.2476, allocations: 7.938 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.248, allocations: 79.64 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.2483, allocations: 79.7 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.2488, allocations: 125.7 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.2491, allocations: 180.2 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.2494, allocations: 97.83 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.2495, allocations: 103.5 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.2497, allocations: 103.5 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.2498, allocations: 12 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.2499, allocations: 39.97 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.25, allocations: 67.73 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.566e-05/0.2501, allocations: 69.52 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.2506, allocations: 371.2 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.2506, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2506, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2506, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 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.001133/0.2517, allocations: 0.5798 MB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2518, allocations: 8.031 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.163e-05/0.2519, allocations: 54.55 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.336e-05/0.252, allocations: 31.62 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.2526, allocations: 334.9 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.2526, allocations: 27.78 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.2527, allocations: 16 kB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.2532, allocations: 177.5 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.2532, allocations: 3.953 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.2532, allocations: 12 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.2532, allocations: 4 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.2536, allocations: 128.4 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.255, allocations: 0.6795 MB / 0.9843 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.2557, allocations: 202.8 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.2557, allocations: 4 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.256, allocations: 125.6 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.795e-06/0.2561, allocations: 0 / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0007311/0.2568, allocations: 249.1 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.2568, allocations: 51.41 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.2573, allocations: 376.4 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.2574, allocations: 37.7 kB / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.2575, allocations: 176.3 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.2576, allocations: 47.44 kB / 0.9855 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.2577, allocations: 8 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.2577, allocations: 338.8 kB / 0.9858 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.258, allocations: 83.97 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.2583, allocations: 140.2 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.2586, allocations: 88.42 kB / 0.9861 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2586, allocations: 4 kB / 0.9861 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006461/0.2593, allocations: 273.2 kB / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2593, allocations: 7.938 kB / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2593, allocations: 0 / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2593, allocations: 4 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.2596, allocations: 39.92 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2596, allocations: 12 kB / 0.9865 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.26, allocations: 39.83 kB / 0.9865 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.26, allocations: 8 kB / 0.9865 GB, free: 19.59 MB / 0.6198 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.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,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.0002161/0.2602, allocations: 175.5 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.2603, allocations: 27.67 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.2604, allocations: 38.36 kB / 0.9867 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2604, allocations: 0 / 0.9867 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2605, allocations: 0 / 0.9867 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2605, allocations: 0 / 0.9867 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.2608, allocations: 337.3 kB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2608, allocations: 0 / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.261, allocations: 19.94 kB / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.261, allocations: 0 / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.261, allocations: 11.94 kB / 0.9871 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2611, allocations: 12 kB / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2611, allocations: 0 / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.2615, allocations: 207.2 kB / 0.9873 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.686e-05/0.2616, allocations: 108.7 kB / 0.9874 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.2617, allocations: 11.98 kB / 0.9874 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.2619, allocations: 27.94 kB / 0.9874 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.2621, allocations: 27.95 kB / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.2621, allocations: 7.984 kB / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003066/0.2624, allocations: 239 kB / 0.9877 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2624, allocations: 3.938 kB / 0.9877 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005969/0.263, allocations: 63.84 kB / 0.9878 GB, free: 18.2 MB / 0.6198 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.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.001798/0.2648, allocations: 1.084 MB / 0.9888 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006356/0.2655, allocations: 195.8 kB / 0.989 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2655, allocations: 0 / 0.989 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.2658, allocations: 79.91 kB / 0.9891 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.2662, allocations: 61.89 kB / 0.9892 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2677, allocations: 0.9642 MB / 0.9901 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.268, allocations: 0.7869 MB / 0.9909 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001953/0.2682, allocations: 50.19 kB / 0.9909 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.2685, allocations: 99.39 kB / 0.991 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2685, allocations: 0 / 0.991 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.2968, allocations: 6.053 MB / 0.9969 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/0.2971, allocations: 259.9 kB / 0.9972 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/2.963, allocations: 0 / 0.9972 GB, free: 8.762 MB / 0.6198 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)