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.001527/0.001527, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.002304/0.002304, allocations: 208.2 kB / 23.72 MB, free: 4.496 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.743/1.743, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.3539/0.3539, allocations: 49.61 MB / 336.4 MB, free: 3.887 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.002359/0.002359, allocations: 75.89 kB / 476.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1513, allocations: 62.41 MB / 0.5261 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.5275/0.6789, allocations: 147.4 MB / 0.6701 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007787/0.6867, allocations: 3.502 MB / 0.6735 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007309/0.6874, allocations: 15.88 kB / 0.6735 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.6887, allocations: 250.4 kB / 0.6738 GB, free: 14.06 MB / 0.5137 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.001847/0.6906, allocations: 0.4937 MB / 0.6743 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00506/0.6956, allocations: 1.58 MB / 0.6758 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002263/0.6979, allocations: 1.263 MB / 0.677 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009874/0.6989, allocations: 333.8 kB / 0.6774 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.7002, allocations: 498.3 kB / 0.6778 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.7014, allocations: 462.3 kB / 0.6783 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.7016, allocations: 56 kB / 0.6783 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/0.7053, allocations: 1.232 MB / 0.6795 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006158/0.7059, allocations: 379 kB / 0.6799 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009145/0.7068, allocations: 386 kB / 0.6803 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.7105, allocations: 1.727 MB / 0.6819 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.7105, allocations: 0 / 0.6819 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7105, allocations: 0 / 0.6819 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.882e-05/0.7106, allocations: 0 / 0.6819 GB, free: 5.68 MB / 0.5137 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.003108/0.7137, allocations: 1.231 MB / 0.6831 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.7138, allocations: 16.03 kB / 0.6832 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.7139, allocations: 98.45 kB / 0.6833 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007926/0.7147, allocations: 155.8 kB / 0.6834 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.7159, allocations: 0.5949 MB / 0.684 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/0.7159, allocations: 37 kB / 0.684 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.716, allocations: 59.98 kB / 0.6841 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.7173, allocations: 1.022 MB / 0.6851 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.7174, allocations: 7.5 kB / 0.6851 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.7174, allocations: 27.94 kB / 0.6851 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.7174, allocations: 15.98 kB / 0.6851 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.7182, allocations: 463.7 kB / 0.6856 GB, free: 1.785 MB / 0.5137 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.004132/0.7223, allocations: 1.751 MB / 0.6873 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.7226, allocations: 127.7 kB / 0.6874 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.7227, allocations: 48.84 kB / 0.6874 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/0.723, allocations: 47.95 kB / 0.6875 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.723, allocations: 38.56 kB / 0.6875 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.723, allocations: 0 / 0.6875 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005964/0.7236, allocations: 257.3 kB / 0.6878 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.7237, allocations: 59.34 kB / 0.6878 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.7254, allocations: 1.344 MB / 0.6891 GB, free: 14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.7255, allocations: 33.64 kB / 0.6892 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/0.7259, allocations: 483.6 kB / 0.6896 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.726, allocations: 51.59 kB / 0.6897 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.7261, allocations: 86.02 kB / 0.6898 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.7262, allocations: 321.9 kB / 0.6901 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.7265, allocations: 130.6 kB / 0.6902 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.7268, allocations: 245.4 kB / 0.6904 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.7273, allocations: 336.8 kB / 0.6908 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.7273, allocations: 8 kB / 0.6908 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007905/0.7281, allocations: 480.5 kB / 0.6912 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.7281, allocations: 4.531 kB / 0.6912 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.7281, allocations: 8 kB / 0.6912 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.7281, allocations: 11.94 kB / 0.6912 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.7286, allocations: 103.8 kB / 0.6913 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004897/0.7291, allocations: 0.6055 MB / 0.6919 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.7295, allocations: 79.39 kB / 0.692 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/0.7296, allocations: 20 kB / 0.692 GB, free: 10.87 MB / 0.5294 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.000445/0.73, allocations: 297.5 kB / 0.6923 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.7302, allocations: 103.4 kB / 0.6924 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.7306, allocations: 241.7 kB / 0.6926 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.7306, allocations: 0 / 0.6926 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7306, allocations: 0 / 0.6926 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.7306, allocations: 3.984 kB / 0.6926 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.7313, allocations: 465.5 kB / 0.6931 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.7313, allocations: 3.938 kB / 0.6931 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.7316, allocations: 47.89 kB / 0.6931 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.7316, allocations: 2.75 kB / 0.6931 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.7316, allocations: 8 kB / 0.6931 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003762/0.732, allocations: 0.5994 MB / 0.6937 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.732, allocations: 0 / 0.6937 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.7325, allocations: 387.1 kB / 0.6941 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.7328, allocations: 123.4 kB / 0.6942 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/0.7329, allocations: 0 / 0.6942 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.7333, allocations: 19.98 kB / 0.6942 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.7333, allocations: 11.97 kB / 0.6942 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.7334, allocations: 15.98 kB / 0.6943 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00122/0.7346, allocations: 0.9462 MB / 0.6952 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7346, allocations: 160 / 0.6952 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007485/0.7353, allocations: 235.5 kB / 0.6954 GB, free: 7.297 MB / 0.5294 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.00258/0.7379, allocations: 1.38 MB / 0.6968 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.7384, allocations: 232.2 kB / 0.697 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7384, allocations: 0 / 0.697 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.7386, allocations: 67.91 kB / 0.697 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.7401, allocations: 335.6 kB / 0.6974 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.7509, allocations: 8.01 MB / 0.7052 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.7514, allocations: 392.2 kB / 0.7056 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005967/0.752, allocations: 162.6 kB / 0.7057 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/0.7525, allocations: 299.3 kB / 0.706 GB, free: 12.14 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/0.7525, allocations: 0 / 0.706 GB, free: 12.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07317/0.8257, allocations: 26.8 MB / 0.7322 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.8, allocations: 3.953 kB / 0.7322 GB, free: 1.152 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.355025463271886] Failed to read output from testmodel.py, exit status != 0: 14.989516090601683 15.013160515 14.299059967 Calling exit ...