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.001637/0.001637, allocations: 77.16 kB / 21.28 MB, free: 0.5312 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.001781/0.001781, allocations: 161.8 kB / 24.54 MB, free: 3.832 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.423/1.423, allocations: 177.2 MB / 204.9 MB, free: 9.262 MB / 190.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.1449/0.1449, allocations: 19.72 MB / 281 MB, free: 13.03 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: translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine") [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.002192/0.002192, allocations: 67.91 kB / 417.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2767, allocations: 60.44 MB / 478 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.1868/0.4635, allocations: 146.7 MB / 0.6102 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005597/0.4691, allocations: 3.373 MB / 0.6134 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004514/0.4695, allocations: 7.938 kB / 0.6135 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008792/0.4704, allocations: 254.4 kB / 0.6137 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.4716, allocations: 0.5404 MB / 0.6142 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00416/0.4758, allocations: 1.528 MB / 0.6157 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.4776, allocations: 1.247 MB / 0.6169 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006133/0.4782, allocations: 337.8 kB / 0.6173 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.4792, allocations: 0.6699 MB / 0.6179 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/0.4799, allocations: 466.3 kB / 0.6184 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.186e-05/0.48, allocations: 56 kB / 0.6184 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.4827, allocations: 1.186 MB / 0.6196 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004393/0.4831, allocations: 375 kB / 0.6199 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.4836, allocations: 378.2 kB / 0.6203 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003001/0.4866, allocations: 1.698 MB / 0.6219 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4867, allocations: 0 / 0.6219 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4867, allocations: 4 kB / 0.6219 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.4867, allocations: 0 / 0.6219 GB, free: 2.879 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002162/0.4888, allocations: 1.235 MB / 0.6232 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4889, allocations: 12.02 kB / 0.6232 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008359/0.4897, allocations: 171.3 kB / 0.6233 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009982/0.4907, allocations: 0.5859 MB / 0.6239 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.4907, allocations: 37 kB / 0.6239 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.4908, allocations: 52 kB / 0.624 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.4921, allocations: 1.026 MB / 0.625 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.4922, allocations: 15.88 kB / 0.625 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/0.4922, allocations: 20 kB / 0.625 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4922, allocations: 16 kB / 0.625 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007552/0.493, allocations: 467.8 kB / 0.6255 GB, free: 15.08 MB / 0.5294 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.003882/0.4969, allocations: 1.613 MB / 0.6271 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.4972, allocations: 134.4 kB / 0.6272 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/0.4972, allocations: 48.94 kB / 0.6272 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.4975, allocations: 51.95 kB / 0.6273 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.4975, allocations: 38.56 kB / 0.6273 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.451e-05/0.4976, allocations: 0 / 0.6273 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005372/0.4981, allocations: 237.1 kB / 0.6275 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.4981, allocations: 55.66 kB / 0.6276 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.4996, allocations: 1.126 MB / 0.6287 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.4996, allocations: 25.7 kB / 0.6287 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/0.5, allocations: 487.5 kB / 0.6292 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.5001, allocations: 55.53 kB / 0.6292 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.5002, allocations: 85.97 kB / 0.6293 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5004, allocations: 321.9 kB / 0.6296 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.5006, allocations: 134.6 kB / 0.6298 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.5009, allocations: 249.1 kB / 0.63 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.5014, allocations: 339.9 kB / 0.6303 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.5014, allocations: 4 kB / 0.6303 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000825/0.5022, allocations: 468.6 kB / 0.6308 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5022, allocations: 4 kB / 0.6308 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5023, allocations: 4 kB / 0.6308 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.5023, allocations: 12 kB / 0.6308 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.5028, allocations: 107.8 kB / 0.6309 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004359/0.5032, allocations: 0.6022 MB / 0.6315 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.5036, allocations: 59.55 kB / 0.6315 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.5037, allocations: 24 kB / 0.6316 GB, free: 8.586 MB / 0.5294 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.0004891/0.5041, allocations: 293.5 kB / 0.6318 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.5043, allocations: 79.47 kB / 0.6319 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.5047, allocations: 232 kB / 0.6321 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5047, allocations: 0 / 0.6321 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5047, allocations: 0 / 0.6321 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5047, allocations: 4.094 kB / 0.6321 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/0.5053, allocations: 421 kB / 0.6325 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5053, allocations: 0 / 0.6325 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.5056, allocations: 47.91 kB / 0.6326 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5056, allocations: 0 / 0.6326 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.5056, allocations: 4 kB / 0.6326 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003883/0.506, allocations: 0.6015 MB / 0.6332 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.506, allocations: 3.938 kB / 0.6332 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.5065, allocations: 367 kB / 0.6335 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.5066, allocations: 103.7 kB / 0.6336 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.369e-05/0.5067, allocations: 0 / 0.6336 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.5071, allocations: 19.98 kB / 0.6336 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.5071, allocations: 11.97 kB / 0.6337 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.5071, allocations: 15.98 kB / 0.6337 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001047/0.5082, allocations: 0.7879 MB / 0.6344 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5082, allocations: 0 / 0.6344 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008363/0.509, allocations: 243.4 kB / 0.6347 GB, free: 5.312 MB / 0.5294 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.001879/0.5109, allocations: 0.5735 MB / 0.6352 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006156/0.5115, allocations: 219.7 kB / 0.6354 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.5115, allocations: 4 kB / 0.6355 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.5117, allocations: 59.91 kB / 0.6355 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/0.5126, allocations: 166.6 kB / 0.6357 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.5152, allocations: 1.574 MB / 0.6372 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.5157, allocations: 391.5 kB / 0.6376 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.5159, allocations: 60.48 kB / 0.6376 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.5159, allocations: 0 / 0.6376 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of Templates: time 0.227/0.7429, allocations: 15.18 MB / 0.6525 GB, free: 162 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (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 & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.252506928052753] Failed to read output from testmodel.py, exit status != 0: 0.7519356079865247 0.760194326 0.27122330799999994 Calling exit ...