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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000958/0.000958, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 170.2 kB / 24.91 MB, free: 8.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8967/0.8967, allocations: 158.6 MB / 186.8 MB, free: 2.309 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1767/0.1767, allocations: 36.34 MB / 275.4 MB, free: 10.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") translateModel(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 1.156 kB / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.327e-05, allocations: 5.094 kB / 305.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.01442/0.01445, allocations: 18.8 MB / 324 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.02703, allocations: 15.9 MB / 339.9 MB, free: 1.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.02721, allocations: 11.88 kB / 339.9 MB, free: 1.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.02753, allocations: 99.23 kB / 340 MB, free: 1.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.02773, allocations: 146.8 kB / 340.1 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01388/0.04161, allocations: 6.863 MB / 347 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005462/0.04216, allocations: 458.2 kB / 347.4 MB, free: 9.738 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.04236, allocations: 138.9 kB / 347.6 MB, free: 9.605 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.04498, allocations: 1.924 MB / 349.5 MB, free: 7.656 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:897:9-897:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:934:9-934:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:897:9-897:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:934:9-934:73:writable] Warning: Output parameter bpro.cv was not assigned a value Notification: Performance of NFSimplifyModel.simplify: time 0.007684/0.05266, allocations: 6.186 MB / 355.7 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.0527, allocations: 23.94 kB / 355.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/0.06272, allocations: 8.571 MB / 364.3 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.06276, allocations: 51.77 kB / 364.3 MB, free: 8.758 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.909e-05/0.06285, allocations: 99.77 kB / 364.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006741/0.06959, allocations: 6.478 MB / 370.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.0696, allocations: 0 / 370.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0696, allocations: 0 / 370.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.06961, allocations: 0 / 370.9 MB, free: 2.168 MB / 330.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.001899/0.0715, allocations: 1.061 MB / 372 MB, free: 1.078 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.07153, allocations: 8.031 kB / 372 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.0717, allocations: 68.88 kB / 372 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.07192, allocations: 202.2 kB / 372.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.07193, allocations: 16.88 kB / 372.3 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.07196, allocations: 28.31 kB / 372.3 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.07231, allocations: 324.2 kB / 372.6 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.07232, allocations: 3.938 kB / 372.6 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.07233, allocations: 12 kB / 372.6 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.07234, allocations: 8 kB / 372.6 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.07251, allocations: 123.3 kB / 372.8 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.07338, allocations: 1.269 MB / 374 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.07379, allocations: 78.52 kB / 374.1 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.07381, allocations: 12.86 kB / 374.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3455/0.4193, allocations: 116.5 MB / 490.6 MB, free: 121.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4193, allocations: 33.56 kB / 490.7 MB, free: 121.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.675e-06/0.4193, allocations: 2.062 kB / 490.7 MB, free: 121.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.000431/0.4198, allocations: 173.3 kB / 490.8 MB, free: 121 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.4198, allocations: 51.41 kB / 490.9 MB, free: 120.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.4199, allocations: 214.1 kB / 491.1 MB, free: 120.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.4199, allocations: 29.08 kB / 491.1 MB, free: 120.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.42, allocations: 186.8 kB / 491.3 MB, free: 120.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.42, allocations: 32.62 kB / 491.3 MB, free: 120.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.42, allocations: 40.3 kB / 491.4 MB, free: 120.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.772e-05/0.4201, allocations: 332.2 kB / 491.7 MB, free: 120.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.4201, allocations: 20.14 kB / 491.7 MB, free: 120.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.581e-05/0.4201, allocations: 99.73 kB / 491.8 MB, free: 120.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.646e-05/0.4202, allocations: 128.3 kB / 492 MB, free: 119.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4202, allocations: 7.75 kB / 492 MB, free: 119.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001219/0.4204, allocations: 135.6 kB / 492.1 MB, free: 119.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.4204, allocations: 4 kB / 492.1 MB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4204, allocations: 5.641 kB / 492.1 MB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4204, allocations: 4 kB / 492.1 MB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.4205, allocations: 39.36 kB / 492.1 MB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4205, allocations: 14.89 kB / 492.2 MB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.4206, allocations: 19.62 kB / 492.2 MB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.4206, allocations: 8 kB / 492.2 MB, free: 119.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.744e-05/0.4206, allocations: 95.12 kB / 492.3 MB, free: 119.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.108e-05/0.4207, allocations: 113.8 kB / 492.4 MB, free: 119.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.05e-05/0.4207, allocations: 146.6 kB / 492.5 MB, free: 119.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.4208, allocations: 0 / 492.5 MB, free: 119.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0001141/0.4209, allocations: 141.3 kB / 492.7 MB, free: 119.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.4209, allocations: 12.17 kB / 492.7 MB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.4209, allocations: 4 kB / 492.7 MB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-06/0.4209, allocations: 4 kB / 492.7 MB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.4209, allocations: 39.83 kB / 492.7 MB, free: 119.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4209, allocations: 11.42 kB / 492.7 MB, free: 119.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.836e-05/0.421, allocations: 22.38 kB / 492.8 MB, free: 119.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.421, allocations: 14.81 kB / 492.8 MB, free: 119.1 MB / 426.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_iso.phase,steamTurbineStodola.steamState_in.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 5.855e-05/0.4211, allocations: 189.5 kB / 493 MB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.4211, allocations: 13.67 kB / 493 MB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.4213, allocations: 228.1 kB / 493.2 MB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.4213, allocations: 4 kB / 493.2 MB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.4213, allocations: 0 / 493.2 MB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4213, allocations: 3.938 kB / 493.2 MB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.4215, allocations: 180.2 kB / 493.4 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4215, allocations: 0 / 493.4 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.4216, allocations: 27.42 kB / 493.4 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4216, allocations: 0 / 493.4 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.4216, allocations: 0 / 493.4 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4216, allocations: 0 / 493.4 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4216, allocations: 1.031 kB / 493.4 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.4217, allocations: 231 kB / 493.6 MB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.4217, allocations: 14.72 kB / 493.7 MB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.4218, allocations: 19.84 kB / 493.7 MB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.4218, allocations: 23.27 kB / 493.7 MB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.4219, allocations: 5.953 kB / 493.7 MB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.4219, allocations: 7.562 kB / 493.7 MB, free: 118.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.516e-05/0.4219, allocations: 123.7 kB / 493.8 MB, free: 118.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4219, allocations: 0 / 493.8 MB, free: 118.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002477/0.4244, allocations: 1.331 MB / 495.2 MB, free: 117 MB / 426.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.003585/0.428, allocations: 1.695 MB / 496.9 MB, free: 115.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.4282, allocations: 128.6 kB / 497 MB, free: 115.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.4282, allocations: 7.281 kB / 497 MB, free: 115.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/0.4282, allocations: 26.34 kB / 497 MB, free: 115.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.4285, allocations: 81.03 kB / 497.1 MB, free: 115.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008652/0.4294, allocations: 0.5482 MB / 497.6 MB, free: 114.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.398e-05/0.4294, allocations: 94.17 kB / 497.7 MB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.4295, allocations: 116 kB / 497.8 MB, free: 114.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.4296, allocations: 102.7 kB / 497.9 MB, free: 114.4 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4296, allocations: 4 kB / 497.9 MB, free: 114.4 MB / 426.7 MB Notification: Performance of Templates: time 0.04577/0.4754, allocations: 53.46 MB / 0.5385 GB, free: 61.01 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.651885963045061]