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.00142/0.00142, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001528/0.001528, allocations: 206.9 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.445/1.445, allocations: 207.7 MB / 234.6 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.3026/0.3026, allocations: 49.6 MB / 336.4 MB, free: 3.867 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 71.91 kB / 476.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1203, allocations: 62.44 MB / 0.5266 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.2687/0.389, allocations: 25.36 MB / 0.5514 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01744/0.4065, allocations: 14.39 MB / 0.5655 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004285/0.4069, allocations: 6.688 kB / 0.5655 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000642/0.4076, allocations: 113.8 kB / 0.5656 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.408, allocations: 143.1 kB / 0.5657 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0215/0.4295, allocations: 6.745 MB / 0.5723 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007984/0.4303, allocations: 439.3 kB / 0.5727 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.4306, allocations: 135.3 kB / 0.5728 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004503/0.4351, allocations: 1.844 MB / 0.5746 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0157/0.4508, allocations: 6.174 MB / 0.5807 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.4509, allocations: 21.5 kB / 0.5807 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02175/0.4726, allocations: 8.554 MB / 0.5891 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.4728, allocations: 51.19 kB / 0.5891 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.473, allocations: 118.5 kB / 0.5892 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.4873, allocations: 5.081 MB / 0.5942 GB, free: 15.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4873, allocations: 0 / 0.5942 GB, free: 15.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4873, allocations: 0 / 0.5942 GB, free: 15.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.946e-06/0.4874, allocations: 0 / 0.5942 GB, free: 15.75 MB / 446.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.004084/0.4914, allocations: 1.086 MB / 0.5952 GB, free: 14.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4915, allocations: 8.031 kB / 0.5952 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.4917, allocations: 67.8 kB / 0.5953 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.4922, allocations: 207 kB / 0.5955 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.4922, allocations: 21.06 kB / 0.5955 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.4923, allocations: 23.94 kB / 0.5955 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.493, allocations: 355.1 kB / 0.5959 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.4931, allocations: 7.875 kB / 0.5959 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.4931, allocations: 12 kB / 0.5959 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.4931, allocations: 8 kB / 0.5959 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005753/0.4937, allocations: 213.5 kB / 0.5961 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.4955, allocations: 1.402 MB / 0.5975 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.496, allocations: 114.4 kB / 0.5976 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.4961, allocations: 48.83 kB / 0.5976 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1268/0.6229, allocations: 33.65 MB / 0.6305 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.623, allocations: 34.75 kB / 0.6305 GB, free: 10.28 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 4.929e-06/0.623, allocations: 6.016 kB / 0.6305 GB, free: 10.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.001115/0.6241, allocations: 241.3 kB / 0.6308 GB, free: 10.04 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.6241, allocations: 59.34 kB / 0.6308 GB, free: 9.965 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.6244, allocations: 216.9 kB / 0.631 GB, free: 9.746 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.6245, allocations: 25.7 kB / 0.6311 GB, free: 9.715 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.6246, allocations: 196.1 kB / 0.6312 GB, free: 9.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.6247, allocations: 31.7 kB / 0.6313 GB, free: 9.488 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.6247, allocations: 41.7 kB / 0.6313 GB, free: 9.441 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.6249, allocations: 334.8 kB / 0.6316 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.6251, allocations: 48.83 kB / 0.6317 GB, free: 9.055 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.6253, allocations: 135 kB / 0.6318 GB, free: 8.883 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.6257, allocations: 186.9 kB / 0.632 GB, free: 8.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.6257, allocations: 4 kB / 0.632 GB, free: 8.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004987/0.6262, allocations: 201.6 kB / 0.6322 GB, free: 8.453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6262, allocations: 12.03 kB / 0.6322 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.6262, allocations: 7.938 kB / 0.6322 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.6262, allocations: 8.312 kB / 0.6322 GB, free: 8.426 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.6265, allocations: 43.97 kB / 0.6323 GB, free: 8.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.6265, allocations: 11.94 kB / 0.6323 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.6267, allocations: 23.83 kB / 0.6323 GB, free: 8.348 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.6267, allocations: 15.94 kB / 0.6323 GB, free: 8.332 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002321/0.6269, allocations: 136.1 kB / 0.6324 GB, free: 8.195 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002068/0.6271, allocations: 141.7 kB / 0.6326 GB, free: 8.012 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003557/0.6275, allocations: 192.2 kB / 0.6327 GB, free: 7.781 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/0.6275, allocations: 7.938 kB / 0.6328 GB, free: 7.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004717/0.628, allocations: 205.3 kB / 0.633 GB, free: 7.566 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.628, allocations: 11.94 kB / 0.633 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.628, allocations: 4 kB / 0.633 GB, free: 7.551 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.241e-06/0.628, allocations: 4 kB / 0.633 GB, free: 7.547 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.6282, allocations: 43.97 kB / 0.633 GB, free: 7.504 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.6282, allocations: 12 kB / 0.633 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.6284, allocations: 28.25 kB / 0.6331 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.6284, allocations: 8 kB / 0.6331 GB, free: 7.457 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.6285, allocations: 192.1 kB / 0.6332 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.6286, allocations: 23.86 kB / 0.6333 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006084/0.6292, allocations: 302.7 kB / 0.6336 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.6292, allocations: 0 / 0.6336 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.6292, allocations: 3.984 kB / 0.6336 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.6292, allocations: 8 kB / 0.6336 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.6296, allocations: 245 kB / 0.6338 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6296, allocations: 3.984 kB / 0.6338 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.6297, allocations: 23.98 kB / 0.6338 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.6297, allocations: 3.984 kB / 0.6338 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6297, allocations: 4 kB / 0.6338 GB, free: 6.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6297, allocations: 3.938 kB / 0.6338 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6297, allocations: 0 / 0.6338 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.6303, allocations: 275.4 kB / 0.6341 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.6303, allocations: 23.86 kB / 0.6341 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.6304, allocations: 20.66 kB / 0.6341 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.6306, allocations: 19.98 kB / 0.6342 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.6306, allocations: 3.984 kB / 0.6342 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.6306, allocations: 4 kB / 0.6342 GB, free: 6.258 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000302/0.6309, allocations: 259 kB / 0.6344 GB, free: 6 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6309, allocations: 0 / 0.6344 GB, free: 6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004089/0.635, allocations: 1.333 MB / 0.6357 GB, free: 4.664 MB / 478.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 (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.006128/0.6411, allocations: 1.409 MB / 0.6371 GB, free: 3.246 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006609/0.6418, allocations: 193 kB / 0.6373 GB, free: 3.059 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6418, allocations: 3.938 kB / 0.6373 GB, free: 3.055 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.6419, allocations: 32.23 kB / 0.6373 GB, free: 3.023 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.6426, allocations: 87.67 kB / 0.6374 GB, free: 2.941 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.6437, allocations: 0.5739 MB / 0.638 GB, free: 2.336 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.6439, allocations: 168.8 kB / 0.6381 GB, free: 2.152 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.6441, allocations: 117.5 kB / 0.6382 GB, free: 2.039 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.6442, allocations: 27.44 kB / 0.6383 GB, free: 2.012 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6442, allocations: 0 / 0.6383 GB, free: 2.012 MB / 478.1 MB Notification: Performance of Templates: time 0.07212/0.7163, allocations: 47.3 MB / 0.6845 GB, free: 2.621 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.81136553734541] Failed to read output from testmodel.py, exit status != 0: 0.7263319473713636 0.742383997 0.25145422900000003 Calling exit ...