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.00126/0.00126, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001441, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.719/2.719, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 60.3 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3533, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005207/0.3585, allocations: 3.082 MB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005394/0.364, allocations: 3.339 MB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004008/0.3644, allocations: 7.938 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.3661, allocations: 0.5678 MB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.3667, allocations: 131 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.3689, allocations: 0.7037 MB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.3707, allocations: 1.674 MB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.3711, allocations: 257.2 kB / 1.078 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006357/0.3718, allocations: 0.584 MB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007301/0.3725, allocations: 0.6072 MB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.3727, allocations: 136 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3738, allocations: 0.6438 MB / 1.08 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005235/0.3744, allocations: 0.6196 MB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008066/0.3752, allocations: 0.8746 MB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003268/0.3785, allocations: 3.396 MB / 1.084 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3785, allocations: 0 / 1.084 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3785, allocations: 4 kB / 1.084 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.195e-05/0.3785, allocations: 0 / 1.084 GB, free: 9.719 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.003761/0.3823, allocations: 2.175 MB / 1.087 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3823, allocations: 16.03 kB / 1.087 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006093/0.3884, allocations: 0.6465 MB / 1.087 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/0.391, allocations: 1.631 MB / 1.089 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.3912, allocations: 132.5 kB / 1.089 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3914, allocations: 32.38 kB / 1.089 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.3948, allocations: 1.888 MB / 1.091 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3948, allocations: 0 / 1.091 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.3949, allocations: 16 kB / 1.091 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.3949, allocations: 8 kB / 1.091 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005259/0.4002, allocations: 2.618 MB / 1.093 GB, free: 400 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007858/0.4081, allocations: 4.597 MB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.4182, allocations: 2.889 MB / 1.101 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/0.4205, allocations: 1.189 MB / 1.102 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/0.4206, allocations: 28.33 kB / 1.102 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003186/0.4237, allocations: 1.781 MB / 1.104 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/0.4238, allocations: 0 / 1.104 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61): time 0.008029/0.4318, allocations: 3.637 MB / 1.107 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.4319, allocations: 101.7 kB / 1.107 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00392/0.4358, allocations: 2.755 MB / 1.11 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.4361, allocations: 49.69 kB / 1.11 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006882/0.4368, allocations: 0.6971 MB / 1.111 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.437, allocations: 189.4 kB / 1.111 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.4373, allocations: 154.1 kB / 1.111 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4375, allocations: 333.9 kB / 1.111 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/0.4402, allocations: 1.45 MB / 1.113 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/0.4428, allocations: 1.434 MB / 1.114 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00466/0.4475, allocations: 2.222 MB / 1.116 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4475, allocations: 3.938 kB / 1.116 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006168/0.4537, allocations: 2.975 MB / 1.119 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/0.4538, allocations: 83.38 kB / 1.119 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4538, allocations: 0 / 1.119 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4538, allocations: 4 kB / 1.119 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.4552, allocations: 187.7 kB / 1.119 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4552, allocations: 0 / 1.119 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.4568, allocations: 111.5 kB / 1.12 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.4569, allocations: 43.94 kB / 1.12 GB, free: 5.238 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.001404/0.4583, allocations: 0.7801 MB / 1.12 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/0.4588, allocations: 181.8 kB / 1.121 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005804/0.4646, allocations: 2.669 MB / 1.123 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.4646, allocations: 4 kB / 1.123 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4646, allocations: 0 / 1.123 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4646, allocations: 0 / 1.123 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.4679, allocations: 2.327 MB / 1.125 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4679, allocations: 0 / 1.125 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.4691, allocations: 187.7 kB / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.4692, allocations: 3.938 kB / 1.126 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.4693, allocations: 43.88 kB / 1.126 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.4693, allocations: 3.938 kB / 1.126 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4693, allocations: 0 / 1.126 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005688/0.475, allocations: 2.559 MB / 1.128 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.4762, allocations: 0.5806 MB / 1.129 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.4765, allocations: 59.97 kB / 1.129 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.4779, allocations: 119.8 kB / 1.129 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.4781, allocations: 56.48 kB / 1.129 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.4782, allocations: 43.94 kB / 1.129 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003111/0.4813, allocations: 1.98 MB / 1.131 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4813, allocations: 0 / 1.131 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001146/0.4825, allocations: 375.8 kB / 1.131 GB, free: 9.109 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.0005741/0.4831, allocations: 255.6 kB / 1.132 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006037/0.4891, allocations: 3.141 MB / 1.135 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4891, allocations: 8 kB / 1.135 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002651/0.4918, allocations: 1.338 MB / 1.136 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.4939, allocations: 477.5 kB / 1.136 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008095/0.502, allocations: 4.229 MB / 1.14 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.5032, allocations: 1.604 MB / 1.142 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00222/0.5054, allocations: 0.5993 MB / 1.143 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/0.5059, allocations: 131.3 kB / 1.143 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of SimCode: time 1.062e-06/0.5059, allocations: 4 kB / 1.143 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.05344/0.5594, allocations: 32.67 MB / 1.175 GB, free: 12.81 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)