Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.6 MB / 307.5 MB, free: 5.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, allocations: 189 kB / 377.1 MB, free: 1.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.4 MB / 0.6366 GB, free: 8.609 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009572/0.0009572, allocations: 92.08 kB / 0.7509 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2861, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.661/1.947, allocations: 391.2 MB / 1.37 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/1.948, allocations: 89 kB / 1.371 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.659/7.607, allocations: 1.511 GB / 2.881 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.535e-06/7.607, allocations: 2.656 kB / 2.881 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003124/7.607, allocations: 51.33 kB / 2.881 GB, free: 124.6 MB / 0.9636 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.007889/7.615, allocations: 2.221 MB / 2.883 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/7.615, allocations: 9.062 kB / 2.883 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006398/7.616, allocations: 156.1 kB / 2.884 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00366/7.619, allocations: 0.6054 MB / 2.884 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006204/7.626, allocations: 1.492 MB / 2.886 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/7.626, allocations: 80.53 kB / 2.886 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006354/7.626, allocations: 117.1 kB / 2.886 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003912/7.63, allocations: 1.371 MB / 2.887 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.688e-05/7.63, allocations: 7.094 kB / 2.887 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/7.631, allocations: 50.47 kB / 2.887 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/7.631, allocations: 22.97 kB / 2.887 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003524/7.634, allocations: 1.243 MB / 2.888 GB, free: 123.1 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009291/7.644, allocations: 6.66 MB / 2.895 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/7.646, allocations: 1.251 MB / 2.896 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/7.648, allocations: 2.263 MB / 2.898 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/7.649, allocations: 0.8456 MB / 2.899 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=97): time 3.517e-06/7.649, allocations: 0 / 2.899 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=97): time 0.005211/7.655, allocations: 2.462 MB / 2.902 GB, free: 116 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/7.655, allocations: 149.5 kB / 2.902 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/7.656, allocations: 1.068 MB / 2.903 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/7.657, allocations: 47.61 kB / 2.903 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/7.657, allocations: 0.7066 MB / 2.903 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/7.657, allocations: 323.1 kB / 2.904 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/7.657, allocations: 20.91 kB / 2.904 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.259e-05/7.658, allocations: 346.5 kB / 2.904 GB, free: 115 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/7.659, allocations: 0.5823 MB / 2.905 GB, free: 115 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/7.66, allocations: 0.8964 MB / 2.906 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/7.662, allocations: 0.7223 MB / 2.906 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/7.662, allocations: 7.031 kB / 2.906 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004066/7.666, allocations: 1.844 MB / 2.908 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006057/7.667, allocations: 2.255 MB / 2.91 GB, free: 112 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/7.667, allocations: 3.312 kB / 2.91 GB, free: 112 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/7.667, allocations: 12.81 kB / 2.91 GB, free: 112 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/7.668, allocations: 294.2 kB / 2.911 GB, free: 112 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/7.668, allocations: 13.94 kB / 2.911 GB, free: 112 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/7.67, allocations: 249.8 kB / 2.911 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/7.67, allocations: 66.55 kB / 2.911 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/7.67, allocations: 3.688 kB / 2.911 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003783/7.674, allocations: 1.748 MB / 2.913 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/7.674, allocations: 3.281 kB / 2.913 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/7.674, allocations: 16.03 kB / 2.913 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/7.675, allocations: 290.4 kB / 2.913 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/7.675, allocations: 15.2 kB / 2.913 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/7.677, allocations: 239.7 kB / 2.913 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/7.678, allocations: 60.61 kB / 2.913 GB, free: 111.8 MB / 0.9636 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 () * Number of clocked 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.00169/7.679, allocations: 0.507 MB / 2.914 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006493/7.68, allocations: 161.8 kB / 2.914 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006035/7.686, allocations: 2.344 MB / 2.916 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/7.686, allocations: 18.64 kB / 2.916 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/7.686, allocations: 10.67 kB / 2.916 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/7.686, allocations: 11.06 kB / 2.916 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0078/7.694, allocations: 3.678 MB / 2.92 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/7.694, allocations: 0 / 2.92 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/7.695, allocations: 232 kB / 2.92 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/7.695, allocations: 7.344 kB / 2.92 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/7.695, allocations: 43.06 kB / 2.92 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/7.695, allocations: 4.078 kB / 2.92 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/7.695, allocations: 7.594 kB / 2.92 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006937/7.702, allocations: 3.211 MB / 2.923 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/7.704, allocations: 407.3 kB / 2.924 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/7.704, allocations: 27.34 kB / 2.924 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/7.705, allocations: 171.8 kB / 2.924 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/7.705, allocations: 75.3 kB / 2.924 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/7.705, allocations: 51.86 kB / 2.924 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001611/7.707, allocations: 0.8317 MB / 2.925 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.4e-07/7.707, allocations: 0 / 2.925 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003226/7.71, allocations: 0.9267 MB / 2.926 GB, free: 109.7 MB / 0.9636 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) * Number of clocked states: 0 () * 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.009419/7.72, allocations: 4.852 MB / 2.93 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006268/7.726, allocations: 2.772 MB / 2.933 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/7.726, allocations: 3.188 kB / 2.933 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/7.728, allocations: 1.07 MB / 2.934 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004012/7.732, allocations: 0.62 MB / 2.935 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/7.756, allocations: 14.11 MB / 2.948 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/7.757, allocations: 1.322 MB / 2.95 GB, free: 99.88 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002681/7.76, allocations: 422.1 kB / 2.95 GB, free: 99.86 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/7.761, allocations: 0.6593 MB / 2.951 GB, free: 99.86 MB / 0.9636 GB Notification: Performance of SimCode: time 9.62e-07/7.761, allocations: 3 kB / 2.951 GB, free: 99.86 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08946/7.85, allocations: 51.07 MB / 3.001 GB, free: 97.25 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/7.851, allocations: 233.2 kB / 3.001 GB, free: 97.01 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.389/12.24, allocations: 0 / 3.001 GB, free: 97.01 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)