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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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: translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 112.7 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 183 kB / 18.68 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2794/0.2794, allocations: 48.84 MB / 320.7 MB, free: 11.01 MB / 270.1 MB 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.001619/0.001619, allocations: 67.89 kB / 451.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1158, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4265/0.5424, allocations: 170.6 MB / 0.665 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004825/0.5472, allocations: 3.759 MB / 0.6687 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.5476, allocations: 11.94 kB / 0.6687 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008089/0.5484, allocations: 278.3 kB / 0.669 GB, free: 11.72 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.0008144/0.5493, allocations: 453.6 kB / 0.6694 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.5526, allocations: 1.483 MB / 0.6709 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.5538, allocations: 1.209 MB / 0.672 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.5543, allocations: 358.3 kB / 0.6724 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005356/0.5548, allocations: 470.4 kB / 0.6728 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.5553, allocations: 414.5 kB / 0.6732 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.126e-05/0.5554, allocations: 56 kB / 0.6733 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.558, allocations: 1.438 MB / 0.6747 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.5583, allocations: 319.2 kB / 0.675 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.5587, allocations: 402.1 kB / 0.6754 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.5607, allocations: 1.628 MB / 0.677 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5607, allocations: 0 / 0.677 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5607, allocations: 0 / 0.677 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.5607, allocations: 0 / 0.677 GB, free: 3.527 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.001635/0.5624, allocations: 1.151 MB / 0.6781 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5624, allocations: 11.89 kB / 0.6781 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006679/0.5631, allocations: 143.4 kB / 0.6782 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.5638, allocations: 0.5201 MB / 0.6787 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.5638, allocations: 37.31 kB / 0.6788 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.5639, allocations: 51.98 kB / 0.6788 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009224/0.5648, allocations: 0.6119 MB / 0.6794 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.5648, allocations: 4 kB / 0.6794 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.5649, allocations: 27.94 kB / 0.6795 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.5649, allocations: 12 kB / 0.6795 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.5656, allocations: 473 kB / 0.6799 GB, free: 400 kB / 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.003813/0.5694, allocations: 2.296 MB / 0.6822 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.5697, allocations: 130.6 kB / 0.6823 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.835e-05/0.5698, allocations: 60.83 kB / 0.6823 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.5701, allocations: 125.1 kB / 0.6825 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.5701, allocations: 50.48 kB / 0.6825 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.5701, allocations: 0 / 0.6825 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0004692/0.5706, allocations: 237.1 kB / 0.6827 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.5706, allocations: 51.41 kB / 0.6828 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.5717, allocations: 0.9771 MB / 0.6837 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.5718, allocations: 33.7 kB / 0.6838 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.5721, allocations: 387.9 kB / 0.6841 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.5721, allocations: 63.52 kB / 0.6842 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.5723, allocations: 86.03 kB / 0.6843 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5724, allocations: 333.8 kB / 0.6846 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.5726, allocations: 126.7 kB / 0.6847 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.5729, allocations: 256.1 kB / 0.685 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.5734, allocations: 341.7 kB / 0.6853 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5734, allocations: 4 kB / 0.6853 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007144/0.5741, allocations: 468.6 kB / 0.6857 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5741, allocations: 7.906 kB / 0.6858 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5742, allocations: 8.562 kB / 0.6858 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5742, allocations: 11.94 kB / 0.6858 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/0.5747, allocations: 107.9 kB / 0.6859 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000352/0.575, allocations: 0.6016 MB / 0.6865 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.5755, allocations: 83.38 kB / 0.6865 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.5755, allocations: 23.94 kB / 0.6866 GB, free: 9.168 MB / 0.5294 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.0003023/0.5758, allocations: 254.3 kB / 0.6868 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.576, allocations: 79.53 kB / 0.6869 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.5763, allocations: 212.8 kB / 0.6871 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5763, allocations: 0 / 0.6871 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5764, allocations: 0 / 0.6871 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.5765, allocations: 169.5 kB / 0.6872 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.5766, allocations: 11.94 kB / 0.6873 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.577, allocations: 11.98 kB / 0.6873 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.5771, allocations: 19.92 kB / 0.6873 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004686/0.5776, allocations: 253.8 kB / 0.6875 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004326/0.578, allocations: 443.6 kB / 0.688 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.056e-05/0.5781, allocations: 52.7 kB / 0.688 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007511/0.5789, allocations: 0.6943 MB / 0.6887 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of Backend: time 8.02e-07/0.5789, allocations: 0 / 0.6887 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.5815, allocations: 1.002 MB / 0.6897 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002663/0.5842, allocations: 1.893 MB / 0.6915 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of Templates: time 0.02913/0.6133, allocations: 18.1 MB / 0.7092 GB, free: 1.859 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile (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)