Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.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.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 176.4 kB / 17.4 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 223.5 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009047/0.0009046, allocations: 93.55 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6151/0.6151, allocations: 48.78 MB / 368.9 MB, free: 47.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004173, allocations: 16 kB / 439.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1635, allocations: 60.24 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.324/7.488, allocations: 2.909 GB / 3.397 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/7.488, allocations: 88.02 kB / 3.397 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.93/8.418, allocations: 305.8 MB / 3.696 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.114e-06/8.418, allocations: 0 / 3.696 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.196e-05/8.418, allocations: 8 kB / 3.696 GB, free: 14.14 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00636/8.425, allocations: 1.442 MB / 3.697 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/8.425, allocations: 8.031 kB / 3.697 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/8.425, allocations: 52.55 kB / 3.697 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/8.425, allocations: 276.7 kB / 3.698 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/8.425, allocations: 24.88 kB / 3.698 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/8.426, allocations: 36.27 kB / 3.698 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/8.426, allocations: 371.9 kB / 3.698 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/8.426, allocations: 4.125 kB / 3.698 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/8.426, allocations: 15.94 kB / 3.698 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/8.426, allocations: 8 kB / 3.698 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/8.427, allocations: 221.5 kB / 3.698 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/8.428, allocations: 1.695 MB / 3.7 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/8.429, allocations: 118.4 kB / 3.7 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/8.429, allocations: 52.83 kB / 3.7 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.407/8.836, allocations: 63.72 MB / 3.762 GB, free: 34.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/8.836, allocations: 33.59 kB / 3.762 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/8.836, allocations: 0 / 3.762 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0009795/8.837, allocations: 270.6 kB / 3.763 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/8.837, allocations: 57 kB / 3.763 GB, free: 34.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/8.837, allocations: 281.9 kB / 3.763 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/8.837, allocations: 29.58 kB / 3.763 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/8.838, allocations: 183.5 kB / 3.763 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/8.838, allocations: 31.83 kB / 3.763 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-06/8.838, allocations: 2 kB / 3.763 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.617e-05/8.838, allocations: 337.9 kB / 3.764 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/8.838, allocations: 49.31 kB / 3.764 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/8.838, allocations: 127.8 kB / 3.764 GB, free: 33.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/8.838, allocations: 197.3 kB / 3.764 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/8.838, allocations: 2.562 kB / 3.764 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003725/8.839, allocations: 223.8 kB / 3.764 GB, free: 33.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/8.839, allocations: 178.6 kB / 3.764 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/8.839, allocations: 2.781 kB / 3.764 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/8.839, allocations: 5.281 kB / 3.764 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/8.839, allocations: 48.03 kB / 3.764 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/8.839, allocations: 13.34 kB / 3.764 GB, free: 33.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/8.839, allocations: 35.16 kB / 3.764 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/8.839, allocations: 8.734 kB / 3.764 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/8.839, allocations: 6.969 kB / 3.764 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003329/8.84, allocations: 166.4 kB / 3.765 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/8.84, allocations: 3.094 kB / 3.765 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.07e-06/8.84, allocations: 5.062 kB / 3.765 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/8.84, allocations: 52.83 kB / 3.765 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/8.84, allocations: 5.562 kB / 3.765 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/8.84, allocations: 32.53 kB / 3.765 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/8.84, allocations: 11.81 kB / 3.765 GB, free: 33.29 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 (steamTurbineStodola.steamState_in.phase,steamTurbineStodola.steamState_iso.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001362/8.84, allocations: 221.4 kB / 3.765 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/8.84, allocations: 28.42 kB / 3.765 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/8.841, allocations: 312.3 kB / 3.765 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/8.841, allocations: 1.312 kB / 3.765 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/8.841, allocations: 1.375 kB / 3.765 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/8.841, allocations: 4.438 kB / 3.765 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/8.841, allocations: 339 kB / 3.766 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/8.841, allocations: 0 / 3.766 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/8.841, allocations: 31.56 kB / 3.766 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/8.841, allocations: 4.938 kB / 3.766 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/8.841, allocations: 1.5 kB / 3.766 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/8.841, allocations: 0 / 3.766 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/8.841, allocations: 0 / 3.766 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/8.842, allocations: 303 kB / 3.766 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/8.842, allocations: 143.6 kB / 3.766 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/8.842, allocations: 5.688 kB / 3.766 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/8.842, allocations: 25.77 kB / 3.766 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/8.842, allocations: 11.27 kB / 3.766 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/8.842, allocations: 8.75 kB / 3.766 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002746/8.842, allocations: 304 kB / 3.766 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/8.842, allocations: 0 / 3.766 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006211/8.849, allocations: 1.313 MB / 3.768 GB, free: 32.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0101/8.859, allocations: 1.689 MB / 3.769 GB, free: 32.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006804/8.859, allocations: 210 kB / 3.769 GB, free: 32.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/8.86, allocations: 384 / 3.769 GB, free: 32.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/8.86, allocations: 46.61 kB / 3.77 GB, free: 32.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/8.861, allocations: 125.2 kB / 3.77 GB, free: 32.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/8.862, allocations: 0.7063 MB / 3.77 GB, free: 31.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/8.862, allocations: 0.7722 MB / 3.771 GB, free: 31.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003628/8.863, allocations: 122.9 kB / 3.771 GB, free: 31.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/8.863, allocations: 23.97 kB / 3.771 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/8.863, allocations: 0 / 3.771 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.05221/8.915, allocations: 36.12 MB / 3.807 GB, free: 29.34 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1)