Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001678/0.001678, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00274/0.00274, allocations: 193 kB / 16.13 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 62.22 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3636, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005538/0.3692, allocations: 3.116 MB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005578/0.3748, allocations: 3.376 MB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.3752, allocations: 7.938 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.377, allocations: 0.5603 MB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.3774, allocations: 115.2 kB / 1.075 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.3792, allocations: 0.5895 MB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.3808, allocations: 1.587 MB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.3811, allocations: 248.1 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.3817, allocations: 0.5255 MB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006376/0.3824, allocations: 0.5993 MB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.3825, allocations: 92 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.3836, allocations: 0.5735 MB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005507/0.3841, allocations: 0.5805 MB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008367/0.385, allocations: 0.8277 MB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002922/0.3879, allocations: 3.322 MB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3879, allocations: 4 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3879, allocations: 0 / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.645e-05/0.388, allocations: 0 / 1.083 GB, free: 10.79 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.00366/0.3916, allocations: 2.183 MB / 1.085 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3917, allocations: 12.03 kB / 1.085 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006288/0.398, allocations: 0.6465 MB / 1.086 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.4007, allocations: 1.631 MB / 1.088 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.401, allocations: 128.5 kB / 1.088 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.4011, allocations: 32.38 kB / 1.088 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/0.4046, allocations: 1.891 MB / 1.09 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4047, allocations: 0 / 1.09 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.4048, allocations: 12 kB / 1.09 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.4048, allocations: 8 kB / 1.09 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005273/0.4101, allocations: 2.614 MB / 1.092 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008476/0.4186, allocations: 4.593 MB / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.4288, allocations: 2.897 MB / 1.099 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/0.4312, allocations: 1.181 MB / 1.101 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.852e-05/0.4313, allocations: 24.34 kB / 1.101 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003241/0.4346, allocations: 1.777 MB / 1.102 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=61): time 4.969e-06/0.4346, allocations: 0 / 1.102 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61): time 0.00807/0.4427, allocations: 3.641 MB / 1.106 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.4428, allocations: 97.61 kB / 1.106 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/0.4471, allocations: 2.751 MB / 1.109 GB, free: 332 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002437/0.4473, allocations: 57.69 kB / 1.109 GB, free: 268 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000689/0.448, allocations: 0.701 MB / 1.109 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.4483, allocations: 185.4 kB / 1.11 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.4486, allocations: 158.1 kB / 1.11 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4487, allocations: 329.9 kB / 1.11 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/0.4514, allocations: 1.45 MB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/0.454, allocations: 1.438 MB / 1.113 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004554/0.4586, allocations: 2.211 MB / 1.115 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4586, allocations: 0 / 1.115 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006156/0.4648, allocations: 2.987 MB / 1.118 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.536e-05/0.4649, allocations: 79.38 kB / 1.118 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4649, allocations: 3.938 kB / 1.118 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.4649, allocations: 4 kB / 1.118 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.4662, allocations: 187.7 kB / 1.118 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.4663, allocations: 7.984 kB / 1.118 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.4679, allocations: 111.4 kB / 1.118 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.468, allocations: 43.94 kB / 1.118 GB, free: 6.305 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.001588/0.4696, allocations: 0.7801 MB / 1.119 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/0.4701, allocations: 181.8 kB / 1.119 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005506/0.4756, allocations: 2.665 MB / 1.122 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4756, allocations: 8 kB / 1.122 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4756, allocations: 0 / 1.122 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4757, allocations: 3.984 kB / 1.122 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.4789, allocations: 2.319 MB / 1.124 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.4789, allocations: 0 / 1.124 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.4802, allocations: 183.7 kB / 1.124 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.4802, allocations: 4 kB / 1.124 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.4804, allocations: 35.94 kB / 1.124 GB, free: 40 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.4804, allocations: 4 kB / 1.124 GB, free: 36 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4804, allocations: 7.938 kB / 1.124 GB, free: 28 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005521/0.4859, allocations: 2.563 MB / 1.127 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.4871, allocations: 0.5767 MB / 1.128 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.4874, allocations: 59.97 kB / 1.128 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.4889, allocations: 123.8 kB / 1.128 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.4891, allocations: 56.48 kB / 1.128 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.4892, allocations: 43.94 kB / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003124/0.4923, allocations: 1.976 MB / 1.13 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4924, allocations: 4 kB / 1.13 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001369/0.4937, allocations: 375.8 kB / 1.13 GB, free: 10.19 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.0006488/0.4944, allocations: 249.3 kB / 1.13 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005487/0.4999, allocations: 2.981 MB / 1.133 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.4999, allocations: 4 kB / 1.133 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/0.5025, allocations: 1.349 MB / 1.135 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.5047, allocations: 445 kB / 1.135 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.5151, allocations: 4.571 MB / 1.139 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.5167, allocations: 1.604 MB / 1.141 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002815/0.5195, allocations: 0.6148 MB / 1.142 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006157/0.5201, allocations: 135.3 kB / 1.142 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of SimCode: time 2.164e-06/0.5201, allocations: 3.938 kB / 1.142 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of Templates: time 0.05806/0.5782, allocations: 31.53 MB / 1.173 GB, free: 14.82 MB / 0.9356 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1)