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.001757/0.001757, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.317/1.317, allocations: 205.1 MB / 223.1 MB, free: 8.465 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.001027/0.001027, allocations: 102 kB / 270.5 MB, free: 8.418 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3699/0.3699, allocations: 48.84 MB / 366.7 MB, free: 46.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 55.92 kB / 436.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1012, allocations: 59.16 MB / 495.8 MB, free: 116 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.2019/0.3031, allocations: 28.53 MB / 0.512 GB, free: 44.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01669/0.3199, allocations: 17.85 MB / 0.5294 GB, free: 34.21 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000425/0.3203, allocations: 13.97 kB / 0.5294 GB, free: 34.2 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.3209, allocations: 99.39 kB / 0.5295 GB, free: 34.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.3212, allocations: 142.3 kB / 0.5297 GB, free: 34.05 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01566/0.3369, allocations: 5.36 MB / 0.5349 GB, free: 31.68 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006589/0.3375, allocations: 0.5473 MB / 0.5354 GB, free: 31.46 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.3378, allocations: 128.2 kB / 0.5356 GB, free: 31.42 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003729/0.3415, allocations: 1.807 MB / 0.5373 GB, free: 30.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01285/0.3544, allocations: 6.248 MB / 0.5434 GB, free: 27.62 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.443e-05/0.3545, allocations: 12.69 kB / 0.5434 GB, free: 27.62 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01503/0.3696, allocations: 8.864 MB / 0.5521 GB, free: 23.73 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.3697, allocations: 39.72 kB / 0.5521 GB, free: 23.7 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3699, allocations: 139.4 kB / 0.5523 GB, free: 23.62 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.3806, allocations: 5.106 MB / 0.5573 GB, free: 20.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3806, allocations: 5.031 kB / 0.5573 GB, free: 20.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3807, allocations: 0 / 0.5573 GB, free: 20.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3807, allocations: 0 / 0.5573 GB, free: 20.33 MB / 394.7 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.003785/0.3845, allocations: 1.128 MB / 0.5584 GB, free: 19.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3845, allocations: 8.719 kB / 0.5584 GB, free: 19.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.3848, allocations: 46.8 kB / 0.5584 GB, free: 19.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.385, allocations: 271.7 kB / 0.5587 GB, free: 19.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3851, allocations: 22.66 kB / 0.5587 GB, free: 19.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.3851, allocations: 26.84 kB / 0.5587 GB, free: 19.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.3857, allocations: 334.5 kB / 0.559 GB, free: 18.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3857, allocations: 1.688 kB / 0.559 GB, free: 18.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.3858, allocations: 10.94 kB / 0.5591 GB, free: 18.92 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.3858, allocations: 5.781 kB / 0.5591 GB, free: 18.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.3863, allocations: 212.9 kB / 0.5593 GB, free: 18.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3877, allocations: 1.711 MB / 0.5609 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.388, allocations: 120 kB / 0.561 GB, free: 17.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.3881, allocations: 46.83 kB / 0.5611 GB, free: 17.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1291/0.5173, allocations: 63.97 MB / 0.6236 GB, free: 12.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.5173, allocations: 30.56 kB / 0.6236 GB, free: 12.65 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.983e-06/0.5174, allocations: 8 kB / 0.6236 GB, free: 12.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.001022/0.5184, allocations: 255.6 kB / 0.6238 GB, free: 12.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.5184, allocations: 55.41 kB / 0.6239 GB, free: 12.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.5188, allocations: 280.5 kB / 0.6242 GB, free: 12.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.5188, allocations: 37.64 kB / 0.6242 GB, free: 11.99 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.5189, allocations: 176.1 kB / 0.6244 GB, free: 11.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.519, allocations: 39.55 kB / 0.6244 GB, free: 11.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.519, allocations: 41.7 kB / 0.6244 GB, free: 11.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5192, allocations: 338.8 kB / 0.6248 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.5193, allocations: 48.83 kB / 0.6248 GB, free: 11.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.5195, allocations: 123.1 kB / 0.6249 GB, free: 11.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.5199, allocations: 195.7 kB / 0.6251 GB, free: 10.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5199, allocations: 0 / 0.6251 GB, free: 10.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004619/0.5204, allocations: 217.3 kB / 0.6253 GB, free: 10.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5204, allocations: 12 kB / 0.6253 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5204, allocations: 4 kB / 0.6253 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5204, allocations: 4 kB / 0.6253 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.5207, allocations: 47.91 kB / 0.6254 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.5207, allocations: 8.812 kB / 0.6254 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.5209, allocations: 35.67 kB / 0.6254 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.521, allocations: 8 kB / 0.6254 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002212/0.5212, allocations: 146.2 kB / 0.6256 GB, free: 10.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001777/0.5214, allocations: 132.8 kB / 0.6257 GB, free: 10.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003097/0.5217, allocations: 195.5 kB / 0.6259 GB, free: 10.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.5217, allocations: 4 kB / 0.6259 GB, free: 10.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004417/0.5222, allocations: 213 kB / 0.6261 GB, free: 9.844 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.5222, allocations: 4.438 kB / 0.6261 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5222, allocations: 8 kB / 0.6261 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.5222, allocations: 4 kB / 0.6261 GB, free: 9.828 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.5224, allocations: 47.91 kB / 0.6262 GB, free: 9.781 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5224, allocations: 7.938 kB / 0.6262 GB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.5226, allocations: 31.77 kB / 0.6262 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.5226, allocations: 8 kB / 0.6262 GB, free: 9.734 MB / 458.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.5227, allocations: 206.8 kB / 0.6264 GB, free: 9.527 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.5228, allocations: 23.72 kB / 0.6264 GB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.5233, allocations: 286.8 kB / 0.6267 GB, free: 9.215 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5233, allocations: 3.938 kB / 0.6267 GB, free: 9.211 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5234, allocations: 192 / 0.6267 GB, free: 9.211 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5234, allocations: 0 / 0.6267 GB, free: 9.211 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.5238, allocations: 349 kB / 0.627 GB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5238, allocations: 0 / 0.627 GB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.524, allocations: 23.98 kB / 0.6271 GB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.524, allocations: 0 / 0.6271 GB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.524, allocations: 0 / 0.6271 GB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.524, allocations: 1.25 kB / 0.6271 GB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.524, allocations: 4 kB / 0.6271 GB, free: 8.793 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.5258, allocations: 1.526 MB / 0.6286 GB, free: 7.133 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.5259, allocations: 100 kB / 0.6287 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.5259, allocations: 15.83 kB / 0.6287 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.5261, allocations: 27.89 kB / 0.6287 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.5262, allocations: 7.922 kB / 0.6287 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.5262, allocations: 4.094 kB / 0.6287 GB, free: 6.965 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003427/0.5266, allocations: 315.1 kB / 0.629 GB, free: 6.652 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5266, allocations: 0 / 0.629 GB, free: 6.652 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0049/0.5315, allocations: 1.402 MB / 0.6304 GB, free: 5.25 MB / 458.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007889/0.5394, allocations: 1.407 MB / 0.6317 GB, free: 3.848 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.54, allocations: 197 kB / 0.6319 GB, free: 3.656 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.54, allocations: 0 / 0.6319 GB, free: 3.656 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.5401, allocations: 43.91 kB / 0.632 GB, free: 3.613 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009295/0.5411, allocations: 128 kB / 0.6321 GB, free: 3.492 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.5422, allocations: 0.7971 MB / 0.6329 GB, free: 2.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.5425, allocations: 0.7717 MB / 0.6336 GB, free: 1.863 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002757/0.5428, allocations: 126.9 kB / 0.6338 GB, free: 1.742 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.5428, allocations: 27.42 kB / 0.6338 GB, free: 1.715 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5428, allocations: 0 / 0.6338 GB, free: 1.715 MB / 458.7 MB Notification: Performance of Templates: time 0.06032/0.6032, allocations: 47.9 MB / 0.6806 GB, free: 1.781 MB / 0.4948 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)