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.39/1.39, allocations: 249.5 MB / 257 MB, free: 7.008 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.001034/0.001034, allocations: 187.1 kB / 316.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008571/0.0008571, allocations: 92.66 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.487e-05/2.489e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2269, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.29, allocations: 382.7 MB / 1.259 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.291, allocations: 90.81 kB / 1.259 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.493/4.784, allocations: 0.9016 GB / 2.161 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.154e-06/4.784, allocations: 2.344 kB / 2.161 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003274/4.784, allocations: 47.27 kB / 2.161 GB, free: 104.1 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.005909/4.79, allocations: 1.881 MB / 2.163 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/4.79, allocations: 12.03 kB / 2.163 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/4.794, allocations: 0.6107 MB / 2.163 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005253/4.799, allocations: 1.454 MB / 2.165 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/4.8, allocations: 36 kB / 2.165 GB, free: 100 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005107/4.8, allocations: 68 kB / 2.165 GB, free: 99.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002364/4.802, allocations: 0.8592 MB / 2.166 GB, free: 99.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/4.805, allocations: 1.044 MB / 2.167 GB, free: 97.99 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/4.805, allocations: 7.938 kB / 2.167 GB, free: 97.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/4.805, allocations: 4.344 kB / 2.167 GB, free: 97.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/4.805, allocations: 29.95 kB / 2.167 GB, free: 97.95 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.01002/4.815, allocations: 6.232 MB / 2.173 GB, free: 91.33 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/4.817, allocations: 0.9117 MB / 2.174 GB, free: 90.42 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007796/4.818, allocations: 0.4977 MB / 2.174 GB, free: 89.92 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002244/4.82, allocations: 2.262 MB / 2.176 GB, free: 87.17 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/4.821, allocations: 0.6561 MB / 2.177 GB, free: 86.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=100): time 6.793e-06/4.821, allocations: 0 / 2.177 GB, free: 86.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100): time 0.004725/4.826, allocations: 1.459 MB / 2.178 GB, free: 85.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/4.826, allocations: 144 kB / 2.178 GB, free: 84.85 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/4.829, allocations: 0.8985 MB / 2.179 GB, free: 83.94 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/4.829, allocations: 29.7 kB / 2.179 GB, free: 83.91 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006736/4.83, allocations: 0.6974 MB / 2.18 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/4.83, allocations: 318.6 kB / 2.18 GB, free: 82.89 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/4.83, allocations: 2.734 kB / 2.18 GB, free: 82.89 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000141/4.83, allocations: 348.7 kB / 2.181 GB, free: 82.54 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/4.831, allocations: 402.5 kB / 2.181 GB, free: 82.15 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/4.832, allocations: 0.6614 MB / 2.182 GB, free: 81.38 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/4.834, allocations: 0.6953 MB / 2.182 GB, free: 80.69 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/4.834, allocations: 8 kB / 2.182 GB, free: 80.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003394/4.837, allocations: 1.561 MB / 2.184 GB, free: 79.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005523/4.838, allocations: 1.716 MB / 2.186 GB, free: 77.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/4.838, allocations: 4 kB / 2.186 GB, free: 77.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.792e-05/4.838, allocations: 15.94 kB / 2.186 GB, free: 77.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/4.839, allocations: 275.6 kB / 2.186 GB, free: 76.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.216e-05/4.839, allocations: 19.97 kB / 2.186 GB, free: 76.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/4.841, allocations: 203 kB / 2.186 GB, free: 76.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/4.842, allocations: 63.97 kB / 2.186 GB, free: 76.65 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/4.842, allocations: 4 kB / 2.186 GB, free: 76.64 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003775/4.845, allocations: 1.437 MB / 2.188 GB, free: 75.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/4.845, allocations: 4 kB / 2.188 GB, free: 75.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/4.845, allocations: 8 kB / 2.188 GB, free: 75.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/4.847, allocations: 283.8 kB / 2.188 GB, free: 74.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/4.847, allocations: 11.94 kB / 2.188 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/4.849, allocations: 202.7 kB / 2.188 GB, free: 74.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/4.849, allocations: 67.92 kB / 2.188 GB, free: 74.64 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.0004828/4.849, allocations: 245.7 kB / 2.188 GB, free: 74.39 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003915/4.853, allocations: 1.498 MB / 2.19 GB, free: 72.88 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004894/4.854, allocations: 153.8 kB / 2.19 GB, free: 72.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/4.858, allocations: 2.059 MB / 2.192 GB, free: 70.66 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/4.858, allocations: 19.98 kB / 2.192 GB, free: 70.64 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/4.858, allocations: 3.953 kB / 2.192 GB, free: 70.64 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/4.858, allocations: 7.969 kB / 2.192 GB, free: 70.63 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007453/4.866, allocations: 3.278 MB / 2.195 GB, free: 67.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/4.866, allocations: 0 / 2.195 GB, free: 67.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/4.867, allocations: 231.9 kB / 2.195 GB, free: 67.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.571e-05/4.867, allocations: 4 kB / 2.195 GB, free: 67.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/4.867, allocations: 39.91 kB / 2.196 GB, free: 67.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/4.867, allocations: 7.984 kB / 2.196 GB, free: 67.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/4.867, allocations: 0 / 2.196 GB, free: 67.05 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00523/4.872, allocations: 2.746 MB / 2.198 GB, free: 64.24 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/4.874, allocations: 405.2 kB / 2.199 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/4.874, allocations: 12 kB / 2.199 GB, free: 63.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/4.876, allocations: 155.7 kB / 2.199 GB, free: 63.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/4.876, allocations: 77.2 kB / 2.199 GB, free: 63.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/4.876, allocations: 55.91 kB / 2.199 GB, free: 63.53 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009145/4.877, allocations: 0.6761 MB / 2.2 GB, free: 62.85 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/4.877, allocations: 4 kB / 2.2 GB, free: 62.85 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002768/4.88, allocations: 0.8884 MB / 2.2 GB, free: 61.96 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.005835/4.886, allocations: 4.39 MB / 2.205 GB, free: 57.63 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002605/4.888, allocations: 2.216 MB / 2.207 GB, free: 55.34 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/4.888, allocations: 0 / 2.207 GB, free: 55.34 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008579/4.889, allocations: 0.8857 MB / 2.208 GB, free: 54.41 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/4.892, allocations: 0.5372 MB / 2.208 GB, free: 53.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/4.898, allocations: 2.766 MB / 2.211 GB, free: 51.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/4.898, allocations: 1.312 MB / 2.212 GB, free: 49.77 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002086/4.9, allocations: 495.1 kB / 2.213 GB, free: 49.31 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/4.901, allocations: 0.6437 MB / 2.213 GB, free: 48.67 MB / 0.8698 GB Notification: Performance of SimCode: time 1.092e-06/4.901, allocations: 4 kB / 2.213 GB, free: 48.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08723/4.988, allocations: 45.68 MB / 2.258 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/4.989, allocations: 181 kB / 2.258 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.782/8.771, allocations: 0 / 2.258 GB, free: 3.492 MB / 0.8698 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)