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.0007682/0.0007682, allocations: 83.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.0008578/0.0008578, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8407/0.8407, allocations: 158.6 MB / 185.7 MB, free: 3.051 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.1722/0.1722, 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.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.643e-06/1.643e-06, allocations: 0 / 414.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.558e-05, allocations: 2.281 kB / 414.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3044/0.3044, allocations: 147.5 MB / 0.5486 GB, free: 9.906 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.3076, allocations: 3.471 MB / 0.552 GB, free: 6.426 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.3079, allocations: 15.88 kB / 0.5521 GB, free: 6.41 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006347/0.3085, allocations: 254.2 kB / 0.5523 GB, free: 6.16 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.0006621/0.3092, allocations: 473.1 kB / 0.5527 GB, free: 5.695 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.3116, allocations: 1.517 MB / 0.5542 GB, free: 4.176 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009453/0.3125, allocations: 1.223 MB / 0.5554 GB, free: 2.949 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.3129, allocations: 322.3 kB / 0.5557 GB, free: 2.633 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.3135, allocations: 0.6157 MB / 0.5563 GB, free: 2.016 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.3139, allocations: 386.9 kB / 0.5567 GB, free: 1.637 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.223e-05/0.3139, allocations: 56 kB / 0.5568 GB, free: 1.582 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.3154, allocations: 1.243 MB / 0.558 GB, free: 344 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.3156, allocations: 335.1 kB / 0.5583 GB, free: 8 kB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.3158, allocations: 295.5 kB / 0.5586 GB, free: 15.71 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.3174, allocations: 1.72 MB / 0.5602 GB, free: 13.99 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3174, allocations: 0 / 0.5602 GB, free: 13.99 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3174, allocations: 0 / 0.5602 GB, free: 13.99 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.3174, allocations: 0 / 0.5602 GB, free: 13.99 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.001199/0.3186, allocations: 1.075 MB / 0.5613 GB, free: 12.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3186, allocations: 8.031 kB / 0.5613 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.477e-05/0.3187, allocations: 102.5 kB / 0.5614 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.3191, allocations: 135.4 kB / 0.5615 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.3196, allocations: 478.7 kB / 0.562 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.3196, allocations: 37.31 kB / 0.562 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.3197, allocations: 56 kB / 0.5621 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/0.3205, allocations: 1.037 MB / 0.5631 GB, free: 10.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3205, allocations: 3.984 kB / 0.5631 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.3206, allocations: 24 kB / 0.5631 GB, free: 10.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.3206, allocations: 12 kB / 0.5631 GB, free: 10.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.3211, allocations: 472.9 kB / 0.5636 GB, free: 10.39 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.002242/0.3233, allocations: 1.721 MB / 0.5653 GB, free: 8.613 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.3235, allocations: 130.5 kB / 0.5654 GB, free: 8.477 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.3235, allocations: 52.83 kB / 0.5654 GB, free: 8.422 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.3237, allocations: 43.97 kB / 0.5655 GB, free: 8.379 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.3237, allocations: 42.55 kB / 0.5655 GB, free: 8.328 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.3237, allocations: 0 / 0.5655 GB, free: 8.328 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003468/0.3241, allocations: 241.1 kB / 0.5657 GB, free: 8.086 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.3241, allocations: 55.41 kB / 0.5658 GB, free: 8.02 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008243/0.3249, allocations: 0.9966 MB / 0.5668 GB, free: 7.012 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3249, allocations: 33.7 kB / 0.5668 GB, free: 6.973 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3251, allocations: 383.9 kB / 0.5672 GB, free: 6.594 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3252, allocations: 63.53 kB / 0.5672 GB, free: 6.531 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.3252, allocations: 86.08 kB / 0.5673 GB, free: 6.438 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.3253, allocations: 329.9 kB / 0.5676 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3255, allocations: 134.7 kB / 0.5678 GB, free: 5.973 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.3256, allocations: 251 kB / 0.568 GB, free: 5.664 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.3259, allocations: 353.5 kB / 0.5683 GB, free: 5.258 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3259, allocations: 3.75 kB / 0.5683 GB, free: 5.258 MB / 474.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004691/0.3264, allocations: 472.7 kB / 0.5688 GB, free: 4.789 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3264, allocations: 8 kB / 0.5688 GB, free: 4.781 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3264, allocations: 4 kB / 0.5688 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3264, allocations: 8 kB / 0.5688 GB, free: 4.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.3267, allocations: 111.8 kB / 0.5689 GB, free: 4.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004894/0.3272, allocations: 0.6059 MB / 0.5695 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.3274, allocations: 87.41 kB / 0.5696 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.3275, allocations: 20 kB / 0.5696 GB, free: 3.926 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.0002474/0.3277, allocations: 241.7 kB / 0.5698 GB, free: 3.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.3278, allocations: 83.47 kB / 0.5699 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.3281, allocations: 221 kB / 0.5701 GB, free: 3.375 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3281, allocations: 4 kB / 0.5701 GB, free: 3.371 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3281, allocations: 0 / 0.5701 GB, free: 3.371 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3281, allocations: 0 / 0.5701 GB, free: 3.371 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/0.3288, allocations: 0.699 MB / 0.5708 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3288, allocations: 4 kB / 0.5708 GB, free: 2.609 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.3289, allocations: 43.91 kB / 0.5709 GB, free: 2.566 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3289, allocations: 4 kB / 0.5709 GB, free: 2.562 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3289, allocations: 7.984 kB / 0.5709 GB, free: 2.555 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002569/0.3292, allocations: 0.6015 MB / 0.5715 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3292, allocations: 7.969 kB / 0.5715 GB, free: 1.922 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.3295, allocations: 386.7 kB / 0.5718 GB, free: 1.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3297, allocations: 95.44 kB / 0.5719 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.3297, allocations: 8 kB / 0.5719 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.3299, allocations: 23.91 kB / 0.572 GB, free: 1.395 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.3299, allocations: 11.98 kB / 0.572 GB, free: 1.383 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.33, allocations: 15.98 kB / 0.572 GB, free: 1.367 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005918/0.3306, allocations: 0.6981 MB / 0.5727 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3306, allocations: 3.938 kB / 0.5727 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005181/0.3311, allocations: 219.6 kB / 0.5729 GB, free: 468 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.001446/0.3325, allocations: 1.394 MB / 0.5742 GB, free: 15.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.3329, allocations: 232.4 kB / 0.5745 GB, free: 14.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3329, allocations: 4.375 kB / 0.5745 GB, free: 14.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.3329, allocations: 67.91 kB / 0.5745 GB, free: 14.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.3337, allocations: 326.7 kB / 0.5748 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.339, allocations: 6.312 MB / 0.581 GB, free: 7.875 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.3392, allocations: 317.8 kB / 0.5813 GB, free: 7.539 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.3395, allocations: 141.9 kB / 0.5814 GB, free: 7.398 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.3397, allocations: 240.4 kB / 0.5817 GB, free: 7.164 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3397, allocations: 0 / 0.5817 GB, free: 7.164 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.3736, allocations: 24.2 MB / 0.6053 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.19, allocations: 7.844 kB / 0.6053 GB, free: 14.78 MB / 0.5105 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.203618387691677] Failed to read output from testmodel.py, exit status != 0: 8.307663320563734 8.319885891 8.00032716 Calling exit ...