Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.0008784/0.0008784, 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.001166/0.001166, 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.8877/0.8877, allocations: 158.6 MB / 185.7 MB, free: 3.027 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.1886/0.1886, 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.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 414.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.042e-05, allocations: 2.281 kB / 414.3 MB, free: 6.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3139/0.3139, allocations: 147.4 MB / 0.5486 GB, free: 9.973 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003984/0.3179, allocations: 3.51 MB / 0.552 GB, free: 6.453 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004477/0.3184, allocations: 15.88 kB / 0.552 GB, free: 6.438 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.3191, allocations: 250.3 kB / 0.5522 GB, free: 6.191 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.0007795/0.3199, allocations: 0.5127 MB / 0.5528 GB, free: 5.676 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.3228, allocations: 1.606 MB / 0.5543 GB, free: 4.066 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.3239, allocations: 1.258 MB / 0.5555 GB, free: 2.805 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.3243, allocations: 326.4 kB / 0.5559 GB, free: 2.484 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007081/0.325, allocations: 0.6467 MB / 0.5565 GB, free: 1.836 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.3254, allocations: 418.9 kB / 0.5569 GB, free: 1.426 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.3254, allocations: 56 kB / 0.5569 GB, free: 1.371 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.3272, allocations: 1.243 MB / 0.5582 GB, free: 128 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.3275, allocations: 395.1 kB / 0.5585 GB, free: 15.73 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.3277, allocations: 315.2 kB / 0.5588 GB, free: 15.43 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.3293, allocations: 1.815 MB / 0.5606 GB, free: 13.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3293, allocations: 2.719 kB / 0.5606 GB, free: 13.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3293, allocations: 4 kB / 0.5606 GB, free: 13.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.3293, allocations: 0 / 0.5606 GB, free: 13.6 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001308/0.3306, allocations: 1.231 MB / 0.5618 GB, free: 12.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3306, allocations: 8.031 kB / 0.5618 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.578e-05/0.3307, allocations: 102.4 kB / 0.5619 GB, free: 12.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004092/0.3311, allocations: 159.3 kB / 0.5621 GB, free: 12.06 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.3317, allocations: 0.5949 MB / 0.5627 GB, free: 11.44 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.3318, allocations: 37 kB / 0.5627 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.3318, allocations: 48 kB / 0.5627 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009137/0.3327, allocations: 1.03 MB / 0.5637 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3328, allocations: 7.953 kB / 0.5637 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.3328, allocations: 23.94 kB / 0.5638 GB, free: 10.17 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3328, allocations: 16 kB / 0.5638 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.3333, allocations: 467.7 kB / 0.5642 GB, free: 9.699 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.002307/0.3356, allocations: 1.747 MB / 0.5659 GB, free: 7.902 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.3358, allocations: 127.8 kB / 0.5661 GB, free: 7.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.3358, allocations: 52.92 kB / 0.5661 GB, free: 7.719 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.336, allocations: 55.91 kB / 0.5662 GB, free: 7.664 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.336, allocations: 42.55 kB / 0.5662 GB, free: 7.613 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.336, allocations: 0 / 0.5662 GB, free: 7.613 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003596/0.3364, allocations: 257 kB / 0.5665 GB, free: 7.355 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.3364, allocations: 51.41 kB / 0.5665 GB, free: 7.293 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3374, allocations: 1.344 MB / 0.5678 GB, free: 5.926 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3375, allocations: 33.7 kB / 0.5678 GB, free: 5.887 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.3377, allocations: 471.8 kB / 0.5683 GB, free: 5.422 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.3377, allocations: 59.53 kB / 0.5684 GB, free: 5.363 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.3378, allocations: 85.97 kB / 0.5684 GB, free: 5.273 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.3379, allocations: 329.9 kB / 0.5687 GB, free: 4.945 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3381, allocations: 126.7 kB / 0.5689 GB, free: 4.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.3382, allocations: 246 kB / 0.5691 GB, free: 4.516 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.3385, allocations: 340.8 kB / 0.5694 GB, free: 4.125 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3386, allocations: 4 kB / 0.5694 GB, free: 4.121 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000461/0.339, allocations: 480.5 kB / 0.5699 GB, free: 3.645 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.339, allocations: 8 kB / 0.5699 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.339, allocations: 4 kB / 0.5699 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3391, allocations: 4.531 kB / 0.5699 GB, free: 3.629 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.3395, allocations: 111.8 kB / 0.57 GB, free: 3.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002826/0.3397, allocations: 0.6055 MB / 0.5706 GB, free: 2.891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.34, allocations: 79.39 kB / 0.5707 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.34, allocations: 16 kB / 0.5707 GB, free: 2.797 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (47): * Single equations (assignments): 46 * 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.0002758/0.3403, allocations: 309.6 kB / 0.571 GB, free: 2.484 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.067e-05/0.3404, allocations: 91.44 kB / 0.5711 GB, free: 2.395 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.3407, allocations: 245.7 kB / 0.5713 GB, free: 2.145 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3407, allocations: 4.094 kB / 0.5713 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3407, allocations: 0 / 0.5713 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3407, allocations: 7.984 kB / 0.5713 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.3411, allocations: 461.5 kB / 0.5718 GB, free: 1.641 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3411, allocations: 3.984 kB / 0.5718 GB, free: 1.637 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.3412, allocations: 47.97 kB / 0.5718 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3412, allocations: 0 / 0.5718 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3412, allocations: 3.938 kB / 0.5718 GB, free: 1.586 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000227/0.3414, allocations: 0.5938 MB / 0.5724 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3414, allocations: 10.38 kB / 0.5724 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.3417, allocations: 387.7 kB / 0.5728 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3419, allocations: 123.4 kB / 0.5729 GB, free: 456 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.3419, allocations: 8 kB / 0.5729 GB, free: 448 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.3421, allocations: 15.98 kB / 0.5729 GB, free: 432 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.3422, allocations: 11.97 kB / 0.5729 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.3422, allocations: 19.98 kB / 0.5729 GB, free: 400 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007249/0.3429, allocations: 0.9463 MB / 0.5739 GB, free: 15.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3429, allocations: 0 / 0.5739 GB, free: 15.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005226/0.3434, allocations: 223.6 kB / 0.5741 GB, free: 15.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (14): * Single equations (assignments): 13 * 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.001461/0.3449, allocations: 1.391 MB / 0.5754 GB, free: 13.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003602/0.3453, allocations: 232.6 kB / 0.5757 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3453, allocations: 4 kB / 0.5757 GB, free: 13.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.047e-05/0.3453, allocations: 59.91 kB / 0.5757 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008515/0.3462, allocations: 334.9 kB / 0.576 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/0.3537, allocations: 7.994 MB / 0.5839 GB, free: 4.941 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.3541, allocations: 396.2 kB / 0.5842 GB, free: 4.527 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003798/0.3545, allocations: 170.6 kB / 0.5844 GB, free: 4.355 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.3548, allocations: 296.4 kB / 0.5847 GB, free: 4.066 MB / 490.7 MB Notification: Performance of SimCode: time 1.372e-06/0.3548, allocations: 0 / 0.5847 GB, free: 4.066 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.3927, allocations: 26.86 MB / 0.6109 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/8.133, allocations: 3.938 kB / 0.6109 GB, free: 9.02 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine_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_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.38354413304478] Failed to read output from testmodel.py, exit status != 0: 8.252100207842886 8.416928277 8.085774438 Calling exit ...