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.0007848/0.0007848, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008035/0.0008035, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8001/0.8001, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1636/0.1636, allocations: 36.34 MB / 274.3 MB, free: 10.91 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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 414.3 MB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.603e-05, allocations: 2.281 kB / 414.3 MB, free: 6.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.1596/0.1596, allocations: 25.21 MB / 439.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.1704, allocations: 14.41 MB / 454 MB, free: 11.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.1706, allocations: 7.344 kB / 454 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.171, allocations: 116.6 kB / 454.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.1712, allocations: 154.7 kB / 454.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01232/0.1835, allocations: 6.805 MB / 461 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.184, allocations: 459.8 kB / 461.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.1842, allocations: 121.8 kB / 461.6 MB, free: 8.402 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002197/0.1864, allocations: 1.921 MB / 463.5 MB, free: 7.195 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005978/0.1923, allocations: 6.17 MB / 469.7 MB, free: 3.312 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.1924, allocations: 17.62 kB / 469.7 MB, free: 3.312 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009896/0.2023, allocations: 8.578 MB / 478.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.2023, allocations: 47.77 kB / 478.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.2025, allocations: 95.78 kB / 478.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006927/0.2094, allocations: 6.529 MB / 485 MB, free: 6.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2094, allocations: 0 / 485 MB, free: 6.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2094, allocations: 8 kB / 485 MB, free: 6.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.2094, allocations: 2.438 kB / 485 MB, free: 6.848 MB / 378.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.002105/0.2115, allocations: 1.078 MB / 486.1 MB, free: 5.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2115, allocations: 8.031 kB / 486.1 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.2116, allocations: 54.73 kB / 486.1 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.2117, allocations: 60.67 kB / 486.2 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.212, allocations: 202.3 kB / 486.4 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.212, allocations: 24.88 kB / 486.4 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.2121, allocations: 16.38 kB / 486.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.2125, allocations: 363.5 kB / 486.8 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2125, allocations: 3.938 kB / 486.8 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.2125, allocations: 12 kB / 486.8 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2125, allocations: 9.828 kB / 486.8 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.2128, allocations: 209.7 kB / 487 MB, free: 4.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.214, allocations: 1.483 MB / 488.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.2142, allocations: 106.5 kB / 488.6 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.2143, allocations: 44.83 kB / 488.6 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05503/0.2693, allocations: 33.65 MB / 0.51 GB, free: 1.293 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2693, allocations: 34.56 kB / 0.5101 GB, free: 1.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.2693, allocations: 0 / 0.5101 GB, free: 1.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005908/0.2699, allocations: 253.2 kB / 0.5103 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.2699, allocations: 55.41 kB / 0.5104 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.2701, allocations: 292.4 kB / 0.5106 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.2702, allocations: 29.7 kB / 0.5107 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.2702, allocations: 183.6 kB / 0.5108 GB, free: 428 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.2703, allocations: 31.75 kB / 0.5109 GB, free: 396 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.2703, allocations: 41.66 kB / 0.5109 GB, free: 348 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.2704, allocations: 334.8 kB / 0.5112 GB, free: 4 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.2705, allocations: 51.77 kB / 0.5113 GB, free: 15.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.2706, allocations: 127.1 kB / 0.5114 GB, free: 15.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.2708, allocations: 194.9 kB / 0.5116 GB, free: 15.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2708, allocations: 4 kB / 0.5116 GB, free: 15.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002584/0.2711, allocations: 213.1 kB / 0.5118 GB, free: 15.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2711, allocations: 11.98 kB / 0.5118 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2711, allocations: 4 kB / 0.5118 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2711, allocations: 4.375 kB / 0.5118 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.2712, allocations: 51.91 kB / 0.5119 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.2712, allocations: 4 kB / 0.5119 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.983e-05/0.2713, allocations: 31.78 kB / 0.5119 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2713, allocations: 11.98 kB / 0.5119 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001206/0.2714, allocations: 140.1 kB / 0.512 GB, free: 15.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.803e-05/0.2715, allocations: 129.2 kB / 0.5122 GB, free: 14.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001757/0.2717, allocations: 204.6 kB / 0.5124 GB, free: 14.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.11e-07/0.2717, allocations: 0 / 0.5124 GB, free: 14.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002414/0.272, allocations: 225.4 kB / 0.5126 GB, free: 14.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.272, allocations: 7.984 kB / 0.5126 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/0.272, allocations: 4 kB / 0.5126 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-06/0.272, allocations: 4 kB / 0.5126 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.2721, allocations: 43.92 kB / 0.5126 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.2721, allocations: 7.984 kB / 0.5126 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.2721, allocations: 16.81 kB / 0.5127 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2721, allocations: 12 kB / 0.5127 GB, free: 14.34 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_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 7.391e-05/0.2722, allocations: 200.1 kB / 0.5129 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.2723, allocations: 35.88 kB / 0.5129 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.2726, allocations: 299.3 kB / 0.5132 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2726, allocations: 96 / 0.5132 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2726, allocations: 3.938 kB / 0.5132 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2726, allocations: 0 / 0.5132 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.2728, allocations: 297.2 kB / 0.5135 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2729, allocations: 0 / 0.5135 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.2729, allocations: 27.97 kB / 0.5135 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2729, allocations: 4 kB / 0.5135 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2729, allocations: 0 / 0.5135 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2729, allocations: 0.875 kB / 0.5135 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2729, allocations: 0 / 0.5135 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.2732, allocations: 287.1 kB / 0.5138 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.2732, allocations: 19.88 kB / 0.5138 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.2733, allocations: 15.84 kB / 0.5138 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.2734, allocations: 28 kB / 0.5138 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.2734, allocations: 7.984 kB / 0.5138 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.2734, allocations: 6.875 kB / 0.5139 GB, free: 13.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002153/0.2736, allocations: 311.1 kB / 0.5141 GB, free: 12.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2736, allocations: 0 / 0.5141 GB, free: 12.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002288/0.2759, allocations: 1.314 MB / 0.5154 GB, free: 11.44 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.00401/0.2799, allocations: 2.306 MB / 0.5177 GB, free: 9.109 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.2802, allocations: 183.8 kB / 0.5179 GB, free: 8.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2802, allocations: 5.562 kB / 0.5179 GB, free: 8.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.2803, allocations: 39.97 kB / 0.5179 GB, free: 8.887 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.2808, allocations: 126.1 kB / 0.518 GB, free: 8.758 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.2839, allocations: 3.36 MB / 0.5213 GB, free: 5.242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.867e-05/0.284, allocations: 169.1 kB / 0.5215 GB, free: 5.059 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.2842, allocations: 126 kB / 0.5216 GB, free: 4.938 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.2843, allocations: 112.5 kB / 0.5217 GB, free: 4.828 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2843, allocations: 0 / 0.5217 GB, free: 4.828 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0655/0.3498, allocations: 53.42 MB / 0.5739 GB, free: 15.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.101/9.451, allocations: 7.938 kB / 0.5739 GB, free: 15.25 MB / 490.7 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.250769084319472] Failed to read output from testmodel.py, exit status != 0: 9.568373302929103 9.577891816 9.366425906 Calling exit ...