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.001151/0.001152, allocations: 108.3 kB / 17.74 MB, free: 5.316 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.001229/0.001229, allocations: 187 kB / 18.67 MB, free: 4.395 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.157/1.157, allocations: 205.1 MB / 224.5 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.2341/0.2341, 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.00135/0.00135, allocations: 63.91 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08818/0.08954, 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.3327/0.4223, allocations: 170.6 MB / 0.665 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004586/0.4269, allocations: 3.759 MB / 0.6687 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.4273, allocations: 4 kB / 0.6687 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007764/0.4281, allocations: 278.3 kB / 0.669 GB, free: 11.55 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.001005/0.4292, allocations: 441.7 kB / 0.6694 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.4326, allocations: 1.475 MB / 0.6708 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.434, allocations: 1.209 MB / 0.672 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005443/0.4346, allocations: 362.9 kB / 0.6723 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007091/0.4353, allocations: 466.5 kB / 0.6728 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005624/0.4358, allocations: 402.5 kB / 0.6732 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.436, allocations: 56 kB / 0.6732 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.4385, allocations: 1.434 MB / 0.6746 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.4388, allocations: 315.2 kB / 0.6749 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.4393, allocations: 418 kB / 0.6753 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.4416, allocations: 1.617 MB / 0.6769 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4416, allocations: 0 / 0.6769 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4416, allocations: 0 / 0.6769 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.118e-05/0.4416, allocations: 0 / 0.6769 GB, free: 3.391 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.001973/0.4436, allocations: 1.119 MB / 0.678 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4437, allocations: 11.89 kB / 0.678 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007252/0.4444, allocations: 142.8 kB / 0.6782 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007826/0.4452, allocations: 0.5158 MB / 0.6787 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.4452, allocations: 41.25 kB / 0.6787 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-05/0.4453, allocations: 52 kB / 0.6787 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009773/0.4463, allocations: 0.6158 MB / 0.6793 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.4463, allocations: 0 / 0.6793 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.4464, allocations: 25.06 kB / 0.6794 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4464, allocations: 12 kB / 0.6794 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006829/0.4471, allocations: 480.9 kB / 0.6798 GB, free: 292 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.003852/0.451, allocations: 2.283 MB / 0.6821 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.4512, allocations: 136.2 kB / 0.6822 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.031e-05/0.4513, allocations: 60.84 kB / 0.6823 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.4516, allocations: 129.1 kB / 0.6824 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4516, allocations: 38.56 kB / 0.6824 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.4516, allocations: 0 / 0.6824 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0004643/0.4521, allocations: 236.7 kB / 0.6826 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.4521, allocations: 55.41 kB / 0.6827 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.4532, allocations: 0.9809 MB / 0.6837 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.4533, allocations: 37.64 kB / 0.6837 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.4536, allocations: 375.2 kB / 0.684 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.4536, allocations: 63.19 kB / 0.6841 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.4538, allocations: 89.97 kB / 0.6842 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4539, allocations: 321.9 kB / 0.6845 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.4542, allocations: 130.6 kB / 0.6846 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.4544, allocations: 246.3 kB / 0.6849 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.4549, allocations: 351 kB / 0.6852 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4549, allocations: 4 kB / 0.6852 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006972/0.4556, allocations: 456.2 kB / 0.6856 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4556, allocations: 8 kB / 0.6856 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.4556, allocations: 7.984 kB / 0.6856 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4557, allocations: 11.94 kB / 0.6857 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.4561, allocations: 111.8 kB / 0.6858 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003526/0.4565, allocations: 0.606 MB / 0.6864 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.457, allocations: 79.14 kB / 0.6864 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.457, allocations: 27.92 kB / 0.6865 GB, free: 9.086 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.0002996/0.4573, allocations: 246.2 kB / 0.6867 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.4575, allocations: 71.16 kB / 0.6868 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.4578, allocations: 229.5 kB / 0.687 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.4578, allocations: 3.984 kB / 0.687 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4578, allocations: 0 / 0.687 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4578, allocations: 0 / 0.687 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.4589, allocations: 0.7973 MB / 0.6878 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4589, allocations: 7.625 kB / 0.6878 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.4591, allocations: 44 kB / 0.6878 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.4591, allocations: 8 kB / 0.6878 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.4592, allocations: 4 kB / 0.6878 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002876/0.4595, allocations: 0.5977 MB / 0.6884 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4595, allocations: 3.938 kB / 0.6884 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.4599, allocations: 377.3 kB / 0.6888 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.4601, allocations: 172.1 kB / 0.6889 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/0.4602, allocations: 7.984 kB / 0.6889 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.4606, allocations: 15.98 kB / 0.689 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.4606, allocations: 15.98 kB / 0.689 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.4607, allocations: 19.92 kB / 0.689 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007644/0.4615, allocations: 0.702 MB / 0.6897 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4615, allocations: 0 / 0.6897 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006717/0.4621, allocations: 211.8 kB / 0.6899 GB, free: 5.434 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.001298/0.4634, allocations: 0.5441 MB / 0.6904 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004812/0.4639, allocations: 247.8 kB / 0.6906 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4639, allocations: 4 kB / 0.6907 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.4641, allocations: 67.84 kB / 0.6907 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.4655, allocations: 320.1 kB / 0.691 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.4671, allocations: 1.214 MB / 0.6922 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.4676, allocations: 0.9135 MB / 0.6931 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.4678, allocations: 59.42 kB / 0.6932 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.4678, allocations: 0 / 0.6932 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of Templates: time 0.01932/0.4871, allocations: 14.94 MB / 0.7077 GB, free: 3.031 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)