Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.Validation.HeaterCooler_u,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.236/2.236, allocations: 248.5 MB / 261 MB, free: 6.043 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.001401/0.001401, allocations: 182.1 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001138/0.001138, allocations: 105.1 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.953e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2143, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.178/7.392, allocations: 2.204 GB / 3.095 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/7.392, allocations: 87.2 kB / 3.095 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.261/12.65, allocations: 1.006 GB / 4.101 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/12.65, allocations: 0 / 4.101 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002815/12.65, allocations: 51.92 kB / 4.101 GB, free: 139.8 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00687/12.66, allocations: 2.068 MB / 4.103 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/12.66, allocations: 12.03 kB / 4.103 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005836/12.66, allocations: 173.4 kB / 4.103 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006253/12.67, allocations: 0.6131 MB / 4.104 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005612/12.67, allocations: 1.443 MB / 4.105 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006672/12.67, allocations: 159.3 kB / 4.106 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005371/12.67, allocations: 127.9 kB / 4.106 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/12.68, allocations: 1.355 MB / 4.107 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.352e-05/12.68, allocations: 2 kB / 4.107 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/12.68, allocations: 55.98 kB / 4.107 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/12.68, allocations: 50.17 kB / 4.107 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/12.68, allocations: 1.047 MB / 4.108 GB, free: 132.5 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/12.7, allocations: 5.872 MB / 4.114 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/12.7, allocations: 0.97 MB / 4.115 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/12.7, allocations: 479.1 kB / 4.115 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008223/12.7, allocations: 320 kB / 4.116 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/12.7, allocations: 0.5384 MB / 4.116 GB, free: 124 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=87): time 4.158e-06/12.7, allocations: 0 / 4.116 GB, free: 124 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.01117/12.71, allocations: 3.031 MB / 4.119 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/12.71, allocations: 196.7 kB / 4.119 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/12.72, allocations: 1.146 MB / 4.12 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003791/12.72, allocations: 53.64 kB / 4.12 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007698/12.72, allocations: 0.7215 MB / 4.121 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004556/12.72, allocations: 326.8 kB / 4.121 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/12.72, allocations: 20 kB / 4.121 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/12.72, allocations: 341.9 kB / 4.122 GB, free: 118 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009555/12.72, allocations: 381.9 kB / 4.122 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/12.72, allocations: 0.6126 MB / 4.123 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/12.74, allocations: 2.353 MB / 4.125 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/12.74, allocations: 0 / 4.125 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006415/12.74, allocations: 1.651 MB / 4.127 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003578/12.74, allocations: 1.3 MB / 4.128 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/12.74, allocations: 0 / 4.128 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/12.75, allocations: 434.8 kB / 4.128 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/12.75, allocations: 171.8 kB / 4.129 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/12.76, allocations: 6.85 MB / 4.135 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/12.76, allocations: 143.8 kB / 4.135 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/12.76, allocations: 43.98 kB / 4.135 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/12.76, allocations: 4 kB / 4.135 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0058/12.77, allocations: 1.495 MB / 4.137 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/12.77, allocations: 7.062 kB / 4.137 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/12.77, allocations: 419.1 kB / 4.137 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/12.77, allocations: 179.7 kB / 4.137 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/12.78, allocations: 7.858 MB / 4.145 GB, free: 92.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/12.78, allocations: 143.7 kB / 4.145 GB, free: 92.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/12.78, allocations: 39.98 kB / 4.145 GB, free: 92.72 MB / 0.8855 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004543/12.79, allocations: 202.4 kB / 4.145 GB, free: 92.51 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004418/12.79, allocations: 166 kB / 4.146 GB, free: 92.35 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005356/12.79, allocations: 1.449 MB / 4.147 GB, free: 90.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/12.79, allocations: 11.61 kB / 4.147 GB, free: 90.87 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/12.79, allocations: 4 kB / 4.147 GB, free: 90.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004614/12.8, allocations: 1.311 MB / 4.148 GB, free: 89.51 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009987/12.81, allocations: 3.335 MB / 4.152 GB, free: 86.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/12.81, allocations: 4.5 kB / 4.152 GB, free: 86.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/12.81, allocations: 199.8 kB / 4.152 GB, free: 85.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007378/12.81, allocations: 200.8 kB / 4.152 GB, free: 85.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/12.81, allocations: 31.98 kB / 4.152 GB, free: 85.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003766/12.81, allocations: 2.469 MB / 4.154 GB, free: 82.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/12.81, allocations: 16.22 kB / 4.154 GB, free: 82.97 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0067/12.82, allocations: 2.4 MB / 4.157 GB, free: 80.39 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/12.82, allocations: 378.9 kB / 4.157 GB, free: 80 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/12.82, allocations: 28 kB / 4.157 GB, free: 79.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/12.82, allocations: 135.8 kB / 4.157 GB, free: 79.84 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/12.82, allocations: 68.66 kB / 4.157 GB, free: 79.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/12.82, allocations: 43.97 kB / 4.157 GB, free: 79.73 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001887/12.83, allocations: 0.9014 MB / 4.158 GB, free: 78.83 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.41e-07/12.83, allocations: 0 / 4.158 GB, free: 78.83 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005115/12.83, allocations: 0.9924 MB / 4.159 GB, free: 77.84 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01129/12.84, allocations: 6.22 MB / 4.165 GB, free: 71.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005999/12.85, allocations: 2.692 MB / 4.168 GB, free: 68.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/12.85, allocations: 0 / 4.168 GB, free: 68.59 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/12.85, allocations: 0.7132 MB / 4.169 GB, free: 67.86 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007544/12.86, allocations: 0.8669 MB / 4.17 GB, free: 67.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/12.87, allocations: 3.004 MB / 4.172 GB, free: 63.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/12.87, allocations: 1.402 MB / 4.174 GB, free: 62.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003522/12.87, allocations: 0.4918 MB / 4.174 GB, free: 62.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/12.87, allocations: 0.6086 MB / 4.175 GB, free: 61.41 MB / 0.8855 GB Notification: Performance of SimCode: time 1.162e-06/12.87, allocations: 0 / 4.175 GB, free: 61.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9524/13.83, allocations: 91.95 MB / 4.265 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/13.83, allocations: 225.2 kB / 4.265 GB, free: 166.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/20.77, allocations: 0 / 4.265 GB, free: 166.5 MB / 0.9011 GB