Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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.WetCoil,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",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.349/2.349, allocations: 248.5 MB / 261.1 MB, free: 6.023 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.001521/0.00152, allocations: 178.2 kB / 320.4 MB, free: 15.34 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.952/1.952, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001151/0.00115, allocations: 94.47 kB / 0.6754 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.897e-05/4.907e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2131, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.183/7.396, allocations: 2.198 GB / 3.088 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/7.396, allocations: 110.7 kB / 3.089 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.147/8.544, allocations: 158.4 MB / 3.243 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.973e-06/8.544, allocations: 0 / 3.243 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003101/8.544, allocations: 39.33 kB / 3.243 GB, free: 253.8 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.008516/8.553, allocations: 2.233 MB / 3.245 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/8.553, allocations: 9.719 kB / 3.245 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005301/8.553, allocations: 102.2 kB / 3.246 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04166/8.595, allocations: 2.923 MB / 3.248 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009598/8.605, allocations: 2.828 MB / 3.251 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005943/8.605, allocations: 199.1 kB / 3.251 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006821/8.606, allocations: 59.53 kB / 3.251 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00703/8.613, allocations: 2.641 MB / 3.254 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/8.613, allocations: 1.969 kB / 3.254 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000438/8.613, allocations: 16.81 kB / 3.254 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/8.614, allocations: 15.42 kB / 3.254 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009394/8.623, allocations: 3.581 MB / 3.258 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03648/8.659, allocations: 8.808 MB / 3.266 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01807/8.678, allocations: 4.013 MB / 3.27 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003722/8.681, allocations: 1.618 MB / 3.272 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/8.682, allocations: 23.34 kB / 3.272 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005304/8.687, allocations: 2.374 MB / 3.274 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=79): time 6.172e-06/8.687, allocations: 2.438 kB / 3.274 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79): time 0.04307/8.73, allocations: 4.682 MB / 3.279 GB, free: 248 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/8.73, allocations: 103.7 kB / 3.279 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/8.741, allocations: 4.136 MB / 3.283 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009487/8.742, allocations: 64.75 kB / 3.283 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002044/8.744, allocations: 1.003 MB / 3.284 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008611/8.745, allocations: 242.8 kB / 3.284 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004622/8.745, allocations: 15.72 kB / 3.284 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001348/8.745, allocations: 342 kB / 3.284 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004799/8.75, allocations: 2.14 MB / 3.286 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005082/8.755, allocations: 2.172 MB / 3.289 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004538/8.76, allocations: 1.758 MB / 3.29 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/8.76, allocations: 3.953 kB / 3.29 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.04684/8.807, allocations: 5.962 MB / 3.296 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/8.807, allocations: 392.1 kB / 3.296 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/8.807, allocations: 0 / 3.296 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006954/8.814, allocations: 0.9936 MB / 3.297 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008133/8.822, allocations: 0.6572 MB / 3.298 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/8.829, allocations: 4.833 MB / 3.303 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009668/8.838, allocations: 0.5872 MB / 3.303 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009815/8.839, allocations: 151.3 kB / 3.304 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/8.84, allocations: 3.562 kB / 3.304 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0437/8.883, allocations: 5.702 MB / 3.309 GB, free: 234 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/8.883, allocations: 3.969 kB / 3.309 GB, free: 234 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005358/8.889, allocations: 0.8774 MB / 3.31 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008068/8.897, allocations: 0.6526 MB / 3.311 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/8.907, allocations: 8.498 MB / 3.319 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009537/8.916, allocations: 0.5664 MB / 3.319 GB, free: 226 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000943/8.917, allocations: 152.9 kB / 3.32 GB, free: 226 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,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 (92): * Single equations (assignments): 84 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001351/8.919, allocations: 202.4 kB / 3.32 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/8.92, allocations: 253.1 kB / 3.32 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0435/8.964, allocations: 5.044 MB / 3.325 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/8.964, allocations: 6.969 kB / 3.325 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/8.964, allocations: 2.688 kB / 3.325 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/8.964, allocations: 7.891 kB / 3.325 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007692/8.972, allocations: 3.595 MB / 3.328 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/8.972, allocations: 0 / 3.328 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007745/8.979, allocations: 0.6143 MB / 3.329 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/8.981, allocations: 210.2 kB / 3.329 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000646/8.982, allocations: 66.92 kB / 3.329 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003232/8.985, allocations: 2.143 MB / 3.331 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/8.985, allocations: 0 / 3.331 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04159/9.027, allocations: 4.681 MB / 3.336 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004126/9.031, allocations: 1.125 MB / 3.337 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001687/9.032, allocations: 65.64 kB / 3.337 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009587/9.042, allocations: 0.5446 MB / 3.338 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000522/9.043, allocations: 82.62 kB / 3.338 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007041/9.043, allocations: 142.4 kB / 3.338 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.008279/9.052, allocations: 3.163 MB / 3.341 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.72e-07/9.052, allocations: 4 kB / 3.341 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00707/9.059, allocations: 1.139 MB / 3.342 GB, free: 215.1 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: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,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,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[wetCoi.cooCap.stage],wetCoi.cooCap.checkBoundsTCon[wetCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0173/9.076, allocations: 5.301 MB / 3.347 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01985/9.096, allocations: 8.046 MB / 3.355 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/9.096, allocations: 4 kB / 3.355 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005181/9.101, allocations: 1.972 MB / 3.357 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005519/9.107, allocations: 0.6379 MB / 3.358 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/9.133, allocations: 6.737 MB / 3.364 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002421/9.136, allocations: 2.132 MB / 3.366 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01542/9.151, allocations: 2.867 MB / 3.369 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003306/9.154, allocations: 0.8818 MB / 3.37 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.473e-06/9.154, allocations: 0 / 3.37 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2244/9.379, allocations: 107.2 MB / 3.475 GB, free: 82.85 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/9.379, allocations: 245.5 kB / 3.475 GB, free: 82.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/16.32, allocations: 0 / 3.475 GB, free: 82.52 MB / 0.8698 GB