Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.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.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001071, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.001491/0.001491, allocations: 173.2 kB / 16.27 MB, free: 6.664 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.599/1.599, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 9.062 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4444, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004229/0.4486, allocations: 2.75 MB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005384/0.4541, allocations: 3.318 MB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.4545, allocations: 7.938 kB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.4563, allocations: 0.5603 MB / 1.081 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005064/0.4568, allocations: 115.2 kB / 1.081 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.4588, allocations: 0.5906 MB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.4608, allocations: 1.568 MB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.4612, allocations: 253.2 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009049/0.4622, allocations: 0.5098 MB / 1.084 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.4632, allocations: 0.5798 MB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003792/0.4636, allocations: 80 kB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.4649, allocations: 0.5735 MB / 1.085 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007032/0.4657, allocations: 0.561 MB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.4671, allocations: 0.8449 MB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004065/0.4712, allocations: 3.259 MB / 1.089 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4712, allocations: 7.984 kB / 1.089 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4712, allocations: 4 kB / 1.089 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.302e-05/0.4713, allocations: 0 / 1.089 GB, free: 7.918 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.004062/0.4754, allocations: 1.853 MB / 1.091 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4754, allocations: 8.031 kB / 1.091 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006923/0.4824, allocations: 0.6699 MB / 1.092 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003868/0.4863, allocations: 1.635 MB / 1.093 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003647/0.4867, allocations: 132.5 kB / 1.094 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.4869, allocations: 36.36 kB / 1.094 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004005/0.4909, allocations: 1.903 MB / 1.095 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.491, allocations: 0 / 1.095 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.4911, allocations: 19.98 kB / 1.095 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.4912, allocations: 8 kB / 1.095 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005789/0.4969, allocations: 2.657 MB / 1.098 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009456/0.5064, allocations: 4.632 MB / 1.103 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.5174, allocations: 2.986 MB / 1.105 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.5202, allocations: 1.205 MB / 1.107 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.431e-05/0.5203, allocations: 24.39 kB / 1.107 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004067/0.5243, allocations: 1.812 MB / 1.108 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=61): time 4.839e-06/0.5244, allocations: 0 / 1.108 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61): time 0.009724/0.5341, allocations: 3.704 MB / 1.112 GB, free: 368 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.5343, allocations: 93.67 kB / 1.112 GB, free: 256 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006961/0.5413, allocations: 2.755 MB / 1.115 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003705/0.5417, allocations: 53.7 kB / 1.115 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.5427, allocations: 0.7049 MB / 1.116 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/0.5431, allocations: 181.5 kB / 1.116 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.5433, allocations: 57.69 kB / 1.116 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5435, allocations: 333.9 kB / 1.116 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.5465, allocations: 1.47 MB / 1.118 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002896/0.5495, allocations: 1.453 MB / 1.119 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00507/0.5545, allocations: 2.261 MB / 1.121 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.5546, allocations: 3.938 kB / 1.121 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006572/0.5611, allocations: 3.022 MB / 1.124 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.5613, allocations: 79.38 kB / 1.124 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5613, allocations: 3.938 kB / 1.124 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.5613, allocations: 4 kB / 1.124 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.5627, allocations: 199.7 kB / 1.124 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.5627, allocations: 4 kB / 1.124 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.5645, allocations: 119.4 kB / 1.125 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.5647, allocations: 47.94 kB / 1.125 GB, free: 3.383 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dryCoi.coiCap.checkBoundsTCon[4],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.001525/0.5662, allocations: 0.7801 MB / 1.125 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006688/0.5669, allocations: 173.8 kB / 1.126 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006423/0.5733, allocations: 2.708 MB / 1.128 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.5734, allocations: 8 kB / 1.128 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5734, allocations: 0 / 1.128 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.5734, allocations: 7.984 kB / 1.128 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/0.5768, allocations: 2.323 MB / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.5768, allocations: 0 / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.5781, allocations: 191.7 kB / 1.131 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.5781, allocations: 0 / 1.131 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.5782, allocations: 47.94 kB / 1.131 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5783, allocations: 0 / 1.131 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5783, allocations: 0 / 1.131 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006166/0.5844, allocations: 2.602 MB / 1.133 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.5857, allocations: 0.5806 MB / 1.134 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005112/0.5863, allocations: 59.97 kB / 1.134 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/0.5881, allocations: 147.9 kB / 1.134 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.5883, allocations: 56.48 kB / 1.134 GB, free: 9.566 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.5884, allocations: 39.94 kB / 1.134 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003784/0.5922, allocations: 1.98 MB / 1.136 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5922, allocations: 4 kB / 1.136 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001466/0.5937, allocations: 379.8 kB / 1.136 GB, free: 7.148 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[dryCoi.coiCap.stage],dryCoi.coiCap.checkBoundsTCon[dryCoi.coiCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.0008419/0.5945, allocations: 253.9 kB / 1.137 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006456/0.601, allocations: 3.024 MB / 1.14 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.601, allocations: 4 kB / 1.14 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002794/0.6038, allocations: 1.365 MB / 1.141 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.607, allocations: 445.8 kB / 1.141 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.6171, allocations: 4.62 MB / 1.146 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.6188, allocations: 1.604 MB / 1.147 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002532/0.6214, allocations: 0.6071 MB / 1.148 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007002/0.6221, allocations: 135.3 kB / 1.148 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of SimCode: time 6.91e-07/0.6221, allocations: 0 / 1.148 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of Templates: time 0.05733/0.6795, allocations: 31.04 MB / 1.178 GB, free: 12.16 MB / 0.9356 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1)