Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008558/0.008558, allocations: 171.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7995/0.7995, allocations: 132.3 MB / 148.1 MB, free: 248 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.2 MB / 403.2 MB, free: 6.758 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009685/0.0009685, allocations: 98.77 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003885, allocations: 19.98 kB / 0.5641 GB, free: 2.098 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.52/0.5204, allocations: 81.56 MB / 0.6437 GB, free: 39.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.659, allocations: 363.5 MB / 0.9988 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/1.66, allocations: 93.02 kB / 0.9989 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.052/7.711, allocations: 1.539 GB / 2.538 GB, free: 92.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/7.712, allocations: 0 / 2.538 GB, free: 92.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003196/7.712, allocations: 58.86 kB / 2.538 GB, free: 92.45 MB / 0.698 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.006626/7.719, allocations: 2.176 MB / 2.54 GB, free: 90.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/7.719, allocations: 12.88 kB / 2.54 GB, free: 90.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003566/7.722, allocations: 0.605 MB / 2.541 GB, free: 90.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004874/7.727, allocations: 1.461 MB / 2.542 GB, free: 89.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/7.727, allocations: 81.88 kB / 2.542 GB, free: 89.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004802/7.728, allocations: 108.2 kB / 2.542 GB, free: 89.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003902/7.732, allocations: 1.383 MB / 2.543 GB, free: 88.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/7.732, allocations: 3.938 kB / 2.543 GB, free: 88.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/7.732, allocations: 39.47 kB / 2.544 GB, free: 88.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/7.732, allocations: 25.91 kB / 2.544 GB, free: 88.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/7.735, allocations: 1.253 MB / 2.545 GB, free: 88.13 MB / 0.698 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.009331/7.745, allocations: 6.626 MB / 2.551 GB, free: 82.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/7.747, allocations: 1.259 MB / 2.552 GB, free: 81.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/7.749, allocations: 2.259 MB / 2.555 GB, free: 79.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/7.75, allocations: 0.8381 MB / 2.555 GB, free: 78.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 2.886e-06/7.75, allocations: 0 / 2.555 GB, free: 78.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.00525/7.756, allocations: 2.463 MB / 2.558 GB, free: 76.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/7.756, allocations: 145.1 kB / 2.558 GB, free: 76.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/7.757, allocations: 1.062 MB / 2.559 GB, free: 75.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/7.757, allocations: 45.7 kB / 2.559 GB, free: 75.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000485/7.758, allocations: 0.7069 MB / 2.56 GB, free: 74.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/7.758, allocations: 316.3 kB / 2.56 GB, free: 74.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/7.758, allocations: 24 kB / 2.56 GB, free: 74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.306e-05/7.758, allocations: 341.9 kB / 2.56 GB, free: 73.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/7.76, allocations: 0.5858 MB / 2.561 GB, free: 73.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/7.761, allocations: 0.8755 MB / 2.562 GB, free: 72.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/7.763, allocations: 0.7131 MB / 2.563 GB, free: 71.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/7.763, allocations: 0 / 2.563 GB, free: 71.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003689/7.766, allocations: 1.851 MB / 2.564 GB, free: 69.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000404/7.767, allocations: 2.258 MB / 2.567 GB, free: 67.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/7.767, allocations: 4 kB / 2.567 GB, free: 67.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/7.767, allocations: 12 kB / 2.567 GB, free: 67.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/7.768, allocations: 298.3 kB / 2.567 GB, free: 66.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/7.768, allocations: 8 kB / 2.567 GB, free: 66.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/7.77, allocations: 246.8 kB / 2.567 GB, free: 66.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/7.77, allocations: 67.97 kB / 2.567 GB, free: 66.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/7.77, allocations: 8 kB / 2.567 GB, free: 66.41 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003329/7.773, allocations: 1.742 MB / 2.569 GB, free: 64.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/7.773, allocations: 11.61 kB / 2.569 GB, free: 64.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/7.773, allocations: 8 kB / 2.569 GB, free: 64.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/7.774, allocations: 291.9 kB / 2.569 GB, free: 64.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/7.774, allocations: 11.94 kB / 2.569 GB, free: 64.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/7.776, allocations: 245.2 kB / 2.569 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/7.776, allocations: 63.97 kB / 2.57 GB, free: 64.04 MB / 0.698 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.0007762/7.777, allocations: 0.4958 MB / 2.57 GB, free: 63.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/7.777, allocations: 158.1 kB / 2.57 GB, free: 63.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004338/7.782, allocations: 2.356 MB / 2.572 GB, free: 61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/7.782, allocations: 19.98 kB / 2.572 GB, free: 60.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/7.782, allocations: 0 / 2.572 GB, free: 60.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/7.782, allocations: 7.938 kB / 2.572 GB, free: 60.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006173/7.788, allocations: 3.678 MB / 2.576 GB, free: 57.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/7.788, allocations: 0 / 2.576 GB, free: 57.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/7.789, allocations: 233.6 kB / 2.576 GB, free: 56.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/7.789, allocations: 7.172 kB / 2.576 GB, free: 56.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.983e-05/7.789, allocations: 43.97 kB / 2.576 GB, free: 56.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/7.789, allocations: 7.562 kB / 2.576 GB, free: 56.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/7.789, allocations: 0 / 2.576 GB, free: 56.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/7.795, allocations: 3.203 MB / 2.579 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/7.796, allocations: 406.5 kB / 2.58 GB, free: 53.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/7.796, allocations: 31.98 kB / 2.58 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/7.798, allocations: 171.7 kB / 2.58 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/7.798, allocations: 72.91 kB / 2.58 GB, free: 52.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/7.798, allocations: 55.97 kB / 2.58 GB, free: 52.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001091/7.799, allocations: 0.8226 MB / 2.581 GB, free: 52.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/7.799, allocations: 0 / 2.581 GB, free: 52.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00256/7.802, allocations: 0.9198 MB / 2.582 GB, free: 51.17 MB / 0.698 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.001631/7.803, allocations: 0.9789 MB / 2.583 GB, free: 50.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005086/7.808, allocations: 2.78 MB / 2.586 GB, free: 47.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/7.808, allocations: 0 / 2.586 GB, free: 47.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/7.81, allocations: 1.068 MB / 2.587 GB, free: 46.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/7.813, allocations: 0.5939 MB / 2.587 GB, free: 45.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/7.819, allocations: 3.955 MB / 2.591 GB, free: 41.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/7.819, allocations: 1.31 MB / 2.592 GB, free: 40.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001685/7.821, allocations: 420.2 kB / 2.593 GB, free: 40.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/7.821, allocations: 139.4 kB / 2.593 GB, free: 40.02 MB / 0.698 GB Notification: Performance of SimCode: time 1.412e-06/7.821, allocations: 0 / 2.593 GB, free: 40.02 MB / 0.698 GB Notification: Performance of Templates: time 0.04692/7.868, allocations: 33.77 MB / 2.626 GB, free: 7.195 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)