Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001626/0.001626, allocations: 116 kB / 20.43 MB, free: 1.449 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.002108/0.002108, allocations: 214.6 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1573/0.1573, allocations: 26.81 MB / 340.7 MB, free: 8.227 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0-dev_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002167/0.002167, allocations: 68.14 kB / 476.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.318, allocations: 60.47 MB / 0.5247 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.2051/0.523, allocations: 170.1 MB / 0.6908 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006022/0.5291, allocations: 3.665 MB / 0.6944 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004695/0.5295, allocations: 7.938 kB / 0.6944 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.5306, allocations: 278.3 kB / 0.6947 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.532, allocations: 0.5365 MB / 0.6952 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004078/0.5361, allocations: 1.534 MB / 0.6967 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.5378, allocations: 1.282 MB / 0.6979 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006379/0.5385, allocations: 336.8 kB / 0.6983 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009534/0.5394, allocations: 0.506 MB / 0.6988 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008299/0.5403, allocations: 490.3 kB / 0.6992 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.5404, allocations: 60 kB / 0.6993 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.5433, allocations: 1.403 MB / 0.7007 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004186/0.5437, allocations: 382.9 kB / 0.701 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006794/0.5444, allocations: 465.7 kB / 0.7015 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.5475, allocations: 1.725 MB / 0.7031 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5475, allocations: 4 kB / 0.7031 GB, free: 13.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5475, allocations: 0 / 0.7031 GB, free: 13.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.5475, allocations: 0 / 0.7031 GB, free: 13.92 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.002181/0.5497, allocations: 1.25 MB / 0.7044 GB, free: 12.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5497, allocations: 8.031 kB / 0.7044 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.5498, allocations: 98.52 kB / 0.7045 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007384/0.5506, allocations: 167.2 kB / 0.7046 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.5516, allocations: 0.6105 MB / 0.7052 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.5516, allocations: 33 kB / 0.7053 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.5517, allocations: 56 kB / 0.7053 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.5527, allocations: 0.6035 MB / 0.7059 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.5528, allocations: 3.984 kB / 0.7059 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.5528, allocations: 24 kB / 0.7059 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.5528, allocations: 12 kB / 0.7059 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007417/0.5536, allocations: 467.7 kB / 0.7064 GB, free: 10.52 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.003948/0.5575, allocations: 2.053 MB / 0.7084 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.5578, allocations: 130.6 kB / 0.7085 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.964e-05/0.5579, allocations: 49.09 kB / 0.7086 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.5581, allocations: 55.95 kB / 0.7086 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.5582, allocations: 38.55 kB / 0.7087 GB, free: 8.086 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.5582, allocations: 0 / 0.7087 GB, free: 8.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0005178/0.5587, allocations: 257.1 kB / 0.7089 GB, free: 7.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.5587, allocations: 59.28 kB / 0.709 GB, free: 7.758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.5607, allocations: 1.361 MB / 0.7103 GB, free: 6.375 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.5607, allocations: 33.64 kB / 0.7103 GB, free: 6.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.5612, allocations: 479.8 kB / 0.7108 GB, free: 5.863 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.5613, allocations: 59.59 kB / 0.7108 GB, free: 5.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.5614, allocations: 81.97 kB / 0.7109 GB, free: 5.719 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5615, allocations: 326 kB / 0.7112 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.5618, allocations: 126.6 kB / 0.7113 GB, free: 5.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.5621, allocations: 245.5 kB / 0.7116 GB, free: 4.969 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.5626, allocations: 336.8 kB / 0.7119 GB, free: 4.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5626, allocations: 4 kB / 0.7119 GB, free: 4.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008613/0.5634, allocations: 479.5 kB / 0.7124 GB, free: 4.102 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5635, allocations: 10.97 kB / 0.7124 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5635, allocations: 8.469 kB / 0.7124 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.5635, allocations: 12 kB / 0.7124 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.564, allocations: 103.8 kB / 0.7125 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004345/0.5644, allocations: 0.6016 MB / 0.7131 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.5648, allocations: 79.39 kB / 0.7131 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.5649, allocations: 27.98 kB / 0.7132 GB, free: 3.242 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.0004158/0.5653, allocations: 305.6 kB / 0.7135 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.5655, allocations: 95.39 kB / 0.7136 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.5659, allocations: 245.9 kB / 0.7138 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5659, allocations: 0 / 0.7138 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5659, allocations: 0 / 0.7138 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.5659, allocations: 0 / 0.7138 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/0.5666, allocations: 0.5444 MB / 0.7143 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5666, allocations: 0 / 0.7143 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.5669, allocations: 51.91 kB / 0.7144 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5669, allocations: 4 kB / 0.7144 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.5669, allocations: 0 / 0.7144 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004277/0.5673, allocations: 0.5938 MB / 0.715 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5673, allocations: 3.938 kB / 0.715 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.5678, allocations: 391.1 kB / 0.7153 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.5681, allocations: 135.5 kB / 0.7155 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.5682, allocations: 4 kB / 0.7155 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.5686, allocations: 15.98 kB / 0.7155 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.5686, allocations: 11.92 kB / 0.7155 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.5687, allocations: 15.98 kB / 0.7155 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001252/0.5699, allocations: 0.9741 MB / 0.7165 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5699, allocations: 0 / 0.7165 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007881/0.5707, allocations: 219.6 kB / 0.7167 GB, free: 15.56 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.002484/0.5732, allocations: 1.357 MB / 0.718 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005193/0.5737, allocations: 220.4 kB / 0.7182 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.5737, allocations: 8.375 kB / 0.7182 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.5739, allocations: 59.91 kB / 0.7183 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.5753, allocations: 337.6 kB / 0.7186 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.5868, allocations: 8.08 MB / 0.7265 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/0.5876, allocations: 0.9996 MB / 0.7275 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005808/0.5882, allocations: 166.7 kB / 0.7276 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.5886, allocations: 299.3 kB / 0.7279 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.5886, allocations: 0 / 0.7279 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2622/0.8507, allocations: 25.24 MB / 0.7526 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.47, allocations: 19.5 kB / 0.7526 GB, free: 186.3 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_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_4_0_0-dev_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.37724732910283] Failed to read output from testmodel.py, exit status != 0: 15.655965181998909 15.675975472 15.124811588 Calling exit ...