Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.0008308/0.0008308, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.001349/0.001349, allocations: 170 kB / 23.95 MB, free: 0.6133 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.7956/0.7956, 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.1667/0.1667, 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.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 414.3 MB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.565e-05, allocations: 2.281 kB / 414.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.261/0.2611, allocations: 147.5 MB / 0.5487 GB, free: 9.871 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.2645, allocations: 3.47 MB / 0.552 GB, free: 6.391 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.2647, allocations: 7.938 kB / 0.552 GB, free: 6.383 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.2652, allocations: 258.2 kB / 0.5523 GB, free: 6.129 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005299/0.2658, allocations: 471 kB / 0.5527 GB, free: 5.668 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.2676, allocations: 1.525 MB / 0.5542 GB, free: 4.141 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000721/0.2683, allocations: 1.227 MB / 0.5554 GB, free: 2.91 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.2686, allocations: 314.4 kB / 0.5557 GB, free: 2.602 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007228/0.2693, allocations: 0.6234 MB / 0.5563 GB, free: 1.977 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.2696, allocations: 379 kB / 0.5567 GB, free: 1.605 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.2697, allocations: 56 kB / 0.5568 GB, free: 1.551 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.2709, allocations: 1.247 MB / 0.558 GB, free: 308 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.2711, allocations: 335.1 kB / 0.5583 GB, free: 15.97 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.2713, allocations: 295.3 kB / 0.5586 GB, free: 15.68 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.2725, allocations: 1.706 MB / 0.5602 GB, free: 13.97 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2725, allocations: 0 / 0.5602 GB, free: 13.97 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2725, allocations: 0 / 0.5602 GB, free: 13.97 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.2725, allocations: 8 kB / 0.5602 GB, free: 13.96 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001113/0.2736, allocations: 1.073 MB / 0.5613 GB, free: 12.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2737, allocations: 14.56 kB / 0.5613 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.909e-05/0.2737, allocations: 98.45 kB / 0.5614 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.2741, allocations: 143.4 kB / 0.5615 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.2746, allocations: 470.8 kB / 0.562 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.2747, allocations: 37.31 kB / 0.562 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.2747, allocations: 48 kB / 0.5621 GB, free: 12.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.2758, allocations: 1.045 MB / 0.5631 GB, free: 10.87 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.2758, allocations: 8 kB / 0.5631 GB, free: 10.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.2759, allocations: 20 kB / 0.5631 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.2759, allocations: 12 kB / 0.5631 GB, free: 10.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.2764, allocations: 476.9 kB / 0.5636 GB, free: 10.36 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.2787, allocations: 1.721 MB / 0.5653 GB, free: 8.582 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.2789, allocations: 118.6 kB / 0.5654 GB, free: 8.457 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.2789, allocations: 52.84 kB / 0.5654 GB, free: 8.402 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.2791, allocations: 55.89 kB / 0.5655 GB, free: 8.348 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2791, allocations: 38.56 kB / 0.5655 GB, free: 8.301 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.2791, allocations: 0 / 0.5655 GB, free: 8.301 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003267/0.2794, allocations: 241.1 kB / 0.5657 GB, free: 8.059 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.2794, allocations: 51.41 kB / 0.5658 GB, free: 7.996 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007576/0.2802, allocations: 0.9966 MB / 0.5668 GB, free: 6.988 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.2802, allocations: 37.64 kB / 0.5668 GB, free: 6.945 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.2804, allocations: 391.9 kB / 0.5672 GB, free: 6.559 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.2804, allocations: 63.52 kB / 0.5672 GB, free: 6.496 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/0.2805, allocations: 82.14 kB / 0.5673 GB, free: 6.406 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/0.2806, allocations: 321.9 kB / 0.5676 GB, free: 6.086 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.2808, allocations: 134.7 kB / 0.5678 GB, free: 5.949 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.281, allocations: 251 kB / 0.568 GB, free: 5.641 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.2813, allocations: 349.6 kB / 0.5683 GB, free: 5.234 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2813, allocations: 4 kB / 0.5683 GB, free: 5.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004655/0.2817, allocations: 468.6 kB / 0.5688 GB, free: 4.766 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2817, allocations: 8.562 kB / 0.5688 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2817, allocations: 4 kB / 0.5688 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2818, allocations: 8 kB / 0.5688 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.282, allocations: 115.5 kB / 0.5689 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002552/0.2823, allocations: 0.6132 MB / 0.5695 GB, free: 4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.2825, allocations: 75.39 kB / 0.5696 GB, free: 3.926 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.2825, allocations: 27.98 kB / 0.5696 GB, free: 3.898 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002226/0.2828, allocations: 249.5 kB / 0.5698 GB, free: 3.645 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.2828, allocations: 83.56 kB / 0.5699 GB, free: 3.562 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.2831, allocations: 217.2 kB / 0.5701 GB, free: 3.344 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2831, allocations: 0 / 0.5701 GB, free: 3.344 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2831, allocations: 3.938 kB / 0.5701 GB, free: 3.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2831, allocations: 0 / 0.5701 GB, free: 3.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006655/0.2838, allocations: 0.7029 MB / 0.5708 GB, free: 2.578 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2838, allocations: 0 / 0.5708 GB, free: 2.578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.2839, allocations: 48 kB / 0.5709 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2839, allocations: 3.984 kB / 0.5709 GB, free: 2.527 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2839, allocations: 12.09 kB / 0.5709 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001923/0.2841, allocations: 0.6055 MB / 0.5715 GB, free: 1.887 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2841, allocations: 0 / 0.5715 GB, free: 1.887 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.2844, allocations: 382.3 kB / 0.5718 GB, free: 1.488 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.2845, allocations: 103.5 kB / 0.5719 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.2845, allocations: 0 / 0.5719 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.2847, allocations: 23.92 kB / 0.572 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.2847, allocations: 11.97 kB / 0.572 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.2848, allocations: 28.08 kB / 0.572 GB, free: 1.324 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005139/0.2853, allocations: 0.6981 MB / 0.5727 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2853, allocations: 0 / 0.5727 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004086/0.2857, allocations: 211.6 kB / 0.5729 GB, free: 436 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/0.287, allocations: 1.393 MB / 0.5742 GB, free: 15.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.2873, allocations: 235.6 kB / 0.5745 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2873, allocations: 0 / 0.5745 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.2874, allocations: 63.91 kB / 0.5745 GB, free: 14.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007981/0.2882, allocations: 331.8 kB / 0.5748 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005365/0.2935, allocations: 6.308 MB / 0.581 GB, free: 7.848 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.2937, allocations: 325.7 kB / 0.5813 GB, free: 7.504 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002401/0.294, allocations: 133.6 kB / 0.5814 GB, free: 7.371 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.2941, allocations: 236.4 kB / 0.5817 GB, free: 7.141 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2941, allocations: 0 / 0.5817 GB, free: 7.141 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.3249, allocations: 24.2 MB / 0.6053 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/8.696, allocations: 15.91 kB / 0.6053 GB, free: 14.75 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.492443224415183] Failed to read output from testmodel.py, exit status != 0: 8.814726151525974 8.826074822 8.551035385 Calling exit ...