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.001422/0.001422, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001365/0.001365, allocations: 189.5 kB / 18.67 MB, free: 4.422 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.532/1.532, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3698/0.3698, allocations: 48.85 MB / 320.7 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.001489/0.001489, allocations: 75.89 kB / 451.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1322, allocations: 59.15 MB / 0.4984 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4846/0.6168, allocations: 170.7 MB / 0.665 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005586/0.6225, allocations: 3.755 MB / 0.6687 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006004/0.6231, allocations: 7.938 kB / 0.6687 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.6242, allocations: 274.3 kB / 0.669 GB, free: 11.56 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.001311/0.6255, allocations: 441.6 kB / 0.6694 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.6298, allocations: 1.472 MB / 0.6708 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.6315, allocations: 1.206 MB / 0.672 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000768/0.6323, allocations: 362.3 kB / 0.6723 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009962/0.6333, allocations: 466.4 kB / 0.6728 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000782/0.6341, allocations: 414.5 kB / 0.6732 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.6343, allocations: 56 kB / 0.6732 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.6377, allocations: 1.431 MB / 0.6746 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004088/0.6381, allocations: 319.2 kB / 0.6749 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007118/0.6388, allocations: 414.1 kB / 0.6753 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.642, allocations: 1.609 MB / 0.6769 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.642, allocations: 3.938 kB / 0.6769 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.944e-06/0.642, allocations: 4 kB / 0.6769 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.313e-05/0.6421, allocations: 0 / 0.6769 GB, free: 3.402 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.002509/0.6446, allocations: 1.119 MB / 0.678 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.6446, allocations: 11.89 kB / 0.678 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008377/0.6455, allocations: 142.8 kB / 0.6782 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009432/0.6464, allocations: 0.5197 MB / 0.6787 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.6465, allocations: 37.31 kB / 0.6787 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.443e-05/0.6466, allocations: 51.98 kB / 0.6788 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.6477, allocations: 0.6119 MB / 0.6793 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.6477, allocations: 0 / 0.6793 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/0.6478, allocations: 27.94 kB / 0.6794 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.6478, allocations: 15.98 kB / 0.6794 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007462/0.6486, allocations: 477 kB / 0.6798 GB, free: 304 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.004366/0.6529, allocations: 2.283 MB / 0.6821 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.6532, allocations: 134.6 kB / 0.6822 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.6533, allocations: 60.83 kB / 0.6823 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.6536, allocations: 113.1 kB / 0.6824 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.6536, allocations: 42.55 kB / 0.6824 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.6536, allocations: 0 / 0.6824 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005507/0.6542, allocations: 236.7 kB / 0.6826 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.6543, allocations: 59.41 kB / 0.6827 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.6555, allocations: 0.9848 MB / 0.6837 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.6556, allocations: 33.64 kB / 0.6837 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.6559, allocations: 383.3 kB / 0.6841 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.6559, allocations: 55.2 kB / 0.6841 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.6561, allocations: 82.03 kB / 0.6842 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6562, allocations: 329.9 kB / 0.6845 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.6564, allocations: 130.7 kB / 0.6846 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.6567, allocations: 258.3 kB / 0.6849 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.6572, allocations: 337.7 kB / 0.6852 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6572, allocations: 0 / 0.6852 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007838/0.658, allocations: 469.8 kB / 0.6856 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.658, allocations: 15.84 kB / 0.6857 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.658, allocations: 4 kB / 0.6857 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.6581, allocations: 11.94 kB / 0.6857 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.6586, allocations: 107.9 kB / 0.6858 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003871/0.659, allocations: 0.6099 MB / 0.6864 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.6595, allocations: 71.19 kB / 0.6864 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.6596, allocations: 24 kB / 0.6865 GB, free: 9.105 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.0003505/0.6599, allocations: 254.3 kB / 0.6867 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.6601, allocations: 71.16 kB / 0.6868 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.6605, allocations: 222.7 kB / 0.687 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.6605, allocations: 4 kB / 0.687 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6605, allocations: 0 / 0.687 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.6605, allocations: 3.984 kB / 0.687 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.6617, allocations: 0.8066 MB / 0.6878 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6617, allocations: 0 / 0.6878 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.662, allocations: 52 kB / 0.6878 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.662, allocations: 0 / 0.6878 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.662, allocations: 8 kB / 0.6878 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000335/0.6623, allocations: 0.5977 MB / 0.6884 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6624, allocations: 0 / 0.6884 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.6628, allocations: 381.9 kB / 0.6888 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.6631, allocations: 172.1 kB / 0.6889 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.6632, allocations: 4 kB / 0.6889 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.6636, allocations: 19.98 kB / 0.689 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.6636, allocations: 7.984 kB / 0.689 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.6637, allocations: 32.84 kB / 0.689 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008514/0.6646, allocations: 0.6864 MB / 0.6897 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6646, allocations: 0 / 0.6897 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007846/0.6654, allocations: 215.8 kB / 0.6899 GB, free: 5.449 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.001441/0.6668, allocations: 0.5396 MB / 0.6904 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005486/0.6674, allocations: 251.9 kB / 0.6906 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6674, allocations: 0 / 0.6906 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.6675, allocations: 71.91 kB / 0.6907 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.6691, allocations: 312.8 kB / 0.691 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.6711, allocations: 1.23 MB / 0.6922 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.6717, allocations: 0.9174 MB / 0.6931 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.6718, allocations: 55.44 kB / 0.6932 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.6718, allocations: 0 / 0.6932 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.02557/0.6974, allocations: 15.03 MB / 0.7078 GB, free: 2.957 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)