Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001411/0.001411, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001512/0.001512, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.688/1.688, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.3456/0.3456, allocations: 49.6 MB / 336.4 MB, free: 3.883 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.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",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.002374/0.002374, allocations: 75.89 kB / 476.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1551, allocations: 62.42 MB / 0.5261 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.5153/0.6704, allocations: 147.5 MB / 0.6702 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005999/0.6764, allocations: 3.461 MB / 0.6736 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/0.677, allocations: 11.88 kB / 0.6736 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.6781, allocations: 258.4 kB / 0.6738 GB, free: 13.99 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.001436/0.6796, allocations: 453.7 kB / 0.6743 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00442/0.684, allocations: 1.502 MB / 0.6757 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.6858, allocations: 1.22 MB / 0.6769 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007188/0.6865, allocations: 322.4 kB / 0.6772 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.6875, allocations: 482.3 kB / 0.6777 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.6886, allocations: 418.4 kB / 0.6781 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.6888, allocations: 56 kB / 0.6781 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.692, allocations: 1.228 MB / 0.6793 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004207/0.6924, allocations: 331.1 kB / 0.6796 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006705/0.6931, allocations: 338.5 kB / 0.68 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003545/0.6967, allocations: 1.607 MB / 0.6815 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.6967, allocations: 0 / 0.6815 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.696e-06/0.6967, allocations: 4 kB / 0.6815 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.76e-05/0.6967, allocations: 0 / 0.6815 GB, free: 6.062 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003398/0.7001, allocations: 1.072 MB / 0.6826 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.7002, allocations: 12.03 kB / 0.6826 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002497/0.7004, allocations: 98.39 kB / 0.6827 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/0.7014, allocations: 147.4 kB / 0.6828 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.7025, allocations: 466.8 kB / 0.6833 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.7026, allocations: 37.31 kB / 0.6833 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.7027, allocations: 48 kB / 0.6834 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.7043, allocations: 1.039 MB / 0.6844 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.7043, allocations: 7.953 kB / 0.6844 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.7044, allocations: 27.94 kB / 0.6844 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.7044, allocations: 12 kB / 0.6844 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008462/0.7052, allocations: 476.9 kB / 0.6849 GB, free: 2.453 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.004421/0.7097, allocations: 1.713 MB / 0.6866 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.71, allocations: 126.6 kB / 0.6867 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.7101, allocations: 56.78 kB / 0.6867 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.7103, allocations: 47.95 kB / 0.6868 GB, free: 452 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.7103, allocations: 39.44 kB / 0.6868 GB, free: 404 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.7103, allocations: 0 / 0.6868 GB, free: 404 kB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006217/0.711, allocations: 246.9 kB / 0.687 GB, free: 152 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.711, allocations: 51.41 kB / 0.6871 GB, free: 88 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.7126, allocations: 1 MB / 0.6881 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.7126, allocations: 29.7 kB / 0.6881 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.713, allocations: 395.9 kB / 0.6885 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.713, allocations: 59.53 kB / 0.6885 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.7132, allocations: 86.03 kB / 0.6886 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7133, allocations: 329.9 kB / 0.6889 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.7136, allocations: 130.7 kB / 0.6891 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.7139, allocations: 254.3 kB / 0.6893 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/0.7144, allocations: 337.7 kB / 0.6896 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7144, allocations: 7.938 kB / 0.6896 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008593/0.7153, allocations: 472.5 kB / 0.6901 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.7153, allocations: 8.562 kB / 0.6901 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.7153, allocations: 13.12 kB / 0.6901 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.7153, allocations: 8 kB / 0.6901 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.7159, allocations: 107.8 kB / 0.6902 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000517/0.7164, allocations: 0.6055 MB / 0.6908 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.717, allocations: 79.38 kB / 0.6909 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.717, allocations: 20 kB / 0.6909 GB, free: 12 MB / 0.5294 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.0004447/0.7175, allocations: 245.7 kB / 0.6911 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.7176, allocations: 79.53 kB / 0.6912 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.7181, allocations: 220.9 kB / 0.6914 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.7181, allocations: 0 / 0.6914 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.7181, allocations: 4.5 kB / 0.6914 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7181, allocations: 0 / 0.6914 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.7196, allocations: 0.7067 MB / 0.6921 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7196, allocations: 0 / 0.6921 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.7198, allocations: 49.91 kB / 0.6922 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.7198, allocations: 4.094 kB / 0.6922 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.7198, allocations: 7.984 kB / 0.6922 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003909/0.7202, allocations: 0.6015 MB / 0.6928 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7202, allocations: 0 / 0.6928 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/0.7207, allocations: 386.3 kB / 0.6931 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.721, allocations: 103.4 kB / 0.6932 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.7211, allocations: 11.92 kB / 0.6932 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.7215, allocations: 15.98 kB / 0.6932 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.7215, allocations: 8.141 kB / 0.6933 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.7216, allocations: 27.97 kB / 0.6933 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009451/0.7225, allocations: 0.6981 MB / 0.694 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.7225, allocations: 0 / 0.694 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008483/0.7234, allocations: 211.6 kB / 0.6942 GB, free: 8.531 MB / 0.5294 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.002666/0.726, allocations: 1.391 MB / 0.6955 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005708/0.7266, allocations: 243.7 kB / 0.6958 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.7266, allocations: 4 kB / 0.6958 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.7268, allocations: 61.22 kB / 0.6958 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.7282, allocations: 331.1 kB / 0.6961 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/0.7369, allocations: 6.324 MB / 0.7023 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.7373, allocations: 317.8 kB / 0.7026 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005261/0.7378, allocations: 137.6 kB / 0.7027 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.7381, allocations: 231.4 kB / 0.703 GB, free: 15.23 MB / 0.545 GB Notification: Performance of SimCode: time 1.613e-06/0.7382, allocations: 7.938 kB / 0.703 GB, free: 15.22 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06582/0.804, allocations: 24.14 MB / 0.7266 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.86, allocations: 7.984 kB / 0.7266 GB, free: 6.895 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & python3 -m fmpy simulate --output-file ThermoPower_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_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.387490320950747] Failed to read output from testmodel.py, exit status != 0: 15.08661269908771 15.102862369 14.402622762 Calling exit ...