Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.217/2.217, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 180.9 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009032, allocations: 91.7 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.116e-05/2.117e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3635, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.463/1.827, allocations: 401.6 MB / 1.605 GB, free: 12.5 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.827, allocations: 88.61 kB / 1.605 GB, free: 12.46 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.992/5.819, allocations: 0.9473 GB / 2.552 GB, free: 77.15 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.225e-06/5.819, allocations: 0 / 2.552 GB, free: 77.15 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000304/5.819, allocations: 51.98 kB / 2.552 GB, free: 77.1 MB / 1.151 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.005307/5.824, allocations: 1.873 MB / 2.554 GB, free: 75.15 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/5.824, allocations: 8.031 kB / 2.554 GB, free: 75.14 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003505/5.828, allocations: 0.6027 MB / 2.554 GB, free: 74.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004417/5.832, allocations: 1.433 MB / 2.556 GB, free: 73.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/5.832, allocations: 36 kB / 2.556 GB, free: 73.02 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003745/5.833, allocations: 64 kB / 2.556 GB, free: 72.96 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001919/5.835, allocations: 0.8595 MB / 2.557 GB, free: 72.09 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/5.837, allocations: 1.051 MB / 2.558 GB, free: 70.98 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/5.837, allocations: 4 kB / 2.558 GB, free: 70.98 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.532e-05/5.837, allocations: 4 kB / 2.558 GB, free: 70.97 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/5.837, allocations: 28 kB / 2.558 GB, free: 70.95 MB / 1.151 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.008025/5.845, allocations: 6.21 MB / 2.564 GB, free: 64.24 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/5.846, allocations: 0.916 MB / 2.565 GB, free: 63.31 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/5.847, allocations: 0.5041 MB / 2.565 GB, free: 62.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/5.848, allocations: 2.264 MB / 2.567 GB, free: 60.04 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008108/5.849, allocations: 0.6483 MB / 2.568 GB, free: 59.36 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 5.761e-06/5.849, allocations: 4 kB / 2.568 GB, free: 59.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.00374/5.853, allocations: 1.459 MB / 2.57 GB, free: 57.89 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/5.853, allocations: 145.3 kB / 2.57 GB, free: 57.72 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/5.855, allocations: 0.8819 MB / 2.571 GB, free: 56.83 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/5.855, allocations: 33.64 kB / 2.571 GB, free: 56.79 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/5.855, allocations: 0.6971 MB / 2.571 GB, free: 56.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/5.856, allocations: 315.3 kB / 2.572 GB, free: 55.78 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/5.856, allocations: 0 / 2.572 GB, free: 55.78 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001194/5.856, allocations: 349.9 kB / 2.572 GB, free: 55.43 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005599/5.856, allocations: 402.5 kB / 2.572 GB, free: 55.04 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007427/5.857, allocations: 0.6384 MB / 2.573 GB, free: 54.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/5.859, allocations: 0.6887 MB / 2.574 GB, free: 53.61 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/5.859, allocations: 4 kB / 2.574 GB, free: 53.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003568/5.863, allocations: 1.566 MB / 2.575 GB, free: 52.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005594/5.863, allocations: 1.704 MB / 2.577 GB, free: 50.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/5.864, allocations: 7.938 kB / 2.577 GB, free: 50.22 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/5.864, allocations: 16 kB / 2.577 GB, free: 50.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/5.865, allocations: 275.6 kB / 2.577 GB, free: 49.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/5.865, allocations: 15.97 kB / 2.577 GB, free: 49.92 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/5.867, allocations: 211 kB / 2.577 GB, free: 49.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/5.867, allocations: 59.97 kB / 2.577 GB, free: 49.65 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/5.867, allocations: 4 kB / 2.577 GB, free: 49.65 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003012/5.87, allocations: 1.441 MB / 2.579 GB, free: 48.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/5.87, allocations: 7.938 kB / 2.579 GB, free: 48.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/5.87, allocations: 8 kB / 2.579 GB, free: 48.19 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/5.871, allocations: 288.1 kB / 2.579 GB, free: 47.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/5.871, allocations: 15.89 kB / 2.579 GB, free: 47.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/5.873, allocations: 195.2 kB / 2.579 GB, free: 47.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/5.873, allocations: 63.97 kB / 2.579 GB, free: 47.64 MB / 1.151 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.000322/5.873, allocations: 232.8 kB / 2.58 GB, free: 47.39 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003286/5.876, allocations: 1.498 MB / 2.581 GB, free: 45.88 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/5.876, allocations: 154.2 kB / 2.581 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/5.881, allocations: 2.059 MB / 2.583 GB, free: 43.66 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/5.881, allocations: 19.98 kB / 2.583 GB, free: 43.64 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/5.881, allocations: 0 / 2.583 GB, free: 43.64 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/5.881, allocations: 7.969 kB / 2.583 GB, free: 43.63 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/5.886, allocations: 3.28 MB / 2.586 GB, free: 40.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/5.886, allocations: 7.984 kB / 2.586 GB, free: 40.28 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/5.887, allocations: 227.9 kB / 2.587 GB, free: 40.06 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/5.887, allocations: 8 kB / 2.587 GB, free: 40.05 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/5.887, allocations: 31.97 kB / 2.587 GB, free: 40.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/5.887, allocations: 7.938 kB / 2.587 GB, free: 40.01 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/5.887, allocations: 4 kB / 2.587 GB, free: 40.01 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/5.892, allocations: 2.741 MB / 2.589 GB, free: 37.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/5.892, allocations: 402.6 kB / 2.59 GB, free: 36.79 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/5.893, allocations: 12 kB / 2.59 GB, free: 36.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/5.894, allocations: 159.6 kB / 2.59 GB, free: 36.62 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/5.894, allocations: 73.2 kB / 2.59 GB, free: 36.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/5.894, allocations: 67.95 kB / 2.59 GB, free: 36.48 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009105/5.895, allocations: 0.6638 MB / 2.591 GB, free: 35.82 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.895, allocations: 0 / 2.591 GB, free: 35.82 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002589/5.898, allocations: 0.8851 MB / 2.592 GB, free: 34.93 MB / 1.151 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.006249/5.904, allocations: 4.399 MB / 2.596 GB, free: 30.48 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00272/5.907, allocations: 2.205 MB / 2.598 GB, free: 28.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/5.907, allocations: 0 / 2.598 GB, free: 28.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008555/5.908, allocations: 0.8857 MB / 2.599 GB, free: 27.27 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/5.91, allocations: 0.5062 MB / 2.599 GB, free: 26.77 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/5.916, allocations: 2.761 MB / 2.602 GB, free: 23.94 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/5.917, allocations: 1.308 MB / 2.603 GB, free: 22.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001992/5.919, allocations: 482.5 kB / 2.604 GB, free: 22.12 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007614/5.919, allocations: 0.6397 MB / 2.604 GB, free: 21.48 MB / 1.151 GB Notification: Performance of SimCode: time 1.383e-06/5.919, allocations: 0 / 2.604 GB, free: 21.48 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9772/6.897, allocations: 44.95 MB / 2.648 GB, free: 191.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/6.897, allocations: 187 kB / 2.648 GB, free: 191.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.168/11.06, allocations: 4.656 kB / 2.648 GB, free: 191.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat does not exist to compare? outputFormat=mat