Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 249.3 MB / 261.8 MB, free: 5.793 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.001173/0.001173, allocations: 162.4 kB / 321.3 MB, free: 14.66 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.778/1.778, allocations: 205.1 MB / 0.572 GB, free: 10.64 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.0008386/0.0008386, allocations: 82.55 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.505e-05/4.524e-05, allocations: 7.984 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2966, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.433, allocations: 382.4 MB / 1.265 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/1.433, allocations: 85.53 kB / 1.265 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.05/5.484, allocations: 0.9062 GB / 2.172 GB, free: 89.72 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/5.484, allocations: 0 / 2.172 GB, free: 89.72 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001627/5.484, allocations: 54.98 kB / 2.172 GB, free: 89.67 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.004432/5.488, allocations: 1.874 MB / 2.173 GB, free: 87.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/5.488, allocations: 12.03 kB / 2.173 GB, free: 87.71 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000221/5.489, allocations: 164.5 kB / 2.174 GB, free: 87.55 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/5.492, allocations: 0.6064 MB / 2.174 GB, free: 86.94 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/5.495, allocations: 1.461 MB / 2.176 GB, free: 85.42 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/5.495, allocations: 89.94 kB / 2.176 GB, free: 85.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/5.496, allocations: 108 kB / 2.176 GB, free: 85.23 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/5.498, allocations: 1.184 MB / 2.177 GB, free: 83.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/5.498, allocations: 4 kB / 2.177 GB, free: 83.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/5.498, allocations: 39.73 kB / 2.177 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/5.498, allocations: 31.95 kB / 2.177 GB, free: 83.91 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/5.499, allocations: 0.9254 MB / 2.178 GB, free: 82.99 MB / 0.8698 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.007981/5.507, allocations: 6.435 MB / 2.184 GB, free: 76.06 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/5.509, allocations: 0.9449 MB / 2.185 GB, free: 75.11 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000682/5.509, allocations: 0.5258 MB / 2.186 GB, free: 74.59 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/5.511, allocations: 2.265 MB / 2.188 GB, free: 71.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009569/5.512, allocations: 0.6831 MB / 2.189 GB, free: 71.11 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=100): time 5.651e-06/5.512, allocations: 0 / 2.189 GB, free: 71.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100): time 0.002457/5.515, allocations: 1.334 MB / 2.19 GB, free: 69.75 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/5.515, allocations: 141.3 kB / 2.19 GB, free: 69.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/5.516, allocations: 1.034 MB / 2.191 GB, free: 68.54 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/5.516, allocations: 45.7 kB / 2.191 GB, free: 68.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/5.517, allocations: 0.6981 MB / 2.192 GB, free: 67.78 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/5.517, allocations: 326.3 kB / 2.192 GB, free: 67.46 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/5.517, allocations: 23.94 kB / 2.192 GB, free: 67.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001247/5.517, allocations: 341.9 kB / 2.192 GB, free: 67.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/5.518, allocations: 425.9 kB / 2.193 GB, free: 66.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008055/5.519, allocations: 0.6805 MB / 2.193 GB, free: 65.89 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007583/5.52, allocations: 0.5503 MB / 2.194 GB, free: 65.33 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/5.52, allocations: 0 / 2.194 GB, free: 65.33 MB / 0.8698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002196/5.522, allocations: 1.479 MB / 2.195 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006862/5.523, allocations: 1.708 MB / 2.197 GB, free: 61.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/5.523, allocations: 8 kB / 2.197 GB, free: 61.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/5.523, allocations: 8 kB / 2.197 GB, free: 61.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/5.524, allocations: 283.6 kB / 2.197 GB, free: 61.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/5.524, allocations: 8 kB / 2.197 GB, free: 61.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/5.526, allocations: 234.9 kB / 2.198 GB, free: 61.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/5.526, allocations: 59.97 kB / 2.198 GB, free: 61.36 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/5.526, allocations: 4 kB / 2.198 GB, free: 61.35 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002009/5.528, allocations: 1.374 MB / 2.199 GB, free: 59.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/5.528, allocations: 4 kB / 2.199 GB, free: 59.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/5.528, allocations: 11.69 kB / 2.199 GB, free: 59.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/5.529, allocations: 288.1 kB / 2.199 GB, free: 59.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/5.529, allocations: 15.89 kB / 2.199 GB, free: 59.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/5.531, allocations: 234.5 kB / 2.2 GB, free: 59.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/5.531, allocations: 59.97 kB / 2.2 GB, free: 59.37 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (111): * Single equations (assignments): 108 * 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.000447/5.531, allocations: 278.3 kB / 2.2 GB, free: 59.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/5.532, allocations: 162 kB / 2.2 GB, free: 58.91 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/5.535, allocations: 2.032 MB / 2.202 GB, free: 56.85 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/5.535, allocations: 19.98 kB / 2.202 GB, free: 56.83 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/5.535, allocations: 3.953 kB / 2.202 GB, free: 56.83 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/5.535, allocations: 3.984 kB / 2.202 GB, free: 56.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005397/5.54, allocations: 3.4 MB / 2.205 GB, free: 53.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/5.541, allocations: 0 / 2.205 GB, free: 53.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/5.542, allocations: 227.9 kB / 2.206 GB, free: 53.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/5.542, allocations: 8 kB / 2.206 GB, free: 53.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.579e-05/5.542, allocations: 43.97 kB / 2.206 GB, free: 53.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/5.542, allocations: 4 kB / 2.206 GB, free: 53.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/5.542, allocations: 4 kB / 2.206 GB, free: 53.04 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/5.545, allocations: 2.741 MB / 2.208 GB, free: 50.22 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009344/5.546, allocations: 406.6 kB / 2.209 GB, free: 49.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/5.547, allocations: 28 kB / 2.209 GB, free: 49.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/5.548, allocations: 175.7 kB / 2.209 GB, free: 49.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/5.548, allocations: 76.89 kB / 2.209 GB, free: 49.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/5.548, allocations: 63.91 kB / 2.209 GB, free: 49.46 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001192/5.549, allocations: 0.7941 MB / 2.21 GB, free: 48.67 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/5.549, allocations: 0 / 2.21 GB, free: 48.67 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003227/5.552, allocations: 0.9196 MB / 2.211 GB, free: 47.75 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.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 (104): * Single equations (assignments): 82 * 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.006078/5.559, allocations: 4.373 MB / 2.215 GB, free: 43.36 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003193/5.562, allocations: 2.305 MB / 2.217 GB, free: 40.98 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/5.562, allocations: 4.062 kB / 2.217 GB, free: 40.98 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009779/5.563, allocations: 0.918 MB / 2.218 GB, free: 40.02 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/5.566, allocations: 0.6217 MB / 2.219 GB, free: 39.42 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/5.572, allocations: 2.873 MB / 2.222 GB, free: 36.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/5.573, allocations: 1.309 MB / 2.223 GB, free: 35.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002187/5.575, allocations: 0.4967 MB / 2.223 GB, free: 34.71 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007798/5.576, allocations: 0.6359 MB / 2.224 GB, free: 34.08 MB / 0.8698 GB Notification: Performance of SimCode: time 1.413e-06/5.576, allocations: 3.938 kB / 2.224 GB, free: 34.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7949/6.371, allocations: 54.14 MB / 2.277 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/6.371, allocations: 206.4 kB / 2.277 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.343/10.71, allocations: 0 / 2.277 GB, free: 136.5 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)