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.001336/0.001336, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001442/0.001442, allocations: 219 kB / 21.46 MB, free: 1.586 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.524/1.524, allocations: 207.6 MB / 231.8 MB, free: 4.031 MB / 174.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.4326/0.4326, allocations: 49.51 MB / 333.2 MB, free: 0.8203 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="cs",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.002936/0.002936, allocations: 68.67 kB / 471.5 MB, free: 41.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1057, allocations: 62.34 MB / 0.5213 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4745/0.5802, allocations: 171.2 MB / 0.6885 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005663/0.5858, allocations: 3.77 MB / 0.6922 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006073/0.5864, allocations: 12.38 kB / 0.6922 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008847/0.5873, allocations: 277.8 kB / 0.6925 GB, free: 13.82 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.001071/0.5884, allocations: 457.2 kB / 0.6929 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.5923, allocations: 1.483 MB / 0.6943 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.594, allocations: 1.213 MB / 0.6955 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005023/0.5945, allocations: 319.2 kB / 0.6958 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.5952, allocations: 479.4 kB / 0.6963 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004851/0.5957, allocations: 440.3 kB / 0.6967 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.585e-05/0.5958, allocations: 55.25 kB / 0.6968 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.5988, allocations: 1.487 MB / 0.6982 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.5992, allocations: 325.9 kB / 0.6985 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005068/0.5997, allocations: 414.8 kB / 0.6989 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.6026, allocations: 1.622 MB / 0.7005 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6026, allocations: 0 / 0.7005 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6026, allocations: 0 / 0.7005 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.6026, allocations: 0 / 0.7005 GB, free: 12.72 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.002186/0.6048, allocations: 1.159 MB / 0.7016 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/0.6049, allocations: 14.05 kB / 0.7017 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.836e-05/0.6049, allocations: 21.97 kB / 0.7017 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.605, allocations: 94.77 kB / 0.7018 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007563/0.6058, allocations: 137.2 kB / 0.7019 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/0.6066, allocations: 0.5261 MB / 0.7024 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.6066, allocations: 38.78 kB / 0.7024 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.6067, allocations: 50.03 kB / 0.7025 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/0.6076, allocations: 0.6092 MB / 0.7031 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.6076, allocations: 14.95 kB / 0.7031 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.6077, allocations: 25.31 kB / 0.7031 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.6077, allocations: 10.38 kB / 0.7031 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/0.6084, allocations: 470.6 kB / 0.7036 GB, free: 11.18 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.004532/0.6129, allocations: 2.308 MB / 0.7058 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.6132, allocations: 121.9 kB / 0.706 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.748e-05/0.6133, allocations: 52.25 kB / 0.706 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.6136, allocations: 129.4 kB / 0.7061 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.6137, allocations: 37.72 kB / 0.7062 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 2.535e-06/0.6137, allocations: 0 / 0.7062 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0005842/0.6142, allocations: 244.8 kB / 0.7064 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.6143, allocations: 54.47 kB / 0.7065 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.6154, allocations: 0.9927 MB / 0.7074 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.6155, allocations: 34.17 kB / 0.7075 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.6158, allocations: 389.6 kB / 0.7078 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.6158, allocations: 65.92 kB / 0.7079 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.616, allocations: 82.61 kB / 0.708 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6161, allocations: 318.9 kB / 0.7083 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.6163, allocations: 131.3 kB / 0.7084 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.6166, allocations: 254.2 kB / 0.7086 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.6171, allocations: 335.6 kB / 0.709 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6171, allocations: 2.875 kB / 0.709 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007723/0.6178, allocations: 470.3 kB / 0.7094 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.6179, allocations: 15.75 kB / 0.7094 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6179, allocations: 4.812 kB / 0.7094 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.6179, allocations: 8.469 kB / 0.7094 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.6184, allocations: 116.3 kB / 0.7096 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004707/0.6189, allocations: 0.6115 MB / 0.7101 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005942/0.6195, allocations: 76.08 kB / 0.7102 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.6196, allocations: 23.23 kB / 0.7102 GB, free: 7.188 MB / 0.5137 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.0004498/0.62, allocations: 254.3 kB / 0.7105 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.6202, allocations: 75.41 kB / 0.7106 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.6206, allocations: 219.6 kB / 0.7108 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6207, allocations: 1.812 kB / 0.7108 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.6207, allocations: 3.984 kB / 0.7108 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6207, allocations: 1.094 kB / 0.7108 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.622, allocations: 0.8111 MB / 0.7116 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.622, allocations: 0 / 0.7116 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.6222, allocations: 44.16 kB / 0.7116 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.6222, allocations: 6.719 kB / 0.7116 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.6222, allocations: 2.406 kB / 0.7116 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003984/0.6226, allocations: 0.6081 MB / 0.7122 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.6226, allocations: 0 / 0.7122 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.6231, allocations: 384.2 kB / 0.7126 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.6234, allocations: 184.8 kB / 0.7128 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.955e-05/0.6235, allocations: 6.469 kB / 0.7128 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.6239, allocations: 17.61 kB / 0.7128 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.624, allocations: 16.92 kB / 0.7128 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.624, allocations: 14.2 kB / 0.7128 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008757/0.6249, allocations: 0.7028 MB / 0.7135 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6249, allocations: 0 / 0.7135 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008808/0.6258, allocations: 211.4 kB / 0.7137 GB, free: 5.203 MB / 0.5137 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.002743/0.6285, allocations: 1.363 MB / 0.715 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007196/0.6292, allocations: 231.5 kB / 0.7152 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.6292, allocations: 2.438 kB / 0.7152 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.6294, allocations: 72.38 kB / 0.7153 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.6311, allocations: 322 kB / 0.7156 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008946/0.6401, allocations: 6.34 MB / 0.7218 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.6407, allocations: 0.9206 MB / 0.7227 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005563/0.6413, allocations: 130.7 kB / 0.7228 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.6416, allocations: 235 kB / 0.7231 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.6416, allocations: 0 / 0.7231 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05184/0.6935, allocations: 22.36 MB / 0.7449 GB, free: 11.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.46, allocations: 4.062 kB / 0.7449 GB, free: 11.92 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.7316880300059] Failed to read output from testmodel.py, exit status != 0: 14.707020364992786 14.721569401 14.115680727 Calling exit ...