Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",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.934/1.934, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001435/0.001435, allocations: 180.8 kB / 366.7 MB, free: 1.664 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.837/1.837, allocations: 205.2 MB / 0.626 GB, free: 7.207 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.0008937/0.0008937, allocations: 86.45 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.107e-05, allocations: 4 kB / 0.8599 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/0.7413, allocations: 116.3 MB / 0.9734 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.922, allocations: 140.9 MB / 1.111 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.9222, allocations: 83.94 kB / 1.111 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04126/0.9635, allocations: 15.51 MB / 1.126 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.634e-06/0.9636, allocations: 0 / 1.126 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.518e-05/0.9636, allocations: 24 kB / 1.126 GB, free: 9.766 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002281/0.9659, allocations: 1.089 MB / 1.127 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.966, allocations: 8.031 kB / 1.127 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.9664, allocations: 122.7 kB / 1.127 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009899/0.9674, allocations: 0.5725 MB / 1.128 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.9675, allocations: 115.7 kB / 1.128 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.9676, allocations: 52 kB / 1.128 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001101/0.9688, allocations: 0.5703 MB / 1.129 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.97, allocations: 0.698 MB / 1.129 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.9701, allocations: 10.47 kB / 1.129 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/0.9701, allocations: 4 kB / 1.129 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.9702, allocations: 20 kB / 1.129 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.9741, allocations: 2.501 MB / 1.132 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.9753, allocations: 0.543 MB / 1.132 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.9756, allocations: 214.5 kB / 1.133 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.335e-05/0.9757, allocations: 8.562 kB / 1.133 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006271/0.9763, allocations: 393.1 kB / 1.133 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=64): time 2.755e-06/0.9763, allocations: 0 / 1.133 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64): time 0.0008885/0.9772, allocations: 498.9 kB / 1.133 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.9774, allocations: 295.3 kB / 1.134 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.9779, allocations: 458.2 kB / 1.134 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.978, allocations: 29.7 kB / 1.134 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.9783, allocations: 423.7 kB / 1.135 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.9785, allocations: 201.1 kB / 1.135 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.9786, allocations: 0 / 1.135 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.9787, allocations: 374.9 kB / 1.135 GB, free: 292 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.9791, allocations: 217.5 kB / 1.135 GB, free: 72 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.9796, allocations: 368.7 kB / 1.136 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.9802, allocations: 252.4 kB / 1.136 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.9803, allocations: 4 kB / 1.136 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001236/0.9815, allocations: 0.6556 MB / 1.137 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000211/0.9817, allocations: 398.2 kB / 1.137 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9817, allocations: 2.25 kB / 1.137 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.9818, allocations: 4 kB / 1.137 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.9824, allocations: 139.8 kB / 1.137 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.9825, allocations: 4 kB / 1.137 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007482/0.9832, allocations: 151.4 kB / 1.137 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/0.9833, allocations: 27.36 kB / 1.137 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.9833, allocations: 4 kB / 1.137 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001021/0.9843, allocations: 0.5377 MB / 1.138 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.9844, allocations: 0 / 1.138 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.9844, allocations: 4 kB / 1.138 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.9849, allocations: 119.8 kB / 1.138 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.9849, allocations: 4 kB / 1.138 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.9855, allocations: 115.5 kB / 1.138 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.9856, allocations: 32 kB / 1.138 GB, free: 13.2 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.y,yFan.y,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * 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.0001708/0.9857, allocations: 124.8 kB / 1.138 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007726/0.9865, allocations: 498.2 kB / 1.139 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.9866, allocations: 71.14 kB / 1.139 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009484/0.9876, allocations: 0.5608 MB / 1.139 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.9876, allocations: 4 kB / 1.139 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9876, allocations: 4 kB / 1.139 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.9876, allocations: 11.92 kB / 1.139 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.9895, allocations: 1.39 MB / 1.141 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.9895, allocations: 0 / 1.141 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.9901, allocations: 136 kB / 1.141 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.9901, allocations: 4 kB / 1.141 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.9901, allocations: 4 kB / 1.141 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-06/0.9902, allocations: 10.67 kB / 1.141 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9902, allocations: 4 kB / 1.141 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.9915, allocations: 1.021 MB / 1.142 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.9917, allocations: 152.2 kB / 1.142 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-05/0.9917, allocations: 7.984 kB / 1.142 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.9922, allocations: 67.94 kB / 1.142 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.9923, allocations: 52.45 kB / 1.142 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.9924, allocations: 20 kB / 1.142 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003851/0.9928, allocations: 350.9 kB / 1.142 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9928, allocations: 0 / 1.142 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007824/0.9936, allocations: 314.4 kB / 1.143 GB, free: 8.254 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,retFanPre.movMea.mode,yFan.y,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * 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.001734/0.9953, allocations: 2 MB / 1.145 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.9967, allocations: 0.9758 MB / 1.146 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9967, allocations: 11.22 kB / 1.146 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.9971, allocations: 266 kB / 1.146 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/0.9979, allocations: 155 kB / 1.146 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/1, allocations: 1.134 MB / 1.147 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/1.001, allocations: 0.9889 MB / 1.148 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005449/1.001, allocations: 121 kB / 1.148 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/1.002, allocations: 335.3 kB / 1.149 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of SimCode: time 1.733e-06/1.002, allocations: 4 kB / 1.149 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/1.041, allocations: 15.12 MB / 1.163 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/1.042, allocations: 197.5 kB / 1.164 GB, free: 3.016 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/3.386, allocations: 1.719 kB / 1.164 GB, free: 3.016 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)