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.001217/0.001216, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001436/0.001436, allocations: 198 kB / 16.25 MB, free: 6.621 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 61.95 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3511, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004451/0.3556, allocations: 3.12 MB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004449/0.3601, allocations: 3.298 MB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.3605, allocations: 8 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.3619, allocations: 0.5525 MB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.3622, allocations: 115.2 kB / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.3639, allocations: 0.6454 MB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.3658, allocations: 1.705 MB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.3662, allocations: 257.2 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007373/0.367, allocations: 0.5879 MB / 1.078 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007764/0.3678, allocations: 0.6228 MB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.368, allocations: 139.9 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.3691, allocations: 0.6477 MB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005501/0.3697, allocations: 0.6196 MB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000886/0.3706, allocations: 0.8862 MB / 1.081 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003353/0.3739, allocations: 3.4 MB / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.374, allocations: 0 / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.363e-06/0.374, allocations: 0 / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.172e-05/0.374, allocations: 4 kB / 1.084 GB, free: 10.11 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.003675/0.3777, allocations: 2.179 MB / 1.086 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3778, allocations: 12.03 kB / 1.086 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00633/0.3841, allocations: 0.6465 MB / 1.087 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.3869, allocations: 1.631 MB / 1.088 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.3871, allocations: 132.5 kB / 1.088 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3872, allocations: 32.38 kB / 1.088 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00376/0.391, allocations: 1.891 MB / 1.09 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.391, allocations: 0 / 1.09 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.3912, allocations: 12 kB / 1.09 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3912, allocations: 8 kB / 1.09 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005574/0.3967, allocations: 2.622 MB / 1.093 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008817/0.4056, allocations: 4.601 MB / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.416, allocations: 2.889 MB / 1.1 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.4185, allocations: 1.185 MB / 1.101 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.129e-05/0.4187, allocations: 20.41 kB / 1.101 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003306/0.422, allocations: 1.781 MB / 1.103 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=61): time 3.297e-06/0.422, allocations: 4 kB / 1.103 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61): time 0.008571/0.4306, allocations: 3.633 MB / 1.107 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.4307, allocations: 101.6 kB / 1.107 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005467/0.4362, allocations: 2.755 MB / 1.109 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002962/0.4365, allocations: 53.69 kB / 1.109 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008567/0.4374, allocations: 0.6932 MB / 1.11 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.4377, allocations: 181.5 kB / 1.11 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004562/0.4382, allocations: 154.1 kB / 1.11 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4383, allocations: 333.9 kB / 1.111 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002843/0.4412, allocations: 1.454 MB / 1.112 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002874/0.4441, allocations: 1.43 MB / 1.114 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00479/0.4489, allocations: 2.222 MB / 1.116 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.4489, allocations: 0 / 1.116 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006453/0.4553, allocations: 2.983 MB / 1.119 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.4555, allocations: 79.38 kB / 1.119 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4555, allocations: 0 / 1.119 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.4555, allocations: 7.938 kB / 1.119 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.457, allocations: 187.7 kB / 1.119 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.4571, allocations: 0 / 1.119 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.4587, allocations: 115.4 kB / 1.119 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.4589, allocations: 43.94 kB / 1.119 GB, free: 5.633 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.001383/0.4603, allocations: 0.7879 MB / 1.12 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007855/0.4611, allocations: 181.8 kB / 1.12 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006232/0.4673, allocations: 2.669 MB / 1.123 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.4674, allocations: 4 kB / 1.123 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4674, allocations: 0 / 1.123 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4674, allocations: 0 / 1.123 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/0.471, allocations: 2.323 MB / 1.125 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.4711, allocations: 4 kB / 1.125 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.4724, allocations: 179.7 kB / 1.125 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.4725, allocations: 0 / 1.125 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.4726, allocations: 43.88 kB / 1.125 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4726, allocations: 0 / 1.125 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4726, allocations: 3.938 kB / 1.125 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/0.4784, allocations: 2.559 MB / 1.128 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.4799, allocations: 0.5767 MB / 1.128 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006015/0.4805, allocations: 59.97 kB / 1.128 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.4822, allocations: 123.8 kB / 1.128 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.4824, allocations: 52.5 kB / 1.128 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.4826, allocations: 47.92 kB / 1.128 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003816/0.4864, allocations: 1.976 MB / 1.13 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4864, allocations: 0 / 1.13 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001588/0.488, allocations: 379.8 kB / 1.131 GB, free: 9.516 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.0009113/0.4889, allocations: 252 kB / 1.131 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00631/0.4952, allocations: 3.145 MB / 1.134 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.4953, allocations: 4 kB / 1.134 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00269/0.4979, allocations: 1.338 MB / 1.135 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.5005, allocations: 484.4 kB / 1.136 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008927/0.5095, allocations: 4.581 MB / 1.14 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.5112, allocations: 1.604 MB / 1.142 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002416/0.5136, allocations: 0.5993 MB / 1.142 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006662/0.5143, allocations: 131.3 kB / 1.143 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of SimCode: time 9.12e-07/0.5143, allocations: 0 / 1.143 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of Templates: time 0.05576/0.5701, allocations: 32.5 MB / 1.174 GB, free: 13.02 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)