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.244/2.244, allocations: 251 MB / 265.9 MB, free: 11.7 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.001646/0.001646, allocations: 186.8 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.44/2.44, allocations: 205.4 MB / 0.5764 GB, free: 20.85 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.001265/0.001265, allocations: 93.14 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004826, allocations: 12.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.216, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.584/6.8, allocations: 2.188 GB / 3.087 GB, free: 2.957 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003813/6.8, allocations: 107.1 kB / 3.087 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.764/7.564, allocations: 41.96 MB / 3.128 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.687e-06/7.564, allocations: 0 / 3.128 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001068/7.565, allocations: 27.19 kB / 3.128 GB, free: 330.4 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.005183/7.57, allocations: 1.882 MB / 3.13 GB, free: 329.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/7.57, allocations: 7.625 kB / 3.13 GB, free: 329.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004656/7.57, allocations: 77.28 kB / 3.13 GB, free: 329.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/7.581, allocations: 0.6418 MB / 3.131 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004907/7.586, allocations: 1.706 MB / 3.133 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/7.587, allocations: 147.6 kB / 3.133 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003022/7.587, allocations: 32 kB / 3.133 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007009/7.594, allocations: 2.168 MB / 3.135 GB, free: 325.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/7.594, allocations: 3.953 kB / 3.135 GB, free: 325.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000267/7.594, allocations: 16 kB / 3.135 GB, free: 325.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/7.594, allocations: 4 kB / 3.135 GB, free: 325.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/7.606, allocations: 3.137 MB / 3.138 GB, free: 322.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/7.621, allocations: 5.13 MB / 3.143 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01987/7.641, allocations: 3.393 MB / 3.146 GB, free: 313.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/7.641, allocations: 16.42 kB / 3.146 GB, free: 313.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006632/7.648, allocations: 2.065 MB / 3.148 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 5.009e-06/7.648, allocations: 0 / 3.148 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.01635/7.664, allocations: 4.361 MB / 3.153 GB, free: 307.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/7.664, allocations: 93.66 kB / 3.153 GB, free: 307.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005398/7.67, allocations: 2.46 MB / 3.155 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006784/7.67, allocations: 53.69 kB / 3.155 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000869/7.671, allocations: 0.6615 MB / 3.156 GB, free: 303.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000431/7.672, allocations: 185.4 kB / 3.156 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/7.672, allocations: 12 kB / 3.156 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.011e-05/7.672, allocations: 329.9 kB / 3.156 GB, free: 303.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005436/7.678, allocations: 1.759 MB / 3.158 GB, free: 301.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005409/7.683, allocations: 1.727 MB / 3.16 GB, free: 299.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004959/7.688, allocations: 1.458 MB / 3.161 GB, free: 298.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/7.688, allocations: 4 kB / 3.161 GB, free: 298.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.01207/7.7, allocations: 3.561 MB / 3.165 GB, free: 294.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/7.7, allocations: 87.36 kB / 3.165 GB, free: 294.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/7.7, allocations: 4 kB / 3.165 GB, free: 294.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/7.7, allocations: 0 / 3.165 GB, free: 294.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/7.703, allocations: 231.6 kB / 3.165 GB, free: 294.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/7.703, allocations: 4 kB / 3.165 GB, free: 294.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/7.706, allocations: 119.5 kB / 3.165 GB, free: 294.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003854/7.706, allocations: 111.9 kB / 3.165 GB, free: 294.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.00258/7.709, allocations: 0.7685 MB / 3.166 GB, free: 293.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008916/7.71, allocations: 177.8 kB / 3.166 GB, free: 293.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/7.722, allocations: 3.211 MB / 3.169 GB, free: 290.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/7.722, allocations: 7.984 kB / 3.169 GB, free: 290.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/7.722, allocations: 4 kB / 3.169 GB, free: 290.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/7.722, allocations: 0 / 3.169 GB, free: 290.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005287/7.728, allocations: 2.508 MB / 3.172 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/7.728, allocations: 3.984 kB / 3.172 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/7.731, allocations: 215.7 kB / 3.172 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/7.731, allocations: 8 kB / 3.172 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003383/7.731, allocations: 47.94 kB / 3.172 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/7.731, allocations: 4 kB / 3.172 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/7.731, allocations: 3.984 kB / 3.172 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/7.743, allocations: 2.98 MB / 3.175 GB, free: 284.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002468/7.745, allocations: 0.7719 MB / 3.176 GB, free: 283.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006938/7.746, allocations: 59.97 kB / 3.176 GB, free: 283.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003157/7.749, allocations: 147.8 kB / 3.176 GB, free: 283.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/7.749, allocations: 64.47 kB / 3.176 GB, free: 283.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003891/7.75, allocations: 107.9 kB / 3.176 GB, free: 283.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004607/7.754, allocations: 1.919 MB / 3.178 GB, free: 281.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.12e-07/7.754, allocations: 0 / 3.178 GB, free: 281.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002735/7.757, allocations: 463.6 kB / 3.178 GB, free: 280.7 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.013/7.77, allocations: 3.887 MB / 3.182 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01156/7.782, allocations: 3.544 MB / 3.186 GB, free: 273.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/7.782, allocations: 0 / 3.186 GB, free: 273.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005528/7.787, allocations: 1.576 MB / 3.187 GB, free: 271.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/7.791, allocations: 391.2 kB / 3.187 GB, free: 271.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05887/7.85, allocations: 19.05 MB / 3.206 GB, free: 251.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/7.851, allocations: 1.608 MB / 3.208 GB, free: 250 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004607/7.856, allocations: 0.798 MB / 3.208 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002378/7.858, allocations: 0.5793 MB / 3.209 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.362e-06/7.858, allocations: 3.938 kB / 3.209 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/7.974, allocations: 51.96 MB / 3.26 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/7.975, allocations: 238.6 kB / 3.26 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.214/12.19, allocations: 0 / 3.26 GB, free: 196.6 MB / 0.8855 GB