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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.479/1.479, allocations: 207.6 MB / 231.1 MB, free: 4.066 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.429/0.429, allocations: 49.52 MB / 332.5 MB, free: 1.254 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 62.94 kB / 470.8 MB, free: 41.22 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1096, allocations: 62.35 MB / 0.5206 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.5217/0.6313, allocations: 171.2 MB / 0.6878 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005448/0.6368, allocations: 3.78 MB / 0.6915 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000776/0.6375, allocations: 12.34 kB / 0.6915 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.6387, allocations: 275.2 kB / 0.6917 GB, free: 13.78 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.001521/0.6402, allocations: 452.7 kB / 0.6922 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.6448, allocations: 1.487 MB / 0.6936 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.6466, allocations: 1.202 MB / 0.6948 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.6473, allocations: 320.1 kB / 0.6951 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.6483, allocations: 475.2 kB / 0.6955 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007621/0.6491, allocations: 449.6 kB / 0.696 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.6493, allocations: 55.94 kB / 0.696 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.6528, allocations: 1.487 MB / 0.6975 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005423/0.6534, allocations: 320.3 kB / 0.6978 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009674/0.6544, allocations: 416.4 kB / 0.6982 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004224/0.6586, allocations: 1.619 MB / 0.6998 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6586, allocations: 6.578 kB / 0.6998 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6586, allocations: 3.938 kB / 0.6998 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.416e-05/0.6586, allocations: 4 kB / 0.6998 GB, free: 12.7 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.002877/0.6615, allocations: 1.149 MB / 0.7009 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6616, allocations: 13.95 kB / 0.7009 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.6617, allocations: 105.2 kB / 0.701 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/0.6626, allocations: 138.6 kB / 0.7011 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.6637, allocations: 0.5221 MB / 0.7017 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.6637, allocations: 35.53 kB / 0.7017 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.362e-05/0.6638, allocations: 50.38 kB / 0.7017 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.6649, allocations: 0.614 MB / 0.7023 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.6649, allocations: 10.5 kB / 0.7023 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.665, allocations: 30 kB / 0.7024 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.665, allocations: 12.88 kB / 0.7024 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.6658, allocations: 471 kB / 0.7028 GB, free: 11.16 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.005128/0.6709, allocations: 2.305 MB / 0.7051 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.6712, allocations: 118.6 kB / 0.7052 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.6713, allocations: 55 kB / 0.7053 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/0.6716, allocations: 126.1 kB / 0.7054 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.6717, allocations: 40.31 kB / 0.7054 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.6717, allocations: 0 / 0.7054 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006598/0.6723, allocations: 248.7 kB / 0.7056 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.6724, allocations: 51.41 kB / 0.7057 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.6739, allocations: 0.9908 MB / 0.7067 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.674, allocations: 31.77 kB / 0.7067 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.6743, allocations: 397.9 kB / 0.7071 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.6744, allocations: 58.2 kB / 0.7071 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.6745, allocations: 86.23 kB / 0.7072 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.6747, allocations: 322.4 kB / 0.7075 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.6749, allocations: 128.3 kB / 0.7076 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.6752, allocations: 257.1 kB / 0.7079 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.6757, allocations: 342.8 kB / 0.7082 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.6757, allocations: 2.594 kB / 0.7082 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007897/0.6765, allocations: 470.3 kB / 0.7087 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6765, allocations: 11.56 kB / 0.7087 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.6765, allocations: 9.734 kB / 0.7087 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.6765, allocations: 7.969 kB / 0.7087 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.6771, allocations: 108.8 kB / 0.7088 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004646/0.6775, allocations: 0.6057 MB / 0.7094 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/0.6781, allocations: 77.02 kB / 0.7095 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.6781, allocations: 25.22 kB / 0.7095 GB, free: 7.176 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.0004404/0.6786, allocations: 255.8 kB / 0.7097 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.6788, allocations: 75.09 kB / 0.7098 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.6792, allocations: 214.9 kB / 0.71 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.6792, allocations: 3.984 kB / 0.71 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.6792, allocations: 2.344 kB / 0.71 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6792, allocations: 5.141 kB / 0.71 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.6807, allocations: 0.8054 MB / 0.7108 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.6807, allocations: 2.875 kB / 0.7108 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.6809, allocations: 47.94 kB / 0.7109 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6809, allocations: 2.906 kB / 0.7109 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.6809, allocations: 6.125 kB / 0.7109 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004123/0.6813, allocations: 0.6079 MB / 0.7115 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6814, allocations: 0 / 0.7115 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.6819, allocations: 384.3 kB / 0.7118 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.6822, allocations: 186.5 kB / 0.712 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.439e-05/0.6823, allocations: 3.188 kB / 0.712 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.6827, allocations: 17.98 kB / 0.712 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.6827, allocations: 11.67 kB / 0.712 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.6827, allocations: 22.47 kB / 0.7121 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007713/0.6835, allocations: 0.6983 MB / 0.7127 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6835, allocations: 0 / 0.7127 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007639/0.6843, allocations: 210.6 kB / 0.7129 GB, free: 5.191 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.002529/0.6868, allocations: 1.37 MB / 0.7143 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.6873, allocations: 234.9 kB / 0.7145 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6873, allocations: 1.125 kB / 0.7145 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.6874, allocations: 63.28 kB / 0.7146 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.6889, allocations: 317.4 kB / 0.7149 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008222/0.6972, allocations: 6.341 MB / 0.7211 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/0.6979, allocations: 0.9211 MB / 0.722 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005686/0.6984, allocations: 139.5 kB / 0.7221 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.6988, allocations: 231.9 kB / 0.7223 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/0.6988, allocations: 2.094 kB / 0.7223 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06661/0.7654, allocations: 22.31 MB / 0.7441 GB, free: 12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.09, allocations: 0 / 0.7441 GB, free: 12 MB / 0.545 GB " [Timeout remaining time 646] (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.17377325706184] Failed to read output from testmodel.py, exit status != 0: 14.246691243257374 14.262678644 13.600680993 Calling exit ...