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.001313/0.001313, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001528/0.001528, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.418/1.418, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] 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.2948/0.2948, allocations: 49.56 MB / 336.3 MB, free: 4.109 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 71.91 kB / 476.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1158, allocations: 62.42 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4243/0.5401, allocations: 171.3 MB / 0.6934 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006456/0.5465, allocations: 3.84 MB / 0.6971 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.5469, allocations: 11.94 kB / 0.6971 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008226/0.5478, allocations: 282.3 kB / 0.6974 GB, free: 6.695 MB / 0.5294 GB [/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.001043/0.5488, allocations: 0.4898 MB / 0.6979 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0039/0.5527, allocations: 1.588 MB / 0.6994 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.5544, allocations: 1.263 MB / 0.7007 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.555, allocations: 333.8 kB / 0.701 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007577/0.5557, allocations: 498.4 kB / 0.7014 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006618/0.5564, allocations: 494.3 kB / 0.7019 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.155e-05/0.5565, allocations: 59.94 kB / 0.702 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.5594, allocations: 1.505 MB / 0.7034 GB, free: 488 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003887/0.5598, allocations: 383 kB / 0.7038 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005217/0.5604, allocations: 469.6 kB / 0.7043 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.5629, allocations: 1.735 MB / 0.706 GB, free: 13.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5629, allocations: 4 kB / 0.706 GB, free: 13.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5629, allocations: 0 / 0.706 GB, free: 13.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.5629, allocations: 0 / 0.706 GB, free: 13.9 MB / 0.545 GB 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.002091/0.565, allocations: 1.239 MB / 0.7072 GB, free: 12.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.565, allocations: 12.03 kB / 0.7072 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001412/0.5652, allocations: 98.45 kB / 0.7073 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000721/0.5659, allocations: 159.3 kB / 0.7074 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.5669, allocations: 0.591 MB / 0.708 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.567, allocations: 37 kB / 0.708 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/0.5671, allocations: 55.98 kB / 0.7081 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.5681, allocations: 0.5957 MB / 0.7087 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.5681, allocations: 7.938 kB / 0.7087 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.5682, allocations: 27.94 kB / 0.7087 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.5682, allocations: 12 kB / 0.7087 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000751/0.5689, allocations: 467.7 kB / 0.7092 GB, free: 10.53 MB / 0.545 GB 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.004125/0.5731, allocations: 2.053 MB / 0.7112 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.5733, allocations: 126.7 kB / 0.7113 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/0.5734, allocations: 48.84 kB / 0.7113 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/0.5737, allocations: 47.95 kB / 0.7114 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.5737, allocations: 34.56 kB / 0.7114 GB, free: 8.105 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.5737, allocations: 8 kB / 0.7114 GB, free: 8.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0005587/0.5743, allocations: 261.6 kB / 0.7117 GB, free: 7.836 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.5743, allocations: 55.41 kB / 0.7117 GB, free: 7.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.5761, allocations: 1.34 MB / 0.713 GB, free: 6.406 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.5761, allocations: 25.7 kB / 0.7131 GB, free: 6.375 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.5766, allocations: 479.8 kB / 0.7135 GB, free: 5.902 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.5766, allocations: 51.58 kB / 0.7136 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.5768, allocations: 89.97 kB / 0.7137 GB, free: 5.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5769, allocations: 329.9 kB / 0.714 GB, free: 5.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.5771, allocations: 130.5 kB / 0.7141 GB, free: 5.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.5775, allocations: 253.4 kB / 0.7143 GB, free: 4.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.5779, allocations: 324.9 kB / 0.7146 GB, free: 4.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.5779, allocations: 4 kB / 0.7146 GB, free: 4.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008129/0.5787, allocations: 480.5 kB / 0.7151 GB, free: 4.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5788, allocations: 4 kB / 0.7151 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5788, allocations: 8.875 kB / 0.7151 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.5788, allocations: 4 kB / 0.7151 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.5793, allocations: 107.8 kB / 0.7152 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004552/0.5798, allocations: 0.6137 MB / 0.7158 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.5802, allocations: 75.39 kB / 0.7159 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.5803, allocations: 23.98 kB / 0.7159 GB, free: 3.281 MB / 0.545 GB 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.000426/0.5807, allocations: 299.8 kB / 0.7162 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.5809, allocations: 95.38 kB / 0.7163 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.5813, allocations: 253.7 kB / 0.7165 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.5813, allocations: 4 kB / 0.7165 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5813, allocations: 0 / 0.7165 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5813, allocations: 0 / 0.7165 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/0.5821, allocations: 0.5208 MB / 0.717 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5821, allocations: 3.938 kB / 0.7171 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.5823, allocations: 43.97 kB / 0.7171 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5823, allocations: 0 / 0.7171 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.5823, allocations: 8 kB / 0.7171 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003876/0.5827, allocations: 0.5977 MB / 0.7177 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5827, allocations: 1.641 kB / 0.7177 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.5832, allocations: 387.2 kB / 0.7181 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.5835, allocations: 123.4 kB / 0.7182 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.844e-05/0.5836, allocations: 9 kB / 0.7182 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.584, allocations: 24.08 kB / 0.7182 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.584, allocations: 7.984 kB / 0.7182 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.5841, allocations: 19.97 kB / 0.7182 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001277/0.5853, allocations: 0.9463 MB / 0.7192 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5853, allocations: 0 / 0.7192 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007338/0.5861, allocations: 231.5 kB / 0.7194 GB, free: 15.63 MB / 0.5606 GB 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.00261/0.5887, allocations: 1.362 MB / 0.7207 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005579/0.5892, allocations: 228.6 kB / 0.7209 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5892, allocations: 4 kB / 0.7209 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.5894, allocations: 71.84 kB / 0.721 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.591, allocations: 332 kB / 0.7213 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.6022, allocations: 8.021 MB / 0.7291 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.6029, allocations: 0.9842 MB / 0.7301 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005289/0.6034, allocations: 166.7 kB / 0.7303 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.6038, allocations: 295.3 kB / 0.7305 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.6038, allocations: 0 / 0.7305 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06966/0.6735, allocations: 25.23 MB / 0.7552 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.58, allocations: 4 kB / 0.7552 GB, free: 10.49 MB / 0.5919 GB " [Timeout remaining time 644] (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 sys.exit(0), Time elapsed: 18.884115550001297] Failed to read output from testmodel.py, exit status != 0: 15.778143243998784 16.105143124 15.538432115 Calling exit ...