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.001914/0.001914, 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.002093/0.002093, allocations: 165.3 kB / 24.28 MB, free: 152 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.361/1.361, allocations: 158.6 MB / 186.1 MB, free: 2.902 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.2899/0.2899, 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.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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.29e-05, allocations: 2.312 kB / 353 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4207/0.4207, allocations: 163.7 MB / 0.5046 GB, free: 7.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007086/0.4278, allocations: 3.803 MB / 0.5083 GB, free: 3.957 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004937/0.4283, allocations: 15.88 kB / 0.5083 GB, free: 3.941 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009842/0.4293, allocations: 254.2 kB / 0.5086 GB, free: 3.691 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.00114/0.4304, allocations: 473.1 kB / 0.509 GB, free: 3.227 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004435/0.4349, allocations: 1.518 MB / 0.5105 GB, free: 1.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.4367, allocations: 1.227 MB / 0.5117 GB, free: 484 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005736/0.4372, allocations: 330.1 kB / 0.512 GB, free: 152 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.4382, allocations: 0.6195 MB / 0.5126 GB, free: 15.53 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/0.4389, allocations: 379 kB / 0.513 GB, free: 15.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.439, allocations: 56 kB / 0.513 GB, free: 15.1 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.4421, allocations: 1.247 MB / 0.5143 GB, free: 13.85 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004235/0.4426, allocations: 331.2 kB / 0.5146 GB, free: 13.53 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.443, allocations: 299.3 kB / 0.5149 GB, free: 13.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003221/0.4462, allocations: 1.71 MB / 0.5165 GB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4463, allocations: 0 / 0.5165 GB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4463, allocations: 4 kB / 0.5165 GB, free: 11.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.4463, allocations: 0 / 0.5165 GB, free: 11.52 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002548/0.4488, allocations: 1.215 MB / 0.5177 GB, free: 10.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.4489, allocations: 8.031 kB / 0.5177 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.4499, allocations: 234.9 kB / 0.518 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009849/0.4509, allocations: 434.2 kB / 0.5184 GB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/0.451, allocations: 41.31 kB / 0.5184 GB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.4511, allocations: 56 kB / 0.5185 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.4528, allocations: 0.9505 MB / 0.5194 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.4528, allocations: 3.938 kB / 0.5194 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/0.4529, allocations: 28 kB / 0.5194 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.4529, allocations: 12 kB / 0.5194 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007135/0.4536, allocations: 317 kB / 0.5197 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/0.4583, allocations: 1.862 MB / 0.5216 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.4586, allocations: 136.6 kB / 0.5217 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.4587, allocations: 51.67 kB / 0.5217 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.4589, allocations: 51.95 kB / 0.5218 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.459, allocations: 41.39 kB / 0.5218 GB, free: 5.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.459, allocations: 0 / 0.5218 GB, free: 5.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005834/0.4596, allocations: 217.2 kB / 0.522 GB, free: 5.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.4596, allocations: 51.41 kB / 0.5221 GB, free: 5.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.4606, allocations: 0.725 MB / 0.5228 GB, free: 4.801 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/0.4607, allocations: 33.7 kB / 0.5228 GB, free: 4.762 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.4612, allocations: 494.3 kB / 0.5233 GB, free: 4.273 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.4613, allocations: 59.52 kB / 0.5233 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.4614, allocations: 103.7 kB / 0.5234 GB, free: 4.105 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004028/0.4618, allocations: 0.5743 MB / 0.524 GB, free: 3.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.4621, allocations: 109.6 kB / 0.5241 GB, free: 3.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.4625, allocations: 302.2 kB / 0.5244 GB, free: 3.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.4631, allocations: 381.2 kB / 0.5248 GB, free: 2.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4631, allocations: 0 / 0.5248 GB, free: 2.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007953/0.4639, allocations: 416.6 kB / 0.5252 GB, free: 2.148 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.4639, allocations: 8 kB / 0.5252 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4639, allocations: 4.562 kB / 0.5252 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.4639, allocations: 12 kB / 0.5252 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.4645, allocations: 107.2 kB / 0.5253 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007156/0.4652, allocations: 0.9127 MB / 0.5262 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.4657, allocations: 59.61 kB / 0.5262 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.4657, allocations: 23.98 kB / 0.5263 GB, free: 1 MB / 394.7 MB 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.0004047/0.4661, allocations: 208.5 kB / 0.5265 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.4663, allocations: 59.73 kB / 0.5265 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.4667, allocations: 199.6 kB / 0.5267 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4667, allocations: 3.984 kB / 0.5267 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4667, allocations: 0 / 0.5267 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4667, allocations: 0 / 0.5267 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.4684, allocations: 0.8355 MB / 0.5275 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4684, allocations: 0 / 0.5275 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.4687, allocations: 51.91 kB / 0.5276 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.4687, allocations: 0 / 0.5276 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4687, allocations: 8.094 kB / 0.5276 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005881/0.4693, allocations: 0.9011 MB / 0.5285 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4693, allocations: 0 / 0.5285 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.4698, allocations: 414.5 kB / 0.5289 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.47, allocations: 67.59 kB / 0.5289 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.4701, allocations: 4 kB / 0.5289 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.4704, allocations: 15.98 kB / 0.5289 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.4705, allocations: 15.92 kB / 0.529 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.4705, allocations: 24.06 kB / 0.529 GB, free: 14.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005918/0.4711, allocations: 446.8 kB / 0.5294 GB, free: 13.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4711, allocations: 0 / 0.5294 GB, free: 13.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008392/0.472, allocations: 239.3 kB / 0.5296 GB, free: 13.42 MB / 410.7 MB 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.00311/0.4751, allocations: 0.5735 MB / 0.5302 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006207/0.4757, allocations: 228.3 kB / 0.5304 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.4757, allocations: 4 kB / 0.5304 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.4759, allocations: 75.59 kB / 0.5305 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009591/0.4768, allocations: 151.3 kB / 0.5306 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.4791, allocations: 1.046 MB / 0.5317 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.4795, allocations: 305 kB / 0.5319 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003518/0.4798, allocations: 88.31 kB / 0.532 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.4799, allocations: 48.42 kB / 0.5321 GB, free: 10.88 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4799, allocations: 0 / 0.5321 GB, free: 10.88 MB / 410.7 MB Notification: Performance of Templates: time 0.02196/0.5019, allocations: 10.46 MB / 0.5423 GB, free: 408 kB / 410.7 MB " [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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.765525827999227]