Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001582/0.001582, 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.00148/0.00148, allocations: 217 kB / 23.75 MB, free: 4.668 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.154/0.154, allocations: 26.82 MB / 340.7 MB, free: 8.188 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.TestGasTurbineStodola,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestGasTurbineStodola",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.002088/0.002088, allocations: 71.84 kB / 476.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3099, allocations: 60.48 MB / 0.5247 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.2051/0.515, allocations: 170.2 MB / 0.6909 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005649/0.5206, allocations: 3.606 MB / 0.6944 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.5211, allocations: 7.938 kB / 0.6944 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009112/0.522, allocations: 282.3 kB / 0.6947 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.5232, allocations: 489.4 kB / 0.6951 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.527, allocations: 1.459 MB / 0.6966 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.5287, allocations: 1.255 MB / 0.6978 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006038/0.5293, allocations: 318 kB / 0.6981 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008873/0.5302, allocations: 486.3 kB / 0.6986 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008333/0.531, allocations: 458.3 kB / 0.699 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.5312, allocations: 56 kB / 0.6991 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003149/0.5343, allocations: 1.388 MB / 0.7004 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004467/0.5348, allocations: 327.1 kB / 0.7007 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006462/0.5354, allocations: 414.2 kB / 0.7011 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.5383, allocations: 1.596 MB / 0.7027 GB, free: 14.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5383, allocations: 0 / 0.7027 GB, free: 14.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5383, allocations: 0 / 0.7027 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.783e-05/0.5384, allocations: 4 kB / 0.7027 GB, free: 14.08 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002255/0.5406, allocations: 1.091 MB / 0.7037 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5407, allocations: 8.031 kB / 0.7037 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.5408, allocations: 98.52 kB / 0.7038 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.5416, allocations: 147.4 kB / 0.704 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009078/0.5425, allocations: 476.9 kB / 0.7044 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.5425, allocations: 41.31 kB / 0.7045 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/0.5426, allocations: 52 kB / 0.7045 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.5437, allocations: 0.6158 MB / 0.7051 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.5437, allocations: 0 / 0.7051 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.5438, allocations: 24 kB / 0.7052 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.5438, allocations: 12 kB / 0.7052 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.5445, allocations: 473 kB / 0.7056 GB, free: 10.99 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.004261/0.5488, allocations: 2.024 MB / 0.7076 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.5491, allocations: 126.6 kB / 0.7077 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.5492, allocations: 52.83 kB / 0.7078 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.5494, allocations: 47.97 kB / 0.7078 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.5495, allocations: 46.48 kB / 0.7079 GB, free: 8.578 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.5495, allocations: 0 / 0.7079 GB, free: 8.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0005109/0.55, allocations: 236.4 kB / 0.7081 GB, free: 8.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.55, allocations: 59.28 kB / 0.7081 GB, free: 8.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.5513, allocations: 1.001 MB / 0.7091 GB, free: 7.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.5514, allocations: 33.7 kB / 0.7091 GB, free: 7.223 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.5517, allocations: 399.9 kB / 0.7095 GB, free: 6.824 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.5518, allocations: 59.53 kB / 0.7096 GB, free: 6.766 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.5519, allocations: 82.08 kB / 0.7097 GB, free: 6.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5521, allocations: 322 kB / 0.71 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.5523, allocations: 130.6 kB / 0.7101 GB, free: 6.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.5526, allocations: 258.3 kB / 0.7103 GB, free: 5.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.5531, allocations: 349.7 kB / 0.7107 GB, free: 5.508 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.5531, allocations: 3.938 kB / 0.7107 GB, free: 5.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007889/0.5539, allocations: 476.2 kB / 0.7111 GB, free: 5.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5539, allocations: 14.84 kB / 0.7111 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5539, allocations: 4 kB / 0.7111 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.554, allocations: 11.94 kB / 0.7112 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/0.5545, allocations: 103.9 kB / 0.7113 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004353/0.5549, allocations: 0.6055 MB / 0.7118 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.5554, allocations: 79.38 kB / 0.7119 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/0.5555, allocations: 28.09 kB / 0.712 GB, free: 4.172 MB / 0.545 GB 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.000378/0.5559, allocations: 253.5 kB / 0.7122 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.556, allocations: 75.53 kB / 0.7123 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.5564, allocations: 215.9 kB / 0.7125 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.5564, allocations: 0 / 0.7125 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5564, allocations: 0 / 0.7125 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.5564, allocations: 7.984 kB / 0.7125 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.5577, allocations: 0.7768 MB / 0.7132 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5577, allocations: 4 kB / 0.7132 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.558, allocations: 51.89 kB / 0.7133 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.558, allocations: 0 / 0.7133 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.558, allocations: 7.938 kB / 0.7133 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004027/0.5584, allocations: 0.5978 MB / 0.7139 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5584, allocations: 0 / 0.7139 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.5589, allocations: 389.5 kB / 0.7143 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.5592, allocations: 103.6 kB / 0.7144 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/0.5593, allocations: 8 kB / 0.7144 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.5597, allocations: 19.98 kB / 0.7144 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.5597, allocations: 7.984 kB / 0.7144 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.5597, allocations: 19.97 kB / 0.7144 GB, free: 1.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009491/0.5607, allocations: 0.7059 MB / 0.7151 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5607, allocations: 0 / 0.7151 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007711/0.5614, allocations: 215.6 kB / 0.7153 GB, free: 0.6172 MB / 0.545 GB 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.002641/0.5641, allocations: 1.372 MB / 0.7166 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006161/0.5647, allocations: 227.9 kB / 0.7169 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5647, allocations: 0 / 0.7169 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.5649, allocations: 63.91 kB / 0.7169 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.5664, allocations: 327.3 kB / 0.7172 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009229/0.5756, allocations: 6.346 MB / 0.7234 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.5763, allocations: 0.9135 MB / 0.7243 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000494/0.5767, allocations: 149.5 kB / 0.7245 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.5771, allocations: 239.4 kB / 0.7247 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.5771, allocations: 0 / 0.7247 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.276/0.8531, allocations: 22.51 MB / 0.7467 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.19, allocations: 14.12 kB / 0.7467 GB, free: 189.1 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_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_4_0_0-dev_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.111842827987857] Failed to read output from testmodel.py, exit status != 0: 15.368569590034895 15.379006595 14.838355284 Calling exit ...