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.206/2.206, allocations: 248.7 MB / 256.2 MB, free: 7.062 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: 189.2 kB / 315.4 MB, free: 4.004 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.048/2.048, allocations: 205.3 MB / 0.5662 GB, free: 0.625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 86.05 kB / 0.6704 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.734e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2256, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.347/7.573, allocations: 2.189 GB / 3.073 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/7.573, allocations: 104.4 kB / 3.073 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1455/7.719, allocations: 40.96 MB / 3.113 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.484e-06/7.719, allocations: 0 / 3.113 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001012/7.719, allocations: 24 kB / 3.113 GB, free: 130.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.003549/7.723, allocations: 1.444 MB / 3.114 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/7.723, allocations: 12.03 kB / 3.114 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/7.733, allocations: 0.6418 MB / 3.115 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005191/7.739, allocations: 1.693 MB / 3.117 GB, free: 127 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/7.739, allocations: 132.1 kB / 3.117 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/7.739, allocations: 24 kB / 3.117 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006344/7.746, allocations: 2.801 MB / 3.119 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/7.75, allocations: 1.958 MB / 3.121 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/7.75, allocations: 7.953 kB / 3.121 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/7.751, allocations: 7.938 kB / 3.121 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/7.751, allocations: 8 kB / 3.121 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01597/7.767, allocations: 5.042 MB / 3.126 GB, free: 117 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/7.781, allocations: 3.095 MB / 3.129 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/7.784, allocations: 1.232 MB / 3.131 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/7.784, allocations: 20.42 kB / 3.131 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003719/7.788, allocations: 1.885 MB / 3.132 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 6.081e-06/7.788, allocations: 0 / 3.132 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.007656/7.796, allocations: 2.687 MB / 3.135 GB, free: 108 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/7.796, allocations: 93.67 kB / 3.135 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005307/7.801, allocations: 2.347 MB / 3.137 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006192/7.802, allocations: 45.69 kB / 3.137 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009692/7.803, allocations: 0.6535 MB / 3.138 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006024/7.803, allocations: 177.5 kB / 3.138 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/7.804, allocations: 0 / 3.138 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.198e-05/7.804, allocations: 330 kB / 3.139 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/7.806, allocations: 1.576 MB / 3.14 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002931/7.809, allocations: 1.558 MB / 3.142 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/7.814, allocations: 1.45 MB / 3.143 GB, free: 99.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/7.814, allocations: 0 / 3.143 GB, free: 99.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.008952/7.823, allocations: 3.359 MB / 3.146 GB, free: 96.39 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/7.823, allocations: 87.38 kB / 3.146 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/7.823, allocations: 7.953 kB / 3.146 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/7.823, allocations: 0 / 3.146 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/7.826, allocations: 231.6 kB / 3.147 GB, free: 96.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.811e-05/7.826, allocations: 11.98 kB / 3.147 GB, free: 96.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/7.829, allocations: 111.6 kB / 3.147 GB, free: 95.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005562/7.83, allocations: 107.9 kB / 3.147 GB, free: 95.83 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.0006658/7.83, allocations: 179.8 kB / 3.147 GB, free: 95.64 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007564/7.838, allocations: 2.699 MB / 3.15 GB, free: 92.94 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008882/7.839, allocations: 169.9 kB / 3.15 GB, free: 92.77 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008718/7.848, allocations: 2.975 MB / 3.153 GB, free: 89.79 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/7.848, allocations: 4 kB / 3.153 GB, free: 89.78 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/7.848, allocations: 4 kB / 3.153 GB, free: 89.78 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/7.848, allocations: 7.984 kB / 3.153 GB, free: 89.77 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/7.853, allocations: 2.453 MB / 3.155 GB, free: 87.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/7.853, allocations: 0 / 3.155 GB, free: 87.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002951/7.856, allocations: 219.7 kB / 3.155 GB, free: 87.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/7.856, allocations: 8 kB / 3.155 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003832/7.856, allocations: 51.86 kB / 3.155 GB, free: 87 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/7.856, allocations: 4 kB / 3.155 GB, free: 87 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/7.856, allocations: 4 kB / 3.155 GB, free: 87 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007561/7.864, allocations: 2.756 MB / 3.158 GB, free: 84.22 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002628/7.866, allocations: 0.7643 MB / 3.159 GB, free: 83.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008475/7.867, allocations: 55.91 kB / 3.159 GB, free: 83.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003293/7.871, allocations: 143.9 kB / 3.159 GB, free: 83.24 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003519/7.871, allocations: 60.47 kB / 3.159 GB, free: 83.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004243/7.871, allocations: 107.9 kB / 3.159 GB, free: 83.07 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004243/7.876, allocations: 1.813 MB / 3.161 GB, free: 81.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.92e-07/7.876, allocations: 0 / 3.161 GB, free: 81.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002531/7.878, allocations: 435.7 kB / 3.161 GB, free: 80.84 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.009362/7.888, allocations: 3.665 MB / 3.165 GB, free: 77.16 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006316/7.894, allocations: 3.202 MB / 3.168 GB, free: 73.93 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/7.894, allocations: 0 / 3.168 GB, free: 73.93 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002845/7.897, allocations: 1.391 MB / 3.169 GB, free: 72.53 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/7.9, allocations: 388.9 kB / 3.17 GB, free: 72.15 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/7.913, allocations: 4.156 MB / 3.174 GB, free: 67.95 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/7.914, allocations: 1.603 MB / 3.175 GB, free: 66.31 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00463/7.919, allocations: 0.8174 MB / 3.176 GB, free: 65.49 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002376/7.922, allocations: 0.5773 MB / 3.177 GB, free: 64.91 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/7.922, allocations: 0 / 3.177 GB, free: 64.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1547/8.076, allocations: 45.38 MB / 3.221 GB, free: 19.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/8.077, allocations: 188.9 kB / 3.221 GB, free: 19.38 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.019/12.1, allocations: 0 / 3.221 GB, free: 19.38 MB / 0.8698 GB