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.001298/0.001298, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001602/0.001602, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.478/1.478, allocations: 207.6 MB / 234.5 MB, free: 10 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.3168/0.3168, allocations: 49.57 MB / 336.3 MB, free: 4.113 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: translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [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.002331/0.002331, allocations: 71.88 kB / 476.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1236, allocations: 62.42 MB / 0.5266 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4286/0.5523, allocations: 171.3 MB / 0.6939 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005925/0.5582, allocations: 3.795 MB / 0.6976 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.5587, allocations: 11.88 kB / 0.6976 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009802/0.5597, allocations: 286.3 kB / 0.6979 GB, free: 6.34 MB / 0.5294 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.001262/0.5609, allocations: 445.7 kB / 0.6983 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.5651, allocations: 1.519 MB / 0.6998 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.5668, allocations: 1.231 MB / 0.701 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00063/0.5674, allocations: 314.5 kB / 0.7013 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009496/0.5684, allocations: 482.4 kB / 0.7018 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008286/0.5692, allocations: 446.4 kB / 0.7022 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.5694, allocations: 56 kB / 0.7023 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.5724, allocations: 1.505 MB / 0.7037 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000389/0.5728, allocations: 319.2 kB / 0.704 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006235/0.5734, allocations: 414 kB / 0.7044 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.576, allocations: 1.627 MB / 0.706 GB, free: 14.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.576, allocations: 0 / 0.706 GB, free: 14.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.576, allocations: 0 / 0.706 GB, free: 14.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.644e-05/0.5761, allocations: 0 / 0.706 GB, free: 14.02 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.002246/0.5783, allocations: 1.068 MB / 0.7071 GB, free: 12.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.5783, allocations: 8.031 kB / 0.7071 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/0.5791, allocations: 147.3 kB / 0.7072 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/0.58, allocations: 462.8 kB / 0.7077 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/0.5801, allocations: 42.12 kB / 0.7077 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.5802, allocations: 52 kB / 0.7078 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.5813, allocations: 0.6081 MB / 0.7083 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.5813, allocations: 4 kB / 0.7083 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/0.5814, allocations: 23.94 kB / 0.7084 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5814, allocations: 12 kB / 0.7084 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008629/0.5823, allocations: 473 kB / 0.7088 GB, free: 11.06 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.004423/0.5867, allocations: 2.016 MB / 0.7108 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.587, allocations: 126.6 kB / 0.7109 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.5871, allocations: 49.34 kB / 0.711 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.5873, allocations: 51.95 kB / 0.711 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5873, allocations: 38.56 kB / 0.7111 GB, free: 8.668 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.5873, allocations: 3.938 kB / 0.7111 GB, free: 8.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0005369/0.5879, allocations: 242 kB / 0.7113 GB, free: 8.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.5879, allocations: 51.41 kB / 0.7113 GB, free: 8.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.5893, allocations: 0.9771 MB / 0.7123 GB, free: 7.375 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.5893, allocations: 33.7 kB / 0.7123 GB, free: 7.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.5897, allocations: 399.9 kB / 0.7127 GB, free: 6.941 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.5898, allocations: 55.58 kB / 0.7128 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.5899, allocations: 86.03 kB / 0.7128 GB, free: 6.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.5901, allocations: 325.8 kB / 0.7132 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.5903, allocations: 130.6 kB / 0.7133 GB, free: 6.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.5906, allocations: 246.3 kB / 0.7135 GB, free: 6.039 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.5912, allocations: 346.7 kB / 0.7138 GB, free: 5.637 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5912, allocations: 4 kB / 0.7138 GB, free: 5.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008868/0.592, allocations: 473 kB / 0.7143 GB, free: 5.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.5921, allocations: 7.938 kB / 0.7143 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.5921, allocations: 8 kB / 0.7143 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.5921, allocations: 7.938 kB / 0.7143 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.5926, allocations: 115.8 kB / 0.7144 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004449/0.5931, allocations: 0.5978 MB / 0.715 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.5936, allocations: 83.61 kB / 0.7151 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.5936, allocations: 30.11 kB / 0.7151 GB, free: 4.297 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.000374/0.594, allocations: 247.1 kB / 0.7154 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.5941, allocations: 75.53 kB / 0.7154 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000419/0.5946, allocations: 221.1 kB / 0.7156 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5946, allocations: 0 / 0.7156 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5946, allocations: 0 / 0.7156 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5946, allocations: 8 kB / 0.7157 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.5959, allocations: 0.769 MB / 0.7164 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5959, allocations: 0 / 0.7164 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.5961, allocations: 47.91 kB / 0.7164 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5961, allocations: 4 kB / 0.7165 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.5961, allocations: 0 / 0.7165 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003986/0.5965, allocations: 0.6055 MB / 0.717 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/0.5965, allocations: 7.969 kB / 0.7171 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.5971, allocations: 385.6 kB / 0.7174 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.5973, allocations: 103.3 kB / 0.7175 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.912e-05/0.5974, allocations: 4 kB / 0.7175 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.5978, allocations: 16.48 kB / 0.7175 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.5978, allocations: 15.97 kB / 0.7176 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.5979, allocations: 11.98 kB / 0.7176 GB, free: 1.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009687/0.5989, allocations: 0.702 MB / 0.7182 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5989, allocations: 0 / 0.7182 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007862/0.5996, allocations: 215.7 kB / 0.7185 GB, free: 0.7656 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.002263/0.6019, allocations: 0.5485 MB / 0.719 GB, free: 224 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006286/0.6025, allocations: 228.7 kB / 0.7192 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6025, allocations: 0 / 0.7192 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.6027, allocations: 63.86 kB / 0.7193 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.6042, allocations: 331.5 kB / 0.7196 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.6063, allocations: 1.186 MB / 0.7207 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.607, allocations: 0.9174 MB / 0.7216 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004288/0.6074, allocations: 141.6 kB / 0.7218 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.6075, allocations: 51.44 kB / 0.7218 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.6075, allocations: 3.938 kB / 0.7218 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.02836/0.6359, allocations: 15.18 MB / 0.7367 GB, free: 14.04 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.855884704040363] Failed to read output from testmodel.py, exit status != 0: 0.6452637349721044 0.660756854 0.08138606100000001 Calling exit ...