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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 93.84 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 184 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 223.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4536/0.4536, allocations: 48.78 MB / 320.4 MB, free: 3.82 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006528/0.0006531, allocations: 12 kB / 391.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1252, allocations: 60.26 MB / 451.4 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.2434/0.3686, allocations: 23.45 MB / 474.8 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.3848, allocations: 14.11 MB / 489 MB, free: 26.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.3852, allocations: 6.719 kB / 489 MB, free: 26.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.3857, allocations: 89.7 kB / 489 MB, free: 26.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.386, allocations: 155.2 kB / 489.2 MB, free: 26.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01975/0.4057, allocations: 5.207 MB / 494.4 MB, free: 24.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006695/0.4064, allocations: 295.6 kB / 494.7 MB, free: 24.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.4067, allocations: 125.1 kB / 494.8 MB, free: 24.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006169/0.4129, allocations: 2.938 MB / 497.8 MB, free: 23.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01906/0.432, allocations: 10.79 MB / 0.4966 GB, free: 20.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.926e-05/0.4321, allocations: 8 kB / 0.4966 GB, free: 20.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0168/0.4489, allocations: 8.799 MB / 0.5052 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.4491, allocations: 39.78 kB / 0.5053 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.4493, allocations: 77.58 kB / 0.5053 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007887/0.4572, allocations: 3.372 MB / 0.5086 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4573, allocations: 0 / 0.5086 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4573, allocations: 0 / 0.5086 GB, free: 8.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.4573, allocations: 0 / 0.5086 GB, free: 8.016 MB / 382.1 MB 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.003082/0.4604, allocations: 1.088 MB / 0.5097 GB, free: 6.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4604, allocations: 16.02 kB / 0.5097 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.4607, allocations: 55.55 kB / 0.5098 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.4609, allocations: 259.5 kB / 0.51 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.461, allocations: 16.56 kB / 0.51 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.461, allocations: 20 kB / 0.51 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005771/0.4616, allocations: 338.2 kB / 0.5104 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4616, allocations: 0 / 0.5104 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.4617, allocations: 16 kB / 0.5104 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4617, allocations: 4 kB / 0.5104 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.4622, allocations: 225.4 kB / 0.5106 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.4635, allocations: 1.724 MB / 0.5123 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.4639, allocations: 115.3 kB / 0.5124 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1277/0.5916, allocations: 64.6 MB / 0.5755 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.5917, allocations: 42.55 kB / 0.5755 GB, free: 11.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 2.314e-06/0.5917, allocations: 0 / 0.5755 GB, free: 11.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.001079/0.5928, allocations: 269.1 kB / 0.5758 GB, free: 11.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.5928, allocations: 55.41 kB / 0.5758 GB, free: 11.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.5932, allocations: 284.5 kB / 0.5761 GB, free: 11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.5932, allocations: 25.7 kB / 0.5761 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.5934, allocations: 183.4 kB / 0.5763 GB, free: 10.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.5934, allocations: 35.48 kB / 0.5763 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.5935, allocations: 4 kB / 0.5763 GB, free: 10.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5936, allocations: 330.8 kB / 0.5767 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.5938, allocations: 51.97 kB / 0.5767 GB, free: 10.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.594, allocations: 135.1 kB / 0.5768 GB, free: 10.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.5941, allocations: 59.94 kB / 0.5769 GB, free: 10.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5941, allocations: 4 kB / 0.5769 GB, free: 10.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004302/0.5946, allocations: 221 kB / 0.5771 GB, free: 9.902 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004704/0.5951, allocations: 1.134 MB / 0.5782 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5951, allocations: 4 kB / 0.5782 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.5951, allocations: 4 kB / 0.5782 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.5953, allocations: 51.91 kB / 0.5783 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5953, allocations: 4 kB / 0.5783 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.5956, allocations: 36.61 kB / 0.5783 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.5956, allocations: 15.95 kB / 0.5783 GB, free: 8.566 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.5956, allocations: 4 kB / 0.5783 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003478/0.596, allocations: 173 kB / 0.5785 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.596, allocations: 7.984 kB / 0.5785 GB, free: 8.387 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/0.596, allocations: 4 kB / 0.5785 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.5962, allocations: 55.91 kB / 0.5786 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.5962, allocations: 4 kB / 0.5786 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.5963, allocations: 41.42 kB / 0.5786 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.5964, allocations: 8 kB / 0.5786 GB, free: 8.277 MB / 462.1 MB 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.000166/0.5965, allocations: 211.8 kB / 0.5788 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.5966, allocations: 27.67 kB / 0.5788 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.5971, allocations: 312 kB / 0.5791 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.5972, allocations: 4.094 kB / 0.5791 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5972, allocations: 3.938 kB / 0.5791 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5972, allocations: 0 / 0.5791 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.5976, allocations: 337.2 kB / 0.5795 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5976, allocations: 0 / 0.5795 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.5978, allocations: 27.98 kB / 0.5795 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5978, allocations: 3.953 kB / 0.5795 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.5978, allocations: 6.188 kB / 0.5795 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5978, allocations: 0 / 0.5795 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5978, allocations: 7.938 kB / 0.5795 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.5983, allocations: 294.9 kB / 0.5798 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.5985, allocations: 140.6 kB / 0.5799 GB, free: 6.836 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.5985, allocations: 3.953 kB / 0.5799 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.5987, allocations: 31.88 kB / 0.58 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.5988, allocations: 7.984 kB / 0.58 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.5988, allocations: 4 kB / 0.58 GB, free: 6.789 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000323/0.5991, allocations: 311.2 kB / 0.5803 GB, free: 6.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5991, allocations: 0 / 0.5803 GB, free: 6.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004659/0.6038, allocations: 1.296 MB / 0.5815 GB, free: 5.184 MB / 462.1 MB 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.006508/0.6103, allocations: 1.405 MB / 0.5829 GB, free: 3.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006905/0.611, allocations: 204.4 kB / 0.5831 GB, free: 3.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6111, allocations: 0 / 0.5831 GB, free: 3.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.6112, allocations: 47.97 kB / 0.5831 GB, free: 3.523 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008805/0.6121, allocations: 131.3 kB / 0.5833 GB, free: 3.398 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.6133, allocations: 0.6985 MB / 0.584 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.6137, allocations: 0.7758 MB / 0.5847 GB, free: 1.875 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002903/0.614, allocations: 135.3 kB / 0.5848 GB, free: 1.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.6141, allocations: 23.44 kB / 0.5849 GB, free: 1.723 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6141, allocations: 0 / 0.5849 GB, free: 1.723 MB / 462.1 MB Notification: Performance of Templates: time 0.06596/0.68, allocations: 48.66 MB / 0.6324 GB, free: 1.035 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: