Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.291/2.291, allocations: 248.5 MB / 261.1 MB, free: 5.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 180.1 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001125/0.001125, allocations: 99.41 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.992e-05/4.003e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2124, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.183/7.395, allocations: 2.188 GB / 3.079 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/7.396, allocations: 106.9 kB / 3.079 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1461/7.542, allocations: 41.87 MB / 3.12 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.903e-06/7.542, allocations: 4 kB / 3.12 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001058/7.542, allocations: 20 kB / 3.12 GB, free: 108.9 MB / 0.8698 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.003285/7.545, allocations: 1.442 MB / 3.122 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/7.545, allocations: 16.03 kB / 3.122 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/7.546, allocations: 78.53 kB / 3.122 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/7.556, allocations: 0.6418 MB / 3.122 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/7.561, allocations: 1.686 MB / 3.124 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00037/7.561, allocations: 144.1 kB / 3.124 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002911/7.562, allocations: 32 kB / 3.124 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004245/7.566, allocations: 2.014 MB / 3.126 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/7.566, allocations: 3.953 kB / 3.126 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/7.566, allocations: 12 kB / 3.126 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/7.566, allocations: 11.94 kB / 3.126 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006215/7.572, allocations: 2.818 MB / 3.129 GB, free: 99.88 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/7.588, allocations: 5.119 MB / 3.134 GB, free: 94.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/7.603, allocations: 3.108 MB / 3.137 GB, free: 91.58 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/7.605, allocations: 1.252 MB / 3.138 GB, free: 90.33 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/7.605, allocations: 20.41 kB / 3.138 GB, free: 90.31 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003675/7.609, allocations: 1.902 MB / 3.14 GB, free: 88.39 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 5.06e-06/7.609, allocations: 0 / 3.14 GB, free: 88.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.005905/7.615, allocations: 2.583 MB / 3.142 GB, free: 85.79 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/7.615, allocations: 101.7 kB / 3.143 GB, free: 85.67 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005099/7.62, allocations: 2.434 MB / 3.145 GB, free: 83.24 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006446/7.621, allocations: 53.69 kB / 3.145 GB, free: 83.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/7.622, allocations: 0.6653 MB / 3.146 GB, free: 82.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004329/7.622, allocations: 181.5 kB / 3.146 GB, free: 82.33 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/7.623, allocations: 12 kB / 3.146 GB, free: 82.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/7.623, allocations: 330 kB / 3.146 GB, free: 81.99 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/7.626, allocations: 1.595 MB / 3.148 GB, free: 80.39 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002908/7.629, allocations: 1.567 MB / 3.149 GB, free: 78.83 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/7.631, allocations: 1.299 MB / 3.15 GB, free: 77.52 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/7.631, allocations: 0 / 3.15 GB, free: 77.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006828/7.638, allocations: 3.245 MB / 3.154 GB, free: 74.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/7.638, allocations: 95.3 kB / 3.154 GB, free: 74.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/7.638, allocations: 0 / 3.154 GB, free: 74.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/7.638, allocations: 0 / 3.154 GB, free: 74.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/7.641, allocations: 231.6 kB / 3.154 GB, free: 73.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/7.641, allocations: 4 kB / 3.154 GB, free: 73.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/7.644, allocations: 115.6 kB / 3.154 GB, free: 73.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004828/7.645, allocations: 111.9 kB / 3.154 GB, free: 73.69 MB / 0.8698 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 () * 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.0007301/7.645, allocations: 186.6 kB / 3.154 GB, free: 73.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007111/7.646, allocations: 177.9 kB / 3.155 GB, free: 73.32 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006936/7.653, allocations: 2.895 MB / 3.157 GB, free: 70.41 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/7.653, allocations: 8 kB / 3.157 GB, free: 70.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/7.653, allocations: 0 / 3.157 GB, free: 70.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/7.653, allocations: 0 / 3.157 GB, free: 70.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004593/7.658, allocations: 2.52 MB / 3.16 GB, free: 67.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/7.658, allocations: 0 / 3.16 GB, free: 67.83 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002815/7.661, allocations: 223.7 kB / 3.16 GB, free: 67.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/7.661, allocations: 0 / 3.16 GB, free: 67.61 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002866/7.661, allocations: 55.92 kB / 3.16 GB, free: 67.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/7.661, allocations: 0 / 3.16 GB, free: 67.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/7.661, allocations: 4 kB / 3.16 GB, free: 67.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005856/7.667, allocations: 2.653 MB / 3.163 GB, free: 64.87 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002313/7.669, allocations: 0.772 MB / 3.163 GB, free: 64.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006275/7.67, allocations: 59.97 kB / 3.164 GB, free: 64.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002946/7.673, allocations: 151.8 kB / 3.164 GB, free: 63.87 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/7.673, allocations: 68.45 kB / 3.164 GB, free: 63.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003382/7.673, allocations: 107.9 kB / 3.164 GB, free: 63.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004051/7.678, allocations: 1.892 MB / 3.166 GB, free: 61.81 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.31e-07/7.678, allocations: 4 kB / 3.166 GB, free: 61.81 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002441/7.68, allocations: 459.7 kB / 3.166 GB, free: 61.36 MB / 0.8698 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]) * 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.007305/7.687, allocations: 3.549 MB / 3.17 GB, free: 57.79 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006329/7.694, allocations: 3.228 MB / 3.173 GB, free: 54.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/7.694, allocations: 0 / 3.173 GB, free: 54.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002753/7.697, allocations: 1.416 MB / 3.174 GB, free: 53.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/7.699, allocations: 403.9 kB / 3.174 GB, free: 52.72 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/7.711, allocations: 4.195 MB / 3.179 GB, free: 48.47 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/7.713, allocations: 1.611 MB / 3.18 GB, free: 46.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004189/7.717, allocations: 0.7863 MB / 3.181 GB, free: 46.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/7.719, allocations: 0.5812 MB / 3.181 GB, free: 45.46 MB / 0.8698 GB Notification: Performance of SimCode: time 1.994e-06/7.719, allocations: 0 / 3.181 GB, free: 45.46 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7401/8.459, allocations: 51.62 MB / 3.232 GB, free: 288.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/8.459, allocations: 209.5 kB / 3.232 GB, free: 288.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.869/12.33, allocations: 0 / 3.232 GB, free: 288.4 MB / 0.8698 GB