Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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) Running command: translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 178 kB / 8.352 MB, free: 0.7031 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 85.03 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5981/0.5981, allocations: 48.77 MB / 358.8 MB, free: 53.18 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.35e-05, allocations: 7.938 kB / 425.3 MB, free: 8.238 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.204, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.802/9.006, allocations: 2.912 GB / 3.386 GB, free: 135.6 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/9.006, allocations: 81.66 kB / 3.386 GB, free: 135.6 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.234/10.24, allocations: 353.5 MB / 3.732 GB, free: 23.16 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.525e-06/10.24, allocations: 3.906 kB / 3.732 GB, free: 23.16 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 4.07e-05/10.24, allocations: 8 kB / 3.732 GB, free: 23.15 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005789/10.25, allocations: 1.259 MB / 3.733 GB, free: 21.84 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/10.25, allocations: 8.031 kB / 3.733 GB, free: 21.83 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/10.25, allocations: 152.3 kB / 3.733 GB, free: 21.68 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/10.25, allocations: 384.5 kB / 3.733 GB, free: 21.28 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/10.25, allocations: 15.91 kB / 3.733 GB, free: 21.27 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/10.25, allocations: 20.34 kB / 3.733 GB, free: 21.25 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004042/10.25, allocations: 249.4 kB / 3.734 GB, free: 21 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/10.25, allocations: 455.7 kB / 3.734 GB, free: 20.5 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/10.25, allocations: 0 / 3.734 GB, free: 20.5 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/10.25, allocations: 4 kB / 3.734 GB, free: 20.49 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/10.25, allocations: 11.94 kB / 3.734 GB, free: 20.48 MB / 0.5108 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.002027/10.25, allocations: 2.472 MB / 3.737 GB, free: 17.8 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/10.25, allocations: 234.8 kB / 3.737 GB, free: 17.56 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/10.25, allocations: 153 kB / 3.737 GB, free: 17.41 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6757/10.93, allocations: 93.9 MB / 3.829 GB, free: 27.15 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008316/10.93, allocations: 263.3 kB / 3.829 GB, free: 27.04 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=32): time 5.02e-06/10.93, allocations: 0 / 3.829 GB, free: 27.04 MB / 0.5265 GB Notification: Performance of matching and sorting (n=36): time 0.004622/10.93, allocations: 1.396 MB / 3.83 GB, free: 26.7 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/10.93, allocations: 146 kB / 3.83 GB, free: 26.54 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/10.93, allocations: 288.7 kB / 3.831 GB, free: 26.45 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/10.93, allocations: 29.58 kB / 3.831 GB, free: 26.41 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/10.93, allocations: 244.4 kB / 3.831 GB, free: 26.3 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 9.814e-05/10.93, allocations: 108.1 kB / 3.831 GB, free: 26.24 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/10.93, allocations: 1.531 kB / 3.831 GB, free: 26.24 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001773/10.93, allocations: 348.7 kB / 3.831 GB, free: 25.93 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/10.93, allocations: 133.6 kB / 3.831 GB, free: 25.93 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/10.93, allocations: 222.8 kB / 3.832 GB, free: 25.85 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/10.93, allocations: 185.2 kB / 3.832 GB, free: 25.84 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/10.93, allocations: 2.75 kB / 3.832 GB, free: 25.84 MB / 0.5265 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001179/10.94, allocations: 0.6001 MB / 3.832 GB, free: 25.77 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 6.254e-05/10.94, allocations: 65.77 kB / 3.832 GB, free: 25.71 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/10.94, allocations: 7.938 kB / 3.832 GB, free: 25.7 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/10.94, allocations: 82.92 kB / 3.833 GB, free: 25.69 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/10.94, allocations: 56.39 kB / 3.833 GB, free: 25.69 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/10.94, allocations: 1.178 MB / 3.834 GB, free: 24.64 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/10.94, allocations: 28.17 kB / 3.834 GB, free: 24.64 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/10.94, allocations: 21.25 kB / 3.834 GB, free: 24.64 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,$PRE.steamFlowRate.nextEvent,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled,tank.liquidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002121/10.94, allocations: 192.1 kB / 3.834 GB, free: 24.46 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/10.94, allocations: 44.19 kB / 3.834 GB, free: 24.45 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/10.94, allocations: 1.618 MB / 3.836 GB, free: 24.25 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/10.94, allocations: 21.69 kB / 3.836 GB, free: 24.25 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/10.94, allocations: 0 / 3.836 GB, free: 24.25 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/10.94, allocations: 4.734 kB / 3.836 GB, free: 24.25 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008336/10.94, allocations: 0.6617 MB / 3.836 GB, free: 24.08 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/10.94, allocations: 1.562 kB / 3.836 GB, free: 24.08 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/10.94, allocations: 44.42 kB / 3.836 GB, free: 24.07 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006123/10.94, allocations: 415.6 kB / 3.837 GB, free: 24.04 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/10.94, allocations: 18.59 kB / 3.837 GB, free: 24.04 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/10.94, allocations: 1.391 MB / 3.838 GB, free: 22.99 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/10.94, allocations: 0 / 3.838 GB, free: 22.99 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/10.95, allocations: 1.766 MB / 3.84 GB, free: 22.8 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/10.95, allocations: 186.9 kB / 3.84 GB, free: 22.67 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/10.95, allocations: 10.88 kB / 3.84 GB, free: 22.67 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/10.95, allocations: 25.78 kB / 3.84 GB, free: 22.66 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/10.95, allocations: 24.98 kB / 3.84 GB, free: 22.66 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/10.95, allocations: 26.27 kB / 3.84 GB, free: 22.66 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0002825/10.95, allocations: 219.2 kB / 3.84 GB, free: 22.58 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.41e-07/10.95, allocations: 0.5625 kB / 3.84 GB, free: 22.58 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.007155/10.95, allocations: 1.123 MB / 3.841 GB, free: 22.58 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007428/10.96, allocations: 1.849 MB / 3.843 GB, free: 22.4 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001168/10.96, allocations: 0.7053 MB / 3.844 GB, free: 22.26 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/10.96, allocations: 4 kB / 3.844 GB, free: 22.26 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0006371/10.96, allocations: 0.5769 MB / 3.844 GB, free: 22.13 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008374/10.97, allocations: 128.8 kB / 3.845 GB, free: 22.12 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/10.97, allocations: 1.12 MB / 3.846 GB, free: 21.77 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/10.97, allocations: 0.9222 MB / 3.847 GB, free: 21.06 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.0002188/10.97, allocations: 87.19 kB / 3.847 GB, free: 21.05 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/10.97, allocations: 38.06 kB / 3.847 GB, free: 21.04 MB / 0.5265 GB Notification: Performance of SimCode: time 2.4e-07/10.97, allocations: 0 / 3.847 GB, free: 21.04 MB / 0.5265 GB Notification: Performance of Templates: time 0.04331/11.01, allocations: 30.32 MB / 3.876 GB, free: 19.11 MB / 0.5265 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1)