Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 252 MB / 267.9 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 185.6 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 0.5785 GB, free: 20.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008317/0.0008317, allocations: 87.98 kB / 0.6831 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 17.56 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1691, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.565/3.734, allocations: 2.189 GB / 3.09 GB, free: 31.48 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/3.735, allocations: 102.2 kB / 3.09 GB, free: 31.39 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4108/4.146, allocations: 42.02 MB / 3.131 GB, free: 321.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/4.146, allocations: 0.7812 kB / 3.131 GB, free: 321.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001257/4.146, allocations: 19.75 kB / 3.131 GB, free: 321.1 MB / 0.8855 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.004124/4.15, allocations: 1.858 MB / 3.133 GB, free: 319.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/4.15, allocations: 12.8 kB / 3.133 GB, free: 319.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005667/4.156, allocations: 0.6474 MB / 3.134 GB, free: 319.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/4.159, allocations: 1.786 MB / 3.135 GB, free: 319.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/4.159, allocations: 148.9 kB / 3.135 GB, free: 319.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/4.16, allocations: 29.66 kB / 3.135 GB, free: 319.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00395/4.164, allocations: 2.176 MB / 3.138 GB, free: 319.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/4.164, allocations: 0 / 3.138 GB, free: 319.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/4.164, allocations: 16 kB / 3.138 GB, free: 319.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/4.164, allocations: 7.625 kB / 3.138 GB, free: 319.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005549/4.169, allocations: 3.138 MB / 3.141 GB, free: 319.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008912/4.178, allocations: 5.13 MB / 3.146 GB, free: 318.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009963/4.188, allocations: 3.396 MB / 3.149 GB, free: 318.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/4.191, allocations: 1.405 MB / 3.15 GB, free: 318.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.407e-05/4.191, allocations: 26.5 kB / 3.15 GB, free: 318.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003032/4.194, allocations: 2.062 MB / 3.152 GB, free: 318.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.577e-06/4.194, allocations: 0 / 3.152 GB, free: 318.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.007564/4.201, allocations: 4.288 MB / 3.157 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/4.201, allocations: 93.05 kB / 3.157 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003455/4.205, allocations: 2.676 MB / 3.159 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002583/4.205, allocations: 52.91 kB / 3.159 GB, free: 316.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005419/4.206, allocations: 0.6573 MB / 3.16 GB, free: 315.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/4.206, allocations: 185.2 kB / 3.16 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/4.206, allocations: 15.62 kB / 3.16 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/4.206, allocations: 329.2 kB / 3.161 GB, free: 315.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002481/4.209, allocations: 1.754 MB / 3.162 GB, free: 314.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/4.211, allocations: 1.727 MB / 3.164 GB, free: 313.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004305/4.216, allocations: 2.635 MB / 3.167 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/4.216, allocations: 0 / 3.167 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005645/4.221, allocations: 3.56 MB / 3.17 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/4.221, allocations: 93.02 kB / 3.17 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/4.221, allocations: 0 / 3.17 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/4.221, allocations: 3.969 kB / 3.17 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/4.223, allocations: 221.3 kB / 3.17 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/4.223, allocations: 3.969 kB / 3.17 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/4.224, allocations: 122.3 kB / 3.17 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/4.224, allocations: 110.6 kB / 3.171 GB, free: 311.3 MB / 0.8855 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001219/4.226, allocations: 0.7713 MB / 3.171 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005653/4.226, allocations: 176.4 kB / 3.171 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005784/4.232, allocations: 3.207 MB / 3.175 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/4.232, allocations: 8 kB / 3.175 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/4.232, allocations: 0 / 3.175 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/4.232, allocations: 3.75 kB / 3.175 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/4.235, allocations: 2.512 MB / 3.177 GB, free: 307.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/4.235, allocations: 0 / 3.177 GB, free: 307.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/4.236, allocations: 232.8 kB / 3.177 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/4.236, allocations: 0 / 3.177 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/4.236, allocations: 56.11 kB / 3.177 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/4.236, allocations: 0 / 3.177 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/4.236, allocations: 0 / 3.177 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/4.242, allocations: 2.977 MB / 3.18 GB, free: 304.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/4.243, allocations: 0.7721 MB / 3.181 GB, free: 303.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004658/4.243, allocations: 63.41 kB / 3.181 GB, free: 303.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/4.245, allocations: 147.9 kB / 3.181 GB, free: 303.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/4.245, allocations: 64.45 kB / 3.181 GB, free: 303 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/4.245, allocations: 119.9 kB / 3.181 GB, free: 302.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002685/4.248, allocations: 1.911 MB / 3.183 GB, free: 301 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.3e-07/4.248, allocations: 0 / 3.183 GB, free: 301 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001551/4.25, allocations: 459.6 kB / 3.184 GB, free: 300.5 MB / 0.8855 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.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.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.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/4.251, allocations: 472.9 kB / 3.184 GB, free: 300.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005301/4.256, allocations: 3.547 MB / 3.188 GB, free: 296.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/4.256, allocations: 0 / 3.188 GB, free: 296.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002441/4.259, allocations: 1.574 MB / 3.189 GB, free: 295 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/4.261, allocations: 404.9 kB / 3.189 GB, free: 294.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006982/4.268, allocations: 4.551 MB / 3.194 GB, free: 290 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/4.269, allocations: 1.569 MB / 3.195 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002386/4.271, allocations: 0.7963 MB / 3.196 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007303/4.272, allocations: 151.3 kB / 3.196 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/4.272, allocations: 0 / 3.196 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.04195/4.314, allocations: 35.33 MB / 3.231 GB, free: 252.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)