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.001641/0.001641, allocations: 107.8 kB / 17.06 MB, free: 5.992 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.001858/0.001858, allocations: 199.9 kB / 18 MB, free: 5.074 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.359/1.359, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2688/0.2688, allocations: 48.85 MB / 320.1 MB, free: 11.02 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.001544/0.001544, allocations: 67.89 kB / 450.5 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1049, allocations: 59.15 MB / 0.4977 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3768/0.4817, allocations: 170.6 MB / 0.6644 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005593/0.4874, allocations: 3.755 MB / 0.668 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/0.488, allocations: 11.94 kB / 0.668 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009233/0.4889, allocations: 282.3 kB / 0.6683 GB, free: 11.58 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.0009574/0.4899, allocations: 433.7 kB / 0.6687 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.4937, allocations: 1.479 MB / 0.6702 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.4954, allocations: 1.21 MB / 0.6713 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.496, allocations: 362.3 kB / 0.6717 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006688/0.4967, allocations: 466.4 kB / 0.6721 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004957/0.4972, allocations: 406.5 kB / 0.6725 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.55e-05/0.4973, allocations: 55.98 kB / 0.6726 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.4999, allocations: 1.431 MB / 0.674 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.5002, allocations: 327.2 kB / 0.6743 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.5006, allocations: 410 kB / 0.6747 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.5026, allocations: 1.609 MB / 0.6763 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5026, allocations: 0 / 0.6763 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5027, allocations: 0 / 0.6763 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.5027, allocations: 0 / 0.6763 GB, free: 3.43 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.001714/0.5044, allocations: 1.122 MB / 0.6773 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.5044, allocations: 11.89 kB / 0.6774 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006993/0.5051, allocations: 150.8 kB / 0.6775 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.506, allocations: 0.5158 MB / 0.678 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.506, allocations: 37.31 kB / 0.678 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.42e-05/0.5061, allocations: 52 kB / 0.6781 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.5071, allocations: 0.6157 MB / 0.6787 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.5071, allocations: 0 / 0.6787 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/0.5072, allocations: 31.94 kB / 0.6787 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.5072, allocations: 16 kB / 0.6787 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.5079, allocations: 465 kB / 0.6792 GB, free: 328 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.003973/0.5119, allocations: 2.29 MB / 0.6814 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.5122, allocations: 138.6 kB / 0.6816 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.5123, allocations: 53.59 kB / 0.6816 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.5126, allocations: 125.1 kB / 0.6817 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.5126, allocations: 38.56 kB / 0.6818 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.5126, allocations: 0 / 0.6818 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005/0.5131, allocations: 240.7 kB / 0.682 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.5132, allocations: 55.41 kB / 0.682 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5143, allocations: 0.9848 MB / 0.683 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.5144, allocations: 33.7 kB / 0.683 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.5147, allocations: 387.3 kB / 0.6834 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.5148, allocations: 55.2 kB / 0.6835 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.5149, allocations: 82.03 kB / 0.6835 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.515, allocations: 329.9 kB / 0.6839 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.5152, allocations: 130.7 kB / 0.684 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.5155, allocations: 254.3 kB / 0.6842 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.516, allocations: 333.7 kB / 0.6845 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.516, allocations: 4.875 kB / 0.6845 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007219/0.5167, allocations: 468.2 kB / 0.685 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.5167, allocations: 4 kB / 0.685 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.5168, allocations: 11.94 kB / 0.685 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5168, allocations: 7.938 kB / 0.685 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.5173, allocations: 108.4 kB / 0.6851 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000413/0.5177, allocations: 0.6093 MB / 0.6857 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.5182, allocations: 75.19 kB / 0.6858 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.5183, allocations: 20.94 kB / 0.6858 GB, free: 9.125 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.0002999/0.5186, allocations: 250.7 kB / 0.686 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.5187, allocations: 75.25 kB / 0.6861 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.5191, allocations: 225.8 kB / 0.6863 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.5191, allocations: 0 / 0.6863 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5191, allocations: 4 kB / 0.6863 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5191, allocations: 0 / 0.6863 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.5203, allocations: 0.805 MB / 0.6871 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5203, allocations: 3.469 kB / 0.6871 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.5206, allocations: 55.91 kB / 0.6872 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.5206, allocations: 0 / 0.6872 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.5206, allocations: 4 kB / 0.6872 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003166/0.521, allocations: 0.5938 MB / 0.6878 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.521, allocations: 4.031 kB / 0.6878 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.5214, allocations: 381.2 kB / 0.6881 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.5217, allocations: 176.2 kB / 0.6883 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/0.5218, allocations: 7.984 kB / 0.6883 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.5222, allocations: 15.98 kB / 0.6883 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.5222, allocations: 19.98 kB / 0.6883 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.5223, allocations: 15.98 kB / 0.6883 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008066/0.5231, allocations: 0.6942 MB / 0.689 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5231, allocations: 0 / 0.689 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000739/0.5238, allocations: 215.8 kB / 0.6892 GB, free: 5.461 MB / 0.5294 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.00131/0.5251, allocations: 0.5345 MB / 0.6898 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005157/0.5257, allocations: 255.7 kB / 0.69 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5257, allocations: 0 / 0.69 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.5259, allocations: 65.09 kB / 0.6901 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.001508/0.5274, allocations: 326.8 kB / 0.6904 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.5291, allocations: 1.162 MB / 0.6915 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.5296, allocations: 0.9174 MB / 0.6924 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004031/0.53, allocations: 149.8 kB / 0.6925 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.5301, allocations: 47.44 kB / 0.6926 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.5301, allocations: 0 / 0.6926 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of Templates: time 0.02369/0.5538, allocations: 15.1 MB / 0.7073 GB, free: 2.82 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)