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.231/2.231, 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.001527/0.001527, allocations: 176.1 kB / 325.5 MB, free: 2.887 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.411/2.411, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001269/0.001269, allocations: 105.8 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007388/0.000739, allocations: 17.84 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2805, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.242/7.523, allocations: 2.198 GB / 3.097 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/7.523, allocations: 111.3 kB / 3.097 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5179/8.041, allocations: 158.6 MB / 3.252 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.936e-06/8.041, allocations: 0 / 3.252 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002969/8.042, allocations: 36.16 kB / 3.252 GB, free: 179.2 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.01045/8.052, allocations: 3.066 MB / 3.255 GB, free: 176 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/8.052, allocations: 8.031 kB / 3.255 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006385/8.053, allocations: 98.52 kB / 3.255 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04146/8.094, allocations: 2.935 MB / 3.258 GB, free: 173 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009036/8.103, allocations: 2.866 MB / 3.26 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005396/8.104, allocations: 198.6 kB / 3.261 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006374/8.104, allocations: 59.95 kB / 3.261 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/8.122, allocations: 3.574 MB / 3.264 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/8.122, allocations: 0 / 3.264 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004084/8.123, allocations: 24 kB / 3.264 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/8.123, allocations: 12 kB / 3.264 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03089/8.154, allocations: 5.441 MB / 3.27 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03477/8.189, allocations: 8.802 MB / 3.278 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03929/8.228, allocations: 5.785 MB / 3.284 GB, free: 146 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/8.228, allocations: 24.53 kB / 3.284 GB, free: 146 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01616/8.244, allocations: 3.292 MB / 3.287 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=79): time 4.408e-06/8.244, allocations: 0 / 3.287 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=79): time 0.08952/8.334, allocations: 9.659 MB / 3.296 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/8.334, allocations: 101.6 kB / 3.297 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01077/8.345, allocations: 4.198 MB / 3.301 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/8.346, allocations: 61.69 kB / 3.301 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001621/8.348, allocations: 1.002 MB / 3.302 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007938/8.348, allocations: 236.6 kB / 3.302 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/8.349, allocations: 16 kB / 3.302 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001019/8.349, allocations: 345.9 kB / 3.302 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01563/8.365, allocations: 3.075 MB / 3.305 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0159/8.381, allocations: 3.106 MB / 3.308 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/8.395, allocations: 2.637 MB / 3.311 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/8.395, allocations: 0 / 3.311 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0679/8.463, allocations: 7.825 MB / 3.319 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002325/8.464, allocations: 385.1 kB / 3.319 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/8.464, allocations: 0 / 3.319 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007559/8.471, allocations: 1.047 MB / 3.32 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00813/8.479, allocations: 0.6553 MB / 3.321 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007164/8.487, allocations: 4.892 MB / 3.325 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009637/8.496, allocations: 0.5807 MB / 3.326 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/8.497, allocations: 155.8 kB / 3.326 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/8.497, allocations: 4 kB / 3.326 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06607/8.564, allocations: 7.541 MB / 3.333 GB, free: 94.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/8.564, allocations: 8.062 kB / 3.333 GB, free: 94.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005897/8.57, allocations: 0.914 MB / 3.334 GB, free: 93.67 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008151/8.578, allocations: 0.6553 MB / 3.335 GB, free: 93.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/8.588, allocations: 8.64 MB / 3.343 GB, free: 83.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009516/8.598, allocations: 0.5731 MB / 3.344 GB, free: 83.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009689/8.599, allocations: 151.9 kB / 3.344 GB, free: 82.95 MB / 0.8855 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 () * Number of clocked 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.003482/8.603, allocations: 1.17 MB / 3.345 GB, free: 81.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/8.604, allocations: 260.8 kB / 3.345 GB, free: 81.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06562/8.669, allocations: 6.865 MB / 3.352 GB, free: 74.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/8.67, allocations: 8 kB / 3.352 GB, free: 74.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/8.67, allocations: 3.953 kB / 3.352 GB, free: 74.59 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/8.67, allocations: 3.984 kB / 3.352 GB, free: 74.59 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007855/8.677, allocations: 3.597 MB / 3.356 GB, free: 70.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/8.678, allocations: 0 / 3.356 GB, free: 70.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007822/8.685, allocations: 0.6202 MB / 3.356 GB, free: 70.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/8.687, allocations: 249.4 kB / 3.357 GB, free: 70.06 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006522/8.688, allocations: 67.89 kB / 3.357 GB, free: 70 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003953/8.692, allocations: 2.205 MB / 3.359 GB, free: 67.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/8.692, allocations: 0 / 3.359 GB, free: 67.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06418/8.756, allocations: 6.516 MB / 3.365 GB, free: 61.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003862/8.76, allocations: 1.118 MB / 3.366 GB, free: 59.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/8.762, allocations: 63.97 kB / 3.366 GB, free: 59.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009646/8.772, allocations: 0.55 MB / 3.367 GB, free: 59.31 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005539/8.772, allocations: 80.81 kB / 3.367 GB, free: 59.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006385/8.773, allocations: 143.9 kB / 3.367 GB, free: 59.09 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.009146/8.782, allocations: 3.216 MB / 3.37 GB, free: 55.88 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.793e-06/8.782, allocations: 0 / 3.37 GB, free: 55.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006867/8.789, allocations: 1.14 MB / 3.371 GB, free: 54.73 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: 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]) * Number of clocked states: 0 () * 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.03941/8.828, allocations: 7.142 MB / 3.378 GB, free: 47.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0536/8.882, allocations: 10.75 MB / 3.389 GB, free: 36.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/8.882, allocations: 4 kB / 3.389 GB, free: 36.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01621/8.898, allocations: 2.902 MB / 3.392 GB, free: 33.75 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005048/8.903, allocations: 0.6308 MB / 3.392 GB, free: 33.11 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03875/8.942, allocations: 9.808 MB / 3.402 GB, free: 23.16 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/8.945, allocations: 2.132 MB / 3.404 GB, free: 20.99 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009182/8.954, allocations: 1.429 MB / 3.405 GB, free: 19.56 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004046/8.958, allocations: 0.9248 MB / 3.406 GB, free: 18.63 MB / 0.8855 GB Notification: Performance of SimCode: time 1.302e-06/8.958, allocations: 0 / 3.406 GB, free: 18.63 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.853/9.811, allocations: 100.8 MB / 3.505 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/9.811, allocations: 263.4 kB / 3.505 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.018/15.83, allocations: 3.906 kB / 3.505 GB, free: 241.6 MB / 0.8855 GB