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.001292/0.001292, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001312/0.001312, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.86 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3276, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004452/0.3321, allocations: 3.127 MB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004516/0.3367, allocations: 3.364 MB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.3369, allocations: 0 / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.3383, allocations: 0.5603 MB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.3386, allocations: 119.2 kB / 1.075 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.3401, allocations: 0.5984 MB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.3416, allocations: 1.576 MB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.3419, allocations: 245.3 kB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.3425, allocations: 0.5216 MB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000597/0.3431, allocations: 0.6032 MB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.3433, allocations: 84 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009611/0.3442, allocations: 0.5774 MB / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005035/0.3448, allocations: 0.5844 MB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007767/0.3455, allocations: 0.8277 MB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.3484, allocations: 3.322 MB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3484, allocations: 0 / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3484, allocations: 0 / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.615e-05/0.3485, allocations: 0 / 1.083 GB, free: 10.72 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.003476/0.3519, allocations: 2.183 MB / 1.085 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.352, allocations: 8.031 kB / 1.085 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006301/0.3583, allocations: 0.6465 MB / 1.086 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.361, allocations: 1.631 MB / 1.088 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.3613, allocations: 132.5 kB / 1.088 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.3614, allocations: 40.31 kB / 1.088 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003761/0.3652, allocations: 1.888 MB / 1.09 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3652, allocations: 3.984 kB / 1.09 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.3654, allocations: 16 kB / 1.09 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3654, allocations: 8 kB / 1.09 GB, free: 4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005404/0.3708, allocations: 2.618 MB / 1.092 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008937/0.3798, allocations: 4.586 MB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.3901, allocations: 2.897 MB / 1.099 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/0.3927, allocations: 1.185 MB / 1.101 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.805e-05/0.3928, allocations: 16.42 kB / 1.101 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003469/0.3963, allocations: 1.784 MB / 1.102 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=61): time 4.368e-06/0.3963, allocations: 4 kB / 1.102 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61): time 0.008524/0.4048, allocations: 3.633 MB / 1.106 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.405, allocations: 101.6 kB / 1.106 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004469/0.4094, allocations: 2.755 MB / 1.109 GB, free: 252 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003046/0.4098, allocations: 53.69 kB / 1.109 GB, free: 192 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008183/0.4106, allocations: 0.6971 MB / 1.109 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.4109, allocations: 185.5 kB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003787/0.4113, allocations: 158.1 kB / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4114, allocations: 333.9 kB / 1.11 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/0.4144, allocations: 1.454 MB / 1.112 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.417, allocations: 1.426 MB / 1.113 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/0.4216, allocations: 2.219 MB / 1.115 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.4216, allocations: 0 / 1.115 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006101/0.4277, allocations: 2.979 MB / 1.118 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.804e-05/0.4278, allocations: 83.38 kB / 1.118 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4278, allocations: 3.984 kB / 1.118 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4279, allocations: 4 kB / 1.118 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.4292, allocations: 183.7 kB / 1.118 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.4292, allocations: 0 / 1.118 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.4308, allocations: 119.4 kB / 1.118 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.431, allocations: 43.95 kB / 1.118 GB, free: 6.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.001321/0.4323, allocations: 0.7802 MB / 1.119 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/0.4327, allocations: 177.8 kB / 1.119 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005723/0.4384, allocations: 2.677 MB / 1.122 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4384, allocations: 7.984 kB / 1.122 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4384, allocations: 0 / 1.122 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4384, allocations: 0 / 1.122 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.4411, allocations: 2.323 MB / 1.124 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4412, allocations: 4 kB / 1.124 GB, free: 184 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.4425, allocations: 175.7 kB / 1.124 GB, free: 8 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.4425, allocations: 4 kB / 1.124 GB, free: 4 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.4427, allocations: 39.94 kB / 1.124 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4427, allocations: 0 / 1.124 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.4427, allocations: 3.984 kB / 1.124 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005261/0.4479, allocations: 2.563 MB / 1.127 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008998/0.4489, allocations: 0.5845 MB / 1.128 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.4492, allocations: 55.97 kB / 1.128 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.4506, allocations: 119.8 kB / 1.128 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.4507, allocations: 56.5 kB / 1.128 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.4509, allocations: 47.92 kB / 1.128 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002748/0.4536, allocations: 1.98 MB / 1.13 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.4536, allocations: 3.938 kB / 1.13 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001072/0.4547, allocations: 371.8 kB / 1.13 GB, free: 10.12 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.0005862/0.4553, allocations: 249.3 kB / 1.13 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005601/0.4609, allocations: 2.985 MB / 1.133 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.461, allocations: 0 / 1.133 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.4635, allocations: 1.349 MB / 1.135 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.4658, allocations: 437.3 kB / 1.135 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008083/0.4739, allocations: 4.579 MB / 1.139 GB, free: 456 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.4751, allocations: 1.604 MB / 1.141 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002197/0.4774, allocations: 0.6149 MB / 1.142 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005248/0.4779, allocations: 135.3 kB / 1.142 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of SimCode: time 1.092e-06/0.4779, allocations: 4 kB / 1.142 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.05509/0.533, allocations: 31.54 MB / 1.173 GB, free: 14.74 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)