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.001163/0.001163, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009354/0.0009354, allocations: 90.7 kB / 267.5 MB, free: 14.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3886/0.3886, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.079e-05/4.082e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.191, allocations: 60.25 MB / 492.7 MB, free: 4.387 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.05/9.241, allocations: 2.908 GB / 3.39 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/9.241, allocations: 79.2 kB / 3.39 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.308/10.55, allocations: 315.5 MB / 3.698 GB, free: 75.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.735e-06/10.55, allocations: 1.906 kB / 3.698 GB, free: 75.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.188e-05/10.55, allocations: 6.828 kB / 3.698 GB, free: 75.39 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.006775/10.56, allocations: 1.409 MB / 3.699 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/10.56, allocations: 13.59 kB / 3.699 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/10.56, allocations: 50.2 kB / 3.699 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/10.56, allocations: 276.7 kB / 3.7 GB, free: 74.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/10.56, allocations: 16.31 kB / 3.7 GB, free: 74.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/10.56, allocations: 22.53 kB / 3.7 GB, free: 74.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/10.56, allocations: 370.6 kB / 3.7 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/10.56, allocations: 5.828 kB / 3.7 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/10.56, allocations: 13.5 kB / 3.7 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/10.56, allocations: 6.438 kB / 3.7 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006861/10.56, allocations: 195 kB / 3.7 GB, free: 74.42 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/10.56, allocations: 1.696 MB / 3.702 GB, free: 73.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/10.56, allocations: 118.8 kB / 3.702 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/10.56, allocations: 32.61 kB / 3.702 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1215/10.68, allocations: 63.98 MB / 3.764 GB, free: 34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/10.68, allocations: 33.56 kB / 3.764 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/10.68, allocations: 0 / 3.764 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0008019/10.68, allocations: 223.6 kB / 3.765 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/10.68, allocations: 51.41 kB / 3.765 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/10.68, allocations: 250.6 kB / 3.765 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/10.68, allocations: 27.11 kB / 3.765 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/10.68, allocations: 176.7 kB / 3.765 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/10.68, allocations: 37.45 kB / 3.765 GB, free: 33.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/10.68, allocations: 0 / 3.765 GB, free: 33.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.11e-05/10.68, allocations: 336.8 kB / 3.766 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.263e-05/10.68, allocations: 35 kB / 3.766 GB, free: 33.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.505e-05/10.68, allocations: 108.5 kB / 3.766 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.38e-05/10.68, allocations: 47.11 kB / 3.766 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/10.68, allocations: 3.969 kB / 3.766 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000295/10.68, allocations: 190.1 kB / 3.766 GB, free: 33.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/10.69, allocations: 1.134 MB / 3.767 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/10.69, allocations: 5.078 kB / 3.767 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/10.69, allocations: 7.656 kB / 3.767 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/10.69, allocations: 48.67 kB / 3.767 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/10.69, allocations: 6.906 kB / 3.767 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/10.69, allocations: 41.69 kB / 3.767 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/10.69, allocations: 10.62 kB / 3.767 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-06/10.69, allocations: 3.312 kB / 3.767 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002038/10.69, allocations: 129.8 kB / 3.767 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/10.69, allocations: 4.203 kB / 3.767 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/10.69, allocations: 11.12 kB / 3.767 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/10.69, allocations: 53.08 kB / 3.767 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/10.69, allocations: 4.984 kB / 3.767 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/10.69, allocations: 34.55 kB / 3.767 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/10.69, allocations: 12.16 kB / 3.767 GB, free: 31.91 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 () * 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 6.223e-05/10.69, allocations: 120.8 kB / 3.767 GB, free: 31.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/10.69, allocations: 24.66 kB / 3.767 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/10.69, allocations: 276.8 kB / 3.768 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/10.69, allocations: 7.906 kB / 3.768 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/10.69, allocations: 0 / 3.768 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/10.69, allocations: 0 / 3.768 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/10.69, allocations: 341.1 kB / 3.768 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/10.69, allocations: 0 / 3.768 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/10.69, allocations: 26.34 kB / 3.768 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/10.69, allocations: 6.906 kB / 3.768 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/10.69, allocations: 0 / 3.768 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/10.69, allocations: 0 / 3.768 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/10.69, allocations: 4 kB / 3.768 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/10.69, allocations: 249 kB / 3.768 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/10.69, allocations: 138.8 kB / 3.768 GB, free: 31.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/10.69, allocations: 3.844 kB / 3.768 GB, free: 31.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/10.69, allocations: 25.55 kB / 3.769 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/10.69, allocations: 7.906 kB / 3.769 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/10.69, allocations: 5.719 kB / 3.769 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002601/10.69, allocations: 302.7 kB / 3.769 GB, free: 31.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/10.69, allocations: 0 / 3.769 GB, free: 31.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005613/10.69, allocations: 1.313 MB / 3.77 GB, free: 31.02 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 () * 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.009727/10.7, allocations: 1.694 MB / 3.772 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003823/10.7, allocations: 168 kB / 3.772 GB, free: 30.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/10.7, allocations: 0 / 3.772 GB, free: 30.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.483e-05/10.7, allocations: 29.78 kB / 3.772 GB, free: 30.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/10.71, allocations: 129.9 kB / 3.772 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/10.71, allocations: 364.7 kB / 3.772 GB, free: 30.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/10.71, allocations: 0.7766 MB / 3.773 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002917/10.71, allocations: 137.5 kB / 3.773 GB, free: 29.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/10.71, allocations: 22.66 kB / 3.773 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/10.71, allocations: 0 / 3.773 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.03886/10.75, allocations: 35.95 MB / 3.808 GB, free: 27.91 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)