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.227/2.227, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.00145/0.00145, allocations: 186.4 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.092/2.092, allocations: 205.3 MB / 0.5662 GB, free: 0.5898 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.001065/0.001065, allocations: 102.1 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.249e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2194, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.437, allocations: 382.7 MB / 1.258 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/1.437, allocations: 91.25 kB / 1.258 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.976/9.414, allocations: 1.453 GB / 2.711 GB, free: 143 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/9.414, allocations: 0 / 2.711 GB, free: 143 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002581/9.414, allocations: 51.44 kB / 2.711 GB, free: 143 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.005241/9.419, allocations: 1.894 MB / 2.713 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/9.419, allocations: 14.53 kB / 2.713 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005593/9.425, allocations: 0.602 MB / 2.714 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006006/9.431, allocations: 1.475 MB / 2.715 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/9.431, allocations: 34.88 kB / 2.715 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/9.431, allocations: 69.02 kB / 2.715 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002438/9.434, allocations: 0.8269 MB / 2.716 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/9.436, allocations: 1.058 MB / 2.717 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/9.436, allocations: 5.062 kB / 2.717 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/9.437, allocations: 7.969 kB / 2.717 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/9.437, allocations: 28.23 kB / 2.717 GB, free: 141.4 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.01239/9.449, allocations: 6.465 MB / 2.723 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/9.451, allocations: 0.8975 MB / 2.724 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/9.453, allocations: 498.5 kB / 2.725 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/9.455, allocations: 2.259 MB / 2.727 GB, free: 135 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001442/9.456, allocations: 0.6432 MB / 2.728 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=97): time 5.37e-06/9.456, allocations: 0 / 2.728 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97): time 0.005338/9.461, allocations: 1.409 MB / 2.729 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/9.462, allocations: 146.9 kB / 2.729 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/9.463, allocations: 0.9077 MB / 2.73 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/9.464, allocations: 29.58 kB / 2.73 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007215/9.464, allocations: 0.7127 MB / 2.731 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004371/9.465, allocations: 317 kB / 2.731 GB, free: 134 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.509e-05/9.465, allocations: 6.594 kB / 2.731 GB, free: 134 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/9.465, allocations: 348 kB / 2.731 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009533/9.466, allocations: 409 kB / 2.732 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/9.467, allocations: 0.6894 MB / 2.733 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/9.47, allocations: 0.6746 MB / 2.733 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/9.47, allocations: 2.969 kB / 2.733 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.005575/9.476, allocations: 1.561 MB / 2.735 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005363/9.477, allocations: 2.24 MB / 2.737 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/9.477, allocations: 7.266 kB / 2.737 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/9.477, allocations: 12.88 kB / 2.737 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/9.479, allocations: 290.2 kB / 2.737 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/9.479, allocations: 17.08 kB / 2.737 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/9.482, allocations: 222.9 kB / 2.737 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/9.482, allocations: 62.69 kB / 2.737 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/9.482, allocations: 3.938 kB / 2.737 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005125/9.488, allocations: 1.428 MB / 2.739 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/9.488, allocations: 3.594 kB / 2.739 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/9.488, allocations: 13.66 kB / 2.739 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/9.49, allocations: 290.9 kB / 2.739 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/9.49, allocations: 14.22 kB / 2.739 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/9.493, allocations: 211 kB / 2.739 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/9.493, allocations: 66.44 kB / 2.739 GB, free: 130.7 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.0004566/9.494, allocations: 247.8 kB / 2.74 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005237/9.499, allocations: 1.441 MB / 2.741 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/9.499, allocations: 152.5 kB / 2.741 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006819/9.506, allocations: 1.993 MB / 2.743 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/9.506, allocations: 23.03 kB / 2.743 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/9.506, allocations: 5.406 kB / 2.743 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/9.506, allocations: 6.922 kB / 2.743 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009579/9.516, allocations: 3.206 MB / 2.746 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/9.516, allocations: 0 / 2.746 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/9.518, allocations: 228 kB / 2.747 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/9.518, allocations: 3.969 kB / 2.747 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/9.518, allocations: 33.84 kB / 2.747 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/9.519, allocations: 7.906 kB / 2.747 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/9.519, allocations: 0 / 2.747 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007377/9.526, allocations: 2.68 MB / 2.749 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/9.527, allocations: 400.1 kB / 2.75 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003687/9.528, allocations: 11.25 kB / 2.75 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/9.53, allocations: 157.6 kB / 2.75 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/9.53, allocations: 80.98 kB / 2.75 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/9.531, allocations: 50.11 kB / 2.75 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001324/9.532, allocations: 0.6855 MB / 2.751 GB, free: 129 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.81e-07/9.532, allocations: 2.531 kB / 2.751 GB, free: 129 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004003/9.536, allocations: 0.8885 MB / 2.751 GB, free: 128.9 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.009525/9.545, allocations: 4.318 MB / 2.756 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004522/9.55, allocations: 2.212 MB / 2.758 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/9.55, allocations: 6.938 kB / 2.758 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/9.552, allocations: 0.8708 MB / 2.759 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004561/9.556, allocations: 0.5341 MB / 2.759 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00886/9.565, allocations: 2.988 MB / 2.762 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009036/9.566, allocations: 1.314 MB / 2.763 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003465/9.57, allocations: 483.4 kB / 2.764 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/9.571, allocations: 0.6484 MB / 2.764 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.483e-06/9.571, allocations: 2.344 kB / 2.764 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/9.705, allocations: 45.94 MB / 2.809 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/9.705, allocations: 194.2 kB / 2.81 GB, free: 120 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.823/14.53, allocations: 0 / 2.81 GB, free: 120 MB / 0.8855 GB