Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",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.318/2.318, allocations: 248.5 MB / 261.1 MB, free: 5.953 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.001429/0.001429, allocations: 186.7 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 1.978/1.978, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001144/0.001144, allocations: 103.4 kB / 0.6754 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.352e-05/4.365e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2104, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.217/1.428, allocations: 382.4 MB / 1.264 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/1.428, allocations: 90.48 kB / 1.264 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.059/9.487, allocations: 1.46 GB / 2.724 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.374e-06/9.487, allocations: 0 / 2.724 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003203/9.488, allocations: 53.61 kB / 2.724 GB, free: 138.9 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.007452/9.495, allocations: 1.886 MB / 2.726 GB, free: 138 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.337e-05/9.495, allocations: 11.22 kB / 2.726 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005342/9.496, allocations: 157.3 kB / 2.726 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/9.502, allocations: 0.6088 MB / 2.727 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006325/9.508, allocations: 1.481 MB / 2.728 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/9.508, allocations: 80.06 kB / 2.729 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/9.508, allocations: 111.2 kB / 2.729 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/9.511, allocations: 1.196 MB / 2.73 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/9.511, allocations: 5.125 kB / 2.73 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/9.512, allocations: 42.69 kB / 2.73 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/9.512, allocations: 27.41 kB / 2.73 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/9.514, allocations: 0.8981 MB / 2.731 GB, free: 137.3 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.01269/9.527, allocations: 6.673 MB / 2.737 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/9.529, allocations: 0.931 MB / 2.738 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/9.531, allocations: 0.5137 MB / 2.739 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/9.533, allocations: 2.259 MB / 2.741 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/9.534, allocations: 0.671 MB / 2.742 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=97): time 4.929e-06/9.534, allocations: 0 / 2.742 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97): time 0.003673/9.538, allocations: 1.316 MB / 2.743 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/9.538, allocations: 141 kB / 2.743 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/9.54, allocations: 1.052 MB / 2.744 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003521/9.541, allocations: 44.39 kB / 2.744 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000734/9.542, allocations: 0.7114 MB / 2.745 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005453/9.542, allocations: 326.2 kB / 2.745 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/9.542, allocations: 18.03 kB / 2.745 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001398/9.542, allocations: 352.1 kB / 2.745 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/9.544, allocations: 420.7 kB / 2.746 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/9.545, allocations: 0.7261 MB / 2.747 GB, free: 129 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/9.546, allocations: 0.5514 MB / 2.747 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/9.546, allocations: 3.719 kB / 2.747 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004404/9.551, allocations: 1.505 MB / 2.749 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005825/9.551, allocations: 2.252 MB / 2.751 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/9.551, allocations: 10.77 kB / 2.751 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.261e-05/9.552, allocations: 11.28 kB / 2.751 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/9.554, allocations: 290.7 kB / 2.751 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/9.554, allocations: 18.28 kB / 2.751 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/9.557, allocations: 248 kB / 2.751 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000432/9.558, allocations: 68.7 kB / 2.751 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/9.558, allocations: 3.938 kB / 2.751 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003626/9.562, allocations: 1.402 MB / 2.753 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/9.562, allocations: 6.5 kB / 2.753 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/9.562, allocations: 13.67 kB / 2.753 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/9.564, allocations: 289.6 kB / 2.753 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/9.564, allocations: 17.44 kB / 2.753 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/9.567, allocations: 240 kB / 2.753 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003398/9.568, allocations: 61.53 kB / 2.753 GB, free: 126.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * 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.0005002/9.568, allocations: 283 kB / 2.754 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005245/9.569, allocations: 163.8 kB / 2.754 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005584/9.574, allocations: 2.018 MB / 2.756 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.233e-05/9.574, allocations: 18.73 kB / 2.756 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/9.574, allocations: 0 / 2.756 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/9.574, allocations: 3.891 kB / 2.756 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008635/9.583, allocations: 3.334 MB / 2.759 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/9.583, allocations: 4.875 kB / 2.759 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/9.585, allocations: 231.7 kB / 2.759 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/9.585, allocations: 3.938 kB / 2.759 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002449/9.586, allocations: 47.7 kB / 2.759 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/9.586, allocations: 5.406 kB / 2.759 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/9.586, allocations: 0 / 2.759 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006092/9.592, allocations: 2.7 MB / 2.762 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/9.593, allocations: 402.7 kB / 2.762 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004207/9.594, allocations: 25.44 kB / 2.762 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/9.596, allocations: 180.1 kB / 2.763 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/9.596, allocations: 69.41 kB / 2.763 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/9.597, allocations: 60.61 kB / 2.763 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001644/9.598, allocations: 0.7999 MB / 2.763 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.12e-07/9.598, allocations: 1.594 kB / 2.763 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00416/9.603, allocations: 0.9254 MB / 2.764 GB, free: 124.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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 Backend phase and start with SimCode phase: time 0.008452/9.611, allocations: 4.339 MB / 2.769 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005314/9.616, allocations: 2.317 MB / 2.771 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/9.616, allocations: 0 / 2.771 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/9.618, allocations: 0.9043 MB / 2.772 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005818/9.624, allocations: 0.6206 MB / 2.772 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/9.635, allocations: 3.089 MB / 2.775 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009473/9.636, allocations: 1.319 MB / 2.777 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003683/9.64, allocations: 498.2 kB / 2.777 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/9.641, allocations: 0.6435 MB / 2.778 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.292e-06/9.641, allocations: 0 / 2.778 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1401/9.781, allocations: 54.42 MB / 2.831 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/9.782, allocations: 211.4 kB / 2.831 GB, free: 107 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.037/14.82, allocations: 0 / 2.831 GB, free: 107 MB / 0.8855 GB