Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 184.8 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008296/0.0008297, allocations: 98.66 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.686e-05, allocations: 4 kB / 0.7815 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1599, allocations: 106.3 MB / 0.8854 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5889/0.7488, allocations: 133 MB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.7491, allocations: 78.12 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008532/0.7576, allocations: 3.113 MB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7577, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.7577, allocations: 4 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009245/0.7586, allocations: 0.5143 MB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.7587, allocations: 8.031 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.368e-05/0.7588, allocations: 27.66 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.759, allocations: 202.6 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.759, allocations: 8 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.7591, allocations: 23.86 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002635/0.7594, allocations: 117.9 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.7596, allocations: 151.7 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7597, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.7597, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.7597, allocations: 7.984 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.7608, allocations: 0.5855 MB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.7611, allocations: 155.9 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.7612, allocations: 62.45 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.7612, allocations: 4 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.7615, allocations: 140.7 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.7615, allocations: 0 / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0003281/0.7618, allocations: 157.9 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.7619, allocations: 55.41 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.762, allocations: 180.4 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.7621, allocations: 32.89 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.7622, allocations: 142.7 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.7622, allocations: 53.61 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.7623, allocations: 0 / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.7624, allocations: 336.7 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.7625, allocations: 67.19 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.7626, allocations: 101.9 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.7628, allocations: 47.05 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7628, allocations: 4 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000285/0.7631, allocations: 193.7 kB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7631, allocations: 5.719 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7631, allocations: 4 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.7631, allocations: 4 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.7634, allocations: 47.66 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.7634, allocations: 0 / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.7636, allocations: 51.86 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.7637, allocations: 11.95 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,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,$PRE.uCoo.T_start,uCoo.T_start,$PRE.uCoo.count,uCoo.count,$PRE.uHea.T_start,uHea.T_start,$PRE.uHea.count,uHea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001044/0.7638, allocations: 122.4 kB / 1.022 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002351/0.764, allocations: 155 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.7641, allocations: 23.72 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.7641, allocations: 32.2 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7641, allocations: 0 / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7642, allocations: 3.938 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.7642, allocations: 4.031 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.7644, allocations: 265 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7644, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.7646, allocations: 35.91 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.7646, allocations: 0 / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.7646, allocations: 11.98 kB / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.7646, allocations: 0 / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7646, allocations: 0 / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.7649, allocations: 194.7 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.765, allocations: 92.83 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.765, allocations: 3.375 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.7652, allocations: 43.95 kB / 1.023 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.7654, allocations: 58.34 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.7654, allocations: 4 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001037/0.7655, allocations: 130.6 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7655, allocations: 0 / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002584/0.7658, allocations: 39.94 kB / 1.023 GB, free: 13.67 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$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,uCoo.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006402/0.7664, allocations: 0.7488 MB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.7667, allocations: 152.1 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.7668, allocations: 4 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.7669, allocations: 78.61 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.7672, allocations: 29.89 kB / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006987/0.7679, allocations: 285.5 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.7682, allocations: 0.7399 MB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.806e-05/0.7683, allocations: 22.06 kB / 1.025 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.7684, allocations: 67.53 kB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.7684, allocations: 0 / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.7898, allocations: 3.822 MB / 1.029 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.7901, allocations: 182.4 kB / 1.029 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.48, allocations: 0 / 1.029 GB, free: 7.703 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.7.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_7_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_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)