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.001015/0.001015, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006101/0.006101, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 10.12 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.422, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.003742/0.4258, allocations: 2.75 MB / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004891/0.4307, allocations: 3.326 MB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.431, allocations: 11.88 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.4325, allocations: 0.5447 MB / 1.081 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.4328, allocations: 127.1 kB / 1.081 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.4345, allocations: 0.5837 MB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.4361, allocations: 1.569 MB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.4365, allocations: 253.2 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005749/0.4371, allocations: 0.5137 MB / 1.084 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.4377, allocations: 0.5798 MB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.4379, allocations: 84 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009532/0.4388, allocations: 0.5735 MB / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005159/0.4394, allocations: 0.561 MB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008938/0.4403, allocations: 0.8449 MB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003206/0.4435, allocations: 3.259 MB / 1.089 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4435, allocations: 4 kB / 1.089 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4435, allocations: 0 / 1.089 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.816e-05/0.4436, allocations: 4 kB / 1.089 GB, free: 7.906 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.003056/0.4466, allocations: 1.853 MB / 1.091 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4467, allocations: 8.031 kB / 1.091 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006542/0.4532, allocations: 0.6738 MB / 1.092 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.456, allocations: 1.635 MB / 1.093 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.4562, allocations: 132.5 kB / 1.094 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.4563, allocations: 32.38 kB / 1.094 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003799/0.4601, allocations: 1.903 MB / 1.095 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4602, allocations: 7.984 kB / 1.095 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.4603, allocations: 12 kB / 1.095 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.4603, allocations: 8 kB / 1.095 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005579/0.4659, allocations: 2.661 MB / 1.098 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008973/0.4749, allocations: 4.628 MB / 1.103 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.4853, allocations: 2.986 MB / 1.105 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002642/0.4879, allocations: 1.212 MB / 1.107 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.786e-05/0.488, allocations: 16.42 kB / 1.107 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003497/0.4916, allocations: 1.8 MB / 1.108 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=61): time 3.737e-06/0.4916, allocations: 4 kB / 1.108 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61): time 0.008575/0.5002, allocations: 3.704 MB / 1.112 GB, free: 364 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.5003, allocations: 93.66 kB / 1.112 GB, free: 252 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004323/0.5046, allocations: 2.755 MB / 1.115 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003129/0.5049, allocations: 57.69 kB / 1.115 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007779/0.5057, allocations: 0.6971 MB / 1.116 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.506, allocations: 181.5 kB / 1.116 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.5062, allocations: 53.69 kB / 1.116 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5063, allocations: 333.9 kB / 1.116 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/0.5092, allocations: 1.474 MB / 1.118 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/0.512, allocations: 1.453 MB / 1.119 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004884/0.5169, allocations: 2.258 MB / 1.121 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.5169, allocations: 0 / 1.121 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006431/0.5234, allocations: 3.022 MB / 1.124 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-05/0.5235, allocations: 87.36 kB / 1.124 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5235, allocations: 0 / 1.124 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.5235, allocations: 4 kB / 1.124 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.5249, allocations: 191.7 kB / 1.124 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.5249, allocations: 3.938 kB / 1.124 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.5266, allocations: 135.4 kB / 1.125 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.5268, allocations: 47.94 kB / 1.125 GB, free: 3.379 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.001429/0.5282, allocations: 0.7879 MB / 1.125 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/0.5286, allocations: 173.8 kB / 1.126 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006073/0.5347, allocations: 2.712 MB / 1.128 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.5347, allocations: 4 kB / 1.128 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5348, allocations: 8 kB / 1.128 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.5348, allocations: 0 / 1.128 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.538, allocations: 2.319 MB / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.538, allocations: 0 / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.5393, allocations: 187.7 kB / 1.131 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.5393, allocations: 11.98 kB / 1.131 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.002e-05/0.5394, allocations: 35.94 kB / 1.131 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.5394, allocations: 7.984 kB / 1.131 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5395, allocations: 0 / 1.131 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005821/0.5453, allocations: 2.598 MB / 1.133 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.5464, allocations: 0.5806 MB / 1.134 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.5467, allocations: 55.97 kB / 1.134 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.5482, allocations: 151.8 kB / 1.134 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.5484, allocations: 56.48 kB / 1.134 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.5485, allocations: 47.94 kB / 1.134 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003109/0.5516, allocations: 1.98 MB / 1.136 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5516, allocations: 0 / 1.136 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001425/0.553, allocations: 375.8 kB / 1.136 GB, free: 7.141 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.0006507/0.5537, allocations: 245.3 kB / 1.137 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005908/0.5596, allocations: 3.028 MB / 1.14 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5597, allocations: 0 / 1.14 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00278/0.5624, allocations: 1.373 MB / 1.141 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.5648, allocations: 447.3 kB / 1.141 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008558/0.5733, 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.001306/0.5747, allocations: 1.604 MB / 1.147 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002319/0.577, allocations: 0.6071 MB / 1.148 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.5776, allocations: 139.3 kB / 1.148 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of SimCode: time 1.042e-06/0.5776, allocations: 0 / 1.148 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of Templates: time 0.05495/0.6326, allocations: 31.03 MB / 1.178 GB, free: 12.16 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)