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.001125/0.001125, 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.001278/0.001278, 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.8435/0.8435, allocations: 158.6 MB / 185.7 MB, free: 3.023 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.1796/0.1796, allocations: 36.35 MB / 274.3 MB, free: 10.9 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.262e-06/1.262e-06, allocations: 0 / 414.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.226e-05, allocations: 2.281 kB / 414.3 MB, free: 6.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc): time 0.1779/0.1779, allocations: 25.21 MB / 439.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.19, allocations: 14.4 MB / 454 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.1903, allocations: 8.219 kB / 454 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.1908, allocations: 115.8 kB / 454.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.1911, allocations: 157.2 kB / 454.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01631/0.2074, allocations: 6.802 MB / 461 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.2079, allocations: 462.5 kB / 461.5 MB, free: 8.473 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.2081, allocations: 123.1 kB / 461.6 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.2107, allocations: 1.921 MB / 463.5 MB, free: 7.188 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007551/0.2182, allocations: 6.166 MB / 469.7 MB, free: 3.309 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.2183, allocations: 21.12 kB / 469.7 MB, free: 3.305 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.2307, allocations: 8.577 MB / 478.3 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.2308, allocations: 47.77 kB / 478.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.231, allocations: 95.83 kB / 478.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.2428, allocations: 6.533 MB / 485 MB, free: 6.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2428, allocations: 0 / 485 MB, free: 6.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2428, allocations: 0 / 485 MB, free: 6.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2428, allocations: 6.438 kB / 485 MB, free: 6.863 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.00251/0.2453, allocations: 1.082 MB / 486.1 MB, free: 5.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.2453, allocations: 8.031 kB / 486.1 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.763e-05/0.2454, allocations: 54.73 kB / 486.1 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.2455, allocations: 56.67 kB / 486.2 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.2459, allocations: 206.3 kB / 486.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2459, allocations: 16.88 kB / 486.4 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.2459, allocations: 24.38 kB / 486.4 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.2464, allocations: 367.5 kB / 486.8 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.2464, allocations: 1.734 kB / 486.8 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.2464, allocations: 12 kB / 486.8 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2464, allocations: 4 kB / 486.8 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.2468, allocations: 209.7 kB / 487 MB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.248, allocations: 1.489 MB / 488.5 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.2482, allocations: 106.5 kB / 488.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.616e-05/0.2483, allocations: 44.83 kB / 488.6 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05593/0.3042, allocations: 33.65 MB / 0.51 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3043, allocations: 30.56 kB / 0.5101 GB, free: 1.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.3043, allocations: 0 / 0.5101 GB, free: 1.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006525/0.3049, allocations: 249.2 kB / 0.5103 GB, free: 1.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.305, allocations: 59.41 kB / 0.5104 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.3052, allocations: 292.4 kB / 0.5106 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3052, allocations: 33.7 kB / 0.5107 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.3053, allocations: 171.7 kB / 0.5108 GB, free: 452 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.3053, allocations: 39.73 kB / 0.5109 GB, free: 412 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.3054, allocations: 45.66 kB / 0.5109 GB, free: 360 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.3055, allocations: 330.8 kB / 0.5112 GB, free: 20 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3056, allocations: 48.83 kB / 0.5113 GB, free: 15.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3057, allocations: 131.1 kB / 0.5114 GB, free: 15.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.3059, allocations: 194.9 kB / 0.5116 GB, free: 15.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3059, allocations: 0 / 0.5116 GB, free: 15.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002624/0.3061, allocations: 217.1 kB / 0.5118 GB, free: 15.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3062, allocations: 4 kB / 0.5118 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3062, allocations: 4 kB / 0.5118 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3062, allocations: 4 kB / 0.5118 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3063, allocations: 56.84 kB / 0.5119 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3063, allocations: 7.984 kB / 0.5119 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3064, allocations: 31.78 kB / 0.5119 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.3064, allocations: 8 kB / 0.5119 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001266/0.3066, allocations: 140.8 kB / 0.512 GB, free: 15.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001033/0.3067, allocations: 137.2 kB / 0.5122 GB, free: 14.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001814/0.3069, allocations: 202.7 kB / 0.5124 GB, free: 14.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.3069, allocations: 4 kB / 0.5124 GB, free: 14.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002392/0.3071, allocations: 217.4 kB / 0.5126 GB, free: 14.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.3071, allocations: 12.06 kB / 0.5126 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.3071, allocations: 7.938 kB / 0.5126 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-06/0.3071, allocations: 4 kB / 0.5126 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.3072, allocations: 47.91 kB / 0.5126 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.3072, allocations: 4 kB / 0.5127 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/0.3073, allocations: 15.98 kB / 0.5127 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3073, allocations: 8 kB / 0.5127 GB, free: 14.36 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 8.525e-05/0.3074, allocations: 196.1 kB / 0.5129 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.3074, allocations: 31.81 kB / 0.5129 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.3078, allocations: 307.3 kB / 0.5132 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3078, allocations: 4.094 kB / 0.5132 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3078, allocations: 3.938 kB / 0.5132 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3078, allocations: 3.984 kB / 0.5132 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.3081, allocations: 292.3 kB / 0.5135 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3081, allocations: 0 / 0.5135 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.847e-05/0.3082, allocations: 28.55 kB / 0.5135 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3082, allocations: 0 / 0.5135 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3082, allocations: 0 / 0.5135 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3082, allocations: 7.609 kB / 0.5135 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3082, allocations: 0 / 0.5135 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.3085, allocations: 283.1 kB / 0.5138 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.3085, allocations: 19.89 kB / 0.5138 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.3086, allocations: 15.84 kB / 0.5138 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-05/0.3087, allocations: 31.98 kB / 0.5138 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.3087, allocations: 7.922 kB / 0.5139 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3087, allocations: 8 kB / 0.5139 GB, free: 13.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002155/0.3089, allocations: 307.1 kB / 0.5142 GB, free: 12.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3089, allocations: 0 / 0.5142 GB, free: 12.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00279/0.3117, allocations: 1.31 MB / 0.5154 GB, free: 11.45 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.004528/0.3162, allocations: 2.307 MB / 0.5177 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.3166, allocations: 184 kB / 0.5179 GB, free: 8.938 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3166, allocations: 7.938 kB / 0.5179 GB, free: 8.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.3167, allocations: 41.28 kB / 0.5179 GB, free: 8.891 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.3171, allocations: 129.9 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.003447/0.3206, allocations: 3.364 MB / 0.5213 GB, free: 5.238 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.857e-05/0.3207, allocations: 169.1 kB / 0.5215 GB, free: 5.055 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.3209, allocations: 122.1 kB / 0.5216 GB, free: 4.938 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.321, allocations: 108.5 kB / 0.5217 GB, free: 4.832 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.321, allocations: 0 / 0.5217 GB, free: 4.832 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06741/0.3884, allocations: 53.43 MB / 0.5739 GB, free: 15.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.62/9.009, allocations: 3.938 kB / 0.5739 GB, free: 15.26 MB / 490.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ThermoPower_ThermoPower_Test_WaterComponents_TestTurbineStodolaPartialArc.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestTurbineStodolaPartialArc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.037907128222287] Failed to read output from testmodel.py, exit status != 0: 9.121947810053825 9.130566818 8.885990481 Calling exit ...