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: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.002114/0.002114, allocations: 193 kB / 377.1 MB, free: 1.504 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.74/1.74, allocations: 205.4 MB / 0.6367 GB, free: 9.523 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.001027/0.001027, allocations: 92.58 kB / 0.751 GB, free: 62.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 12 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2843, allocations: 116.3 MB / 0.9884 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.557/1.842, allocations: 391.2 MB / 1.37 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/1.842, allocations: 87.72 kB / 1.37 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.035/6.877, allocations: 1.511 GB / 2.881 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.753e-06/6.877, allocations: 0 / 2.881 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001817/6.878, allocations: 55.58 kB / 2.881 GB, free: 131.4 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.005573/6.883, allocations: 2.211 MB / 2.883 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/6.883, allocations: 8.594 kB / 2.883 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/6.887, allocations: 0.6099 MB / 2.884 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/6.891, allocations: 1.489 MB / 2.885 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-05/6.891, allocations: 82.53 kB / 2.885 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/6.891, allocations: 124.9 kB / 2.886 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/6.894, allocations: 1.372 MB / 2.887 GB, free: 130 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/6.894, allocations: 0 / 2.887 GB, free: 130 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/6.894, allocations: 45.81 kB / 2.887 GB, free: 130 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/6.894, allocations: 26.06 kB / 2.887 GB, free: 130 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/6.897, allocations: 1.242 MB / 2.888 GB, free: 130 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.008548/6.906, allocations: 6.67 MB / 2.895 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/6.909, allocations: 1.247 MB / 2.896 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/6.91, allocations: 2.261 MB / 2.898 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001955/6.912, allocations: 0.8465 MB / 2.899 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=97): time 4.147e-06/6.912, allocations: 0 / 2.899 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=97): time 0.005633/6.918, allocations: 2.474 MB / 2.901 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/6.918, allocations: 143.9 kB / 2.901 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/6.92, allocations: 1.068 MB / 2.903 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/6.92, allocations: 46.39 kB / 2.903 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007602/6.921, allocations: 0.7121 MB / 2.903 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/6.921, allocations: 323.1 kB / 2.904 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/6.921, allocations: 25.31 kB / 2.904 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001662/6.922, allocations: 348.4 kB / 2.904 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/6.923, allocations: 0.5775 MB / 2.904 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/6.926, allocations: 0.89 MB / 2.905 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/6.927, allocations: 0.7186 MB / 2.906 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/6.927, allocations: 1.25 kB / 2.906 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.005568/6.933, allocations: 1.851 MB / 2.908 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009493/6.934, allocations: 2.257 MB / 2.91 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/6.934, allocations: 3.312 kB / 2.91 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.221e-05/6.934, allocations: 10.03 kB / 2.91 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/6.936, allocations: 293.6 kB / 2.91 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-05/6.936, allocations: 14.17 kB / 2.91 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/6.939, allocations: 252.2 kB / 2.911 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/6.939, allocations: 62.08 kB / 2.911 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/6.939, allocations: 3.969 kB / 2.911 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004406/6.943, allocations: 1.752 MB / 2.912 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/6.943, allocations: 4.719 kB / 2.912 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/6.943, allocations: 10.22 kB / 2.912 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/6.945, allocations: 290.6 kB / 2.913 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/6.945, allocations: 16.48 kB / 2.913 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/6.947, allocations: 249.6 kB / 2.913 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/6.947, allocations: 64.3 kB / 2.913 GB, free: 118.6 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.001249/6.948, allocations: 0.4934 MB / 2.913 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005219/6.949, allocations: 165.1 kB / 2.914 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005475/6.954, allocations: 2.344 MB / 2.916 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-05/6.954, allocations: 17.67 kB / 2.916 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/6.954, allocations: 1.969 kB / 2.916 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/6.954, allocations: 8.547 kB / 2.916 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008657/6.963, allocations: 3.69 MB / 2.92 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/6.963, allocations: 2.594 kB / 2.92 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/6.964, allocations: 230.3 kB / 2.92 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/6.964, allocations: 5.5 kB / 2.92 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/6.964, allocations: 42.55 kB / 2.92 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/6.964, allocations: 5.656 kB / 2.92 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/6.964, allocations: 7.656 kB / 2.92 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007036/6.971, allocations: 3.205 MB / 2.923 GB, free: 117 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/6.973, allocations: 412.4 kB / 2.923 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/6.973, allocations: 30 kB / 2.923 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/6.975, allocations: 170.9 kB / 2.924 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/6.975, allocations: 72.53 kB / 2.924 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/6.975, allocations: 56.08 kB / 2.924 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001567/6.976, allocations: 0.8304 MB / 2.924 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.7e-07/6.976, allocations: 0 / 2.924 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003372/6.98, allocations: 0.9232 MB / 2.925 GB, free: 116.6 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.002172/6.982, allocations: 0.983 MB / 2.926 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006282/6.988, allocations: 2.772 MB / 2.929 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/6.988, allocations: 3.812 kB / 2.929 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/6.991, allocations: 1.07 MB / 2.93 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/6.994, allocations: 0.6173 MB / 2.931 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/7.001, allocations: 3.973 MB / 2.935 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/7.001, allocations: 1.316 MB / 2.936 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002176/7.004, allocations: 415.9 kB / 2.936 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/7.004, allocations: 145 kB / 2.936 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.222e-06/7.004, allocations: 0 / 2.936 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.05502/7.059, allocations: 34.41 MB / 2.97 GB, free: 111.4 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)