Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000826/0.0008261, allocations: 90.44 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005936/0.005936, allocations: 171.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004706, allocations: 10.94 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4352, allocations: 162.2 MB / 1.074 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001272/0.4366, allocations: 0.5864 MB / 1.075 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.4382, allocations: 1.174 MB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.4383, allocations: 4 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.4384, allocations: 7.922 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.707e-05/0.4385, allocations: 7.875 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.4391, allocations: 123.2 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.4393, allocations: 143.7 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.4395, allocations: 49.55 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.4396, allocations: 43.84 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.4397, allocations: 51.75 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.4397, allocations: 4 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.4398, allocations: 23.92 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.4398, allocations: 7.938 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.44, allocations: 81.42 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.4402, allocations: 163.7 kB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.4402, allocations: 0 / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.487e-06/0.4402, allocations: 0 / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.4403, allocations: 0 / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008107/0.4411, allocations: 417 kB / 1.077 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4411, allocations: 12.03 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.4412, allocations: 16.75 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005761/0.4418, allocations: 240.4 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.4418, allocations: 4.375 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.4419, allocations: 12.38 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.4422, allocations: 103.8 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4422, allocations: 0 / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.4422, allocations: 8 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.4422, allocations: 0 / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.4425, allocations: 67.95 kB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.4432, allocations: 404.3 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.4435, allocations: 74.48 kB / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.4436, allocations: 40.95 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.4437, allocations: 0 / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.4439, allocations: 95.27 kB / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.4439, allocations: 0 / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005072/0.4444, allocations: 145.5 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.4445, allocations: 55.34 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.4446, allocations: 132.2 kB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.4447, allocations: 29.7 kB / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.4448, allocations: 115.8 kB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.4448, allocations: 23.7 kB / 1.079 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.4449, allocations: 21.72 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.445, allocations: 318.8 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.4452, allocations: 51.97 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.4454, allocations: 87.27 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.4457, allocations: 137 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4457, allocations: 0 / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000437/0.4462, allocations: 211.1 kB / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.4462, allocations: 33.7 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4462, allocations: 3.938 kB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4463, allocations: 7.984 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4464, allocations: 15.98 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.4464, allocations: 0 / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.4466, allocations: 51.98 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.4466, allocations: 12 kB / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.4468, allocations: 117.8 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.4468, allocations: 11.91 kB / 1.08 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.4468, allocations: 20.3 kB / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4468, allocations: 0 / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4468, allocations: 0 / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4468, allocations: 0 / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.447, allocations: 197.6 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.447, allocations: 0 / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.4471, allocations: 20.08 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4471, allocations: 3.938 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4472, allocations: 7.938 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4472, allocations: 8 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4472, allocations: 0 / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.4475, allocations: 132.9 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.4475, allocations: 93 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.4475, allocations: 3.938 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.938e-05/0.4476, allocations: 12 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.4477, allocations: 3.984 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.4477, allocations: 4 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.059e-05/0.4477, allocations: 97.52 kB / 1.08 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4478, allocations: 0 / 1.08 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002319/0.448, allocations: 35.84 kB / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002011/0.4482, allocations: 111.2 kB / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.4486, allocations: 171.3 kB / 1.08 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4486, allocations: 3.938 kB / 1.08 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.4488, allocations: 56.08 kB / 1.08 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.449, allocations: 15.98 kB / 1.081 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.4496, allocations: 233.1 kB / 1.081 GB, free: 336 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.45, allocations: 0.6965 MB / 1.081 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.117e-05/0.45, allocations: 12.44 kB / 1.081 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.4501, allocations: 11.44 kB / 1.081 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.4501, allocations: 0 / 1.081 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of Templates: time 0.004655/0.4547, allocations: 1.411 MB / 1.083 GB, free: 14.23 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1)