Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0019/0.0019, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002021/0.002021, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 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.34/1.34, allocations: 158.6 MB / 186.1 MB, free: 2.895 MB / 170.7 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.3057/0.3057, allocations: 36.34 MB / 274.7 MB, free: 10.71 MB / 266.7 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.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 353 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.682e-05, allocations: 5.688 kB / 353.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4201/0.4201, allocations: 163.6 MB / 0.5045 GB, free: 7.875 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007342/0.4275, allocations: 3.859 MB / 0.5083 GB, free: 4.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007991/0.4283, allocations: 11.94 kB / 0.5083 GB, free: 3.996 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.4295, allocations: 258.2 kB / 0.5085 GB, free: 3.742 MB / 378.7 MB [/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.001524/0.4311, allocations: 0.4972 MB / 0.509 GB, free: 3.242 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005016/0.4361, allocations: 1.596 MB / 0.5106 GB, free: 1.641 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002164/0.4382, allocations: 1.255 MB / 0.5118 GB, free: 392 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008879/0.4391, allocations: 350.1 kB / 0.5121 GB, free: 40 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.4408, allocations: 0.6506 MB / 0.5128 GB, free: 15.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009217/0.4417, allocations: 426.9 kB / 0.5132 GB, free: 14.97 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.4419, allocations: 52 kB / 0.5132 GB, free: 14.92 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.4452, allocations: 1.243 MB / 0.5145 GB, free: 13.67 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000548/0.4457, allocations: 394.9 kB / 0.5148 GB, free: 13.29 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000696/0.4464, allocations: 311.3 kB / 0.5151 GB, free: 12.98 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.4507, allocations: 1.808 MB / 0.5169 GB, free: 11.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.4507, allocations: 4 kB / 0.5169 GB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4507, allocations: 0 / 0.5169 GB, free: 11.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.821e-05/0.4507, allocations: 0 / 0.5169 GB, free: 11.16 MB / 394.7 MB 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.003377/0.4541, allocations: 1.389 MB / 0.5182 GB, free: 9.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4542, allocations: 12.03 kB / 0.5183 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.4553, allocations: 238.8 kB / 0.5185 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.4566, allocations: 0.5123 MB / 0.519 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.4567, allocations: 44.94 kB / 0.519 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.4568, allocations: 60 kB / 0.5191 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.4583, allocations: 0.9342 MB / 0.52 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.4583, allocations: 0 / 0.52 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/0.4584, allocations: 28 kB / 0.52 GB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.4584, allocations: 12 kB / 0.52 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.4591, allocations: 315.7 kB / 0.5203 GB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.4641, allocations: 1.9 MB / 0.5222 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.4644, allocations: 131 kB / 0.5223 GB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.4646, allocations: 51.81 kB / 0.5224 GB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.4649, allocations: 52.14 kB / 0.5224 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.4649, allocations: 41.39 kB / 0.5225 GB, free: 5.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.4649, allocations: 3.938 kB / 0.5225 GB, free: 5.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006172/0.4655, allocations: 225.2 kB / 0.5227 GB, free: 4.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.4656, allocations: 55.41 kB / 0.5227 GB, free: 4.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.4672, allocations: 0.9758 MB / 0.5237 GB, free: 3.902 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.4672, allocations: 33.7 kB / 0.5237 GB, free: 3.863 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006044/0.4678, allocations: 0.5724 MB / 0.5243 GB, free: 3.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/0.4679, allocations: 55.59 kB / 0.5243 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.4681, allocations: 95.67 kB / 0.5244 GB, free: 3.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002917/0.4684, allocations: 0.4965 MB / 0.5249 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.4686, allocations: 117.4 kB / 0.525 GB, free: 2.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.469, allocations: 278.7 kB / 0.5253 GB, free: 2.148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.4696, allocations: 369.4 kB / 0.5256 GB, free: 1.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.4696, allocations: 4.75 kB / 0.5256 GB, free: 1.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009311/0.4705, allocations: 420.5 kB / 0.526 GB, free: 1.281 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.4705, allocations: 8.531 kB / 0.526 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.4706, allocations: 4 kB / 0.5261 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.4706, allocations: 11.98 kB / 0.5261 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.4711, allocations: 99.89 kB / 0.5262 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007095/0.4718, allocations: 0.9166 MB / 0.5271 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.4723, allocations: 54.97 kB / 0.5271 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.4723, allocations: 23.98 kB / 0.5271 GB, free: 144 kB / 394.7 MB 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.0003866/0.4727, allocations: 213.6 kB / 0.5273 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.4729, allocations: 83.59 kB / 0.5274 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.4733, allocations: 196 kB / 0.5276 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4733, allocations: 4 kB / 0.5276 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4733, allocations: 3.938 kB / 0.5276 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4733, allocations: 3.984 kB / 0.5276 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.4743, allocations: 0.5667 MB / 0.5282 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4743, allocations: 0 / 0.5282 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.4745, allocations: 43.91 kB / 0.5282 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.4745, allocations: 4 kB / 0.5282 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.4745, allocations: 4 kB / 0.5282 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006044/0.4751, allocations: 0.905 MB / 0.5291 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4751, allocations: 0 / 0.5291 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/0.476, allocations: 413.6 kB / 0.5295 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.4763, allocations: 87.48 kB / 0.5296 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/0.4764, allocations: 3.938 kB / 0.5296 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.4768, allocations: 15.98 kB / 0.5296 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.4768, allocations: 7.984 kB / 0.5296 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.4768, allocations: 23.97 kB / 0.5296 GB, free: 13.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00088/0.4777, allocations: 0.5771 MB / 0.5302 GB, free: 12.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4777, allocations: 4.094 kB / 0.5302 GB, free: 12.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008733/0.4786, allocations: 243.3 kB / 0.5304 GB, free: 12.67 MB / 410.7 MB 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.003169/0.4818, allocations: 0.5674 MB / 0.531 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006493/0.4824, allocations: 220.5 kB / 0.5312 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4824, allocations: 0 / 0.5312 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.4826, allocations: 83.53 kB / 0.5313 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4837, allocations: 181.5 kB / 0.5314 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.4865, allocations: 1.258 MB / 0.5327 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.487, allocations: 371.3 kB / 0.533 GB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003965/0.4874, allocations: 101 kB / 0.5331 GB, free: 9.875 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.4876, allocations: 52.48 kB / 0.5332 GB, free: 9.824 MB / 410.7 MB Notification: Performance of SimCode: time 1.143e-06/0.4876, allocations: 0 / 0.5332 GB, free: 9.824 MB / 410.7 MB Notification: Performance of Templates: time 0.02623/0.5138, allocations: 11.5 MB / 0.5444 GB, free: 14.3 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.742414791020565]