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.001254/0.001254, allocations: 180.1 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, 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.001081/0.001081, allocations: 87.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6111/0.6111, allocations: 48.77 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.369e-05, allocations: 4 kB / 425.3 MB, free: 8.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1735, allocations: 60.25 MB / 485.5 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.594/8.767, allocations: 2.908 GB / 3.382 GB, free: 150.1 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/8.767, allocations: 80.14 kB / 3.382 GB, free: 150.1 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.922/9.689, allocations: 311.7 MB / 3.686 GB, free: 82.19 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.293e-06/9.69, allocations: 6.953 kB / 3.686 GB, free: 82.19 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 2.421e-05/9.69, allocations: 15.59 kB / 3.686 GB, free: 82.18 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.006612/9.696, allocations: 1.401 MB / 3.688 GB, free: 80.89 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/9.696, allocations: 8.031 kB / 3.688 GB, free: 80.88 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/9.696, allocations: 52.2 kB / 3.688 GB, free: 80.84 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/9.697, allocations: 279.7 kB / 3.688 GB, free: 80.58 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/9.697, allocations: 8 kB / 3.688 GB, free: 80.57 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/9.697, allocations: 20.92 kB / 3.688 GB, free: 80.56 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002316/9.697, allocations: 127.9 kB / 3.688 GB, free: 80.48 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/9.697, allocations: 289.2 kB / 3.689 GB, free: 80.23 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/9.697, allocations: 3.188 kB / 3.689 GB, free: 80.23 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/9.698, allocations: 0 / 3.689 GB, free: 80.23 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/9.698, allocations: 8 kB / 3.689 GB, free: 80.22 MB / 0.5108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/9.805, allocations: 65.57 MB / 3.753 GB, free: 9.539 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/9.805, allocations: 49.39 kB / 3.753 GB, free: 9.492 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/9.805, allocations: 23.23 kB / 3.753 GB, free: 9.473 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/9.805, allocations: 3.797 kB / 3.753 GB, free: 9.473 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/9.805, allocations: 34.12 kB / 3.753 GB, free: 9.434 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=5): time 1.894e-06/9.805, allocations: 0 / 3.753 GB, free: 9.434 MB / 0.5108 GB Notification: Performance of matching and sorting (n=5): time 0.0004808/9.806, allocations: 127.2 kB / 3.753 GB, free: 9.324 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/9.806, allocations: 59.39 kB / 3.753 GB, free: 9.254 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/9.806, allocations: 206.4 kB / 3.753 GB, free: 9.082 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/9.806, allocations: 29.69 kB / 3.753 GB, free: 9.047 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/9.806, allocations: 194.4 kB / 3.753 GB, free: 8.879 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/9.806, allocations: 19.55 kB / 3.753 GB, free: 8.863 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-06/9.806, allocations: 0 / 3.753 GB, free: 8.863 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 4.938e-05/9.806, allocations: 329.7 kB / 3.754 GB, free: 8.539 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/9.806, allocations: 26.56 kB / 3.754 GB, free: 8.523 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/9.806, allocations: 107.1 kB / 3.754 GB, free: 8.395 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/9.806, allocations: 62.38 kB / 3.754 GB, free: 8.355 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/9.806, allocations: 0 / 3.754 GB, free: 8.355 MB / 0.5108 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003217/9.807, allocations: 172.6 kB / 3.754 GB, free: 8.219 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001776/9.807, allocations: 1.138 MB / 3.755 GB, free: 7.016 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/9.807, allocations: 4 kB / 3.755 GB, free: 7.012 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/9.807, allocations: 8 kB / 3.755 GB, free: 7.004 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/9.807, allocations: 51.41 kB / 3.755 GB, free: 6.961 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/9.807, allocations: 5.875 kB / 3.755 GB, free: 6.957 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/9.807, allocations: 35.08 kB / 3.755 GB, free: 6.926 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/9.807, allocations: 11.94 kB / 3.755 GB, free: 6.914 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/9.807, allocations: 4 kB / 3.755 GB, free: 6.91 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002202/9.808, allocations: 109.8 kB / 3.755 GB, free: 6.836 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/9.808, allocations: 0 / 3.755 GB, free: 6.836 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/9.808, allocations: 4 kB / 3.755 GB, free: 6.832 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/9.808, allocations: 53.94 kB / 3.755 GB, free: 6.785 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/9.808, allocations: 7.375 kB / 3.755 GB, free: 6.781 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/9.808, allocations: 23.89 kB / 3.755 GB, free: 6.758 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/9.808, allocations: 7.938 kB / 3.755 GB, free: 6.754 MB / 0.5108 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 7.156e-05/9.808, allocations: 117.7 kB / 3.756 GB, free: 6.637 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/9.808, allocations: 19.81 kB / 3.756 GB, free: 6.617 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/9.808, allocations: 83.56 kB / 3.756 GB, free: 6.547 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/9.808, allocations: 0 / 3.756 GB, free: 6.547 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/9.808, allocations: 0 / 3.756 GB, free: 6.547 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/9.808, allocations: 0 / 3.756 GB, free: 6.547 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/9.808, allocations: 231.5 kB / 3.756 GB, free: 6.316 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/9.808, allocations: 0 / 3.756 GB, free: 6.316 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/9.809, allocations: 19.98 kB / 3.756 GB, free: 6.297 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/9.809, allocations: 3.984 kB / 3.756 GB, free: 6.293 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/9.809, allocations: 0 / 3.756 GB, free: 6.293 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/9.809, allocations: 4 kB / 3.756 GB, free: 6.289 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/9.809, allocations: 4 kB / 3.756 GB, free: 6.285 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/9.809, allocations: 191.1 kB / 3.756 GB, free: 6.105 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/9.809, allocations: 92.14 kB / 3.756 GB, free: 6 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/9.809, allocations: 0 / 3.756 GB, free: 6 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/9.809, allocations: 11.98 kB / 3.756 GB, free: 5.988 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/9.809, allocations: 14.02 kB / 3.756 GB, free: 5.977 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/9.809, allocations: 0 / 3.756 GB, free: 5.977 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 9.985e-05/9.809, allocations: 159.6 kB / 3.756 GB, free: 5.848 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.6e-07/9.809, allocations: 0 / 3.756 GB, free: 5.848 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.00532/9.815, allocations: 1.291 MB / 3.758 GB, free: 4.609 MB / 0.5108 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 (5): * Single equations (assignments): 5 * 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.01012/9.825, allocations: 1.767 MB / 3.759 GB, free: 3.062 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0003413/9.825, allocations: 135.5 kB / 3.759 GB, free: 2.98 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/9.825, allocations: 0.5 kB / 3.759 GB, free: 2.98 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/9.825, allocations: 21.28 kB / 3.759 GB, free: 2.965 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/9.826, allocations: 53.95 kB / 3.76 GB, free: 2.918 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006307/9.826, allocations: 292.3 kB / 3.76 GB, free: 2.629 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/9.826, allocations: 0.7522 MB / 3.761 GB, free: 1.852 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0002937/9.827, allocations: 184.4 kB / 3.761 GB, free: 1.684 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/9.827, allocations: 22.69 kB / 3.761 GB, free: 1.664 MB / 0.5108 GB Notification: Performance of SimCode: time 5.41e-07/9.827, allocations: 2.625 kB / 3.761 GB, free: 1.664 MB / 0.5108 GB Notification: Performance of Templates: time 0.3063/10.13, allocations: 29.99 MB / 3.79 GB, free: 88.35 MB / 0.5108 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)