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.001472/0.001472, allocations: 104.7 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.001558/0.001558, 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.295/1.295, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2635/0.2635, 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.001446/0.001446, allocations: 63.91 kB / 451.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, 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.3859/0.4892, allocations: 170.6 MB / 0.665 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005067/0.4944, allocations: 3.767 MB / 0.6687 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.4947, allocations: 11.94 kB / 0.6687 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.4956, allocations: 270.3 kB / 0.669 GB, free: 11.57 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.0008859/0.4965, allocations: 437.7 kB / 0.6694 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.4999, allocations: 1.479 MB / 0.6708 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001195/0.5011, allocations: 1.21 MB / 0.672 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.5016, allocations: 358.3 kB / 0.6724 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.5022, allocations: 474.4 kB / 0.6728 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.5026, allocations: 410.5 kB / 0.6732 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.519e-05/0.5027, allocations: 56 kB / 0.6733 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.5053, allocations: 1.434 MB / 0.6747 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.5056, allocations: 319.2 kB / 0.675 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004025/0.506, allocations: 406 kB / 0.6753 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.5082, allocations: 1.613 MB / 0.6769 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5082, allocations: 3.938 kB / 0.6769 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.597e-06/0.5082, allocations: 3.984 kB / 0.6769 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.5082, 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.001885/0.5101, allocations: 1.119 MB / 0.678 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5102, allocations: 11.89 kB / 0.678 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006989/0.5109, allocations: 142.8 kB / 0.6782 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/0.5116, allocations: 0.5158 MB / 0.6787 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.5116, allocations: 41.31 kB / 0.6787 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.5117, allocations: 48 kB / 0.6788 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009962/0.5127, allocations: 0.6119 MB / 0.6794 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.5127, allocations: 4 kB / 0.6794 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.5128, allocations: 31.92 kB / 0.6794 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.5128, allocations: 12 kB / 0.6794 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.5135, allocations: 469 kB / 0.6798 GB, free: 312 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.5173, allocations: 2.286 MB / 0.6821 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.5176, allocations: 134.6 kB / 0.6822 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.5177, allocations: 56.84 kB / 0.6823 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.518, allocations: 125.1 kB / 0.6824 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.518, allocations: 42.56 kB / 0.6824 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.5181, allocations: 0 / 0.6824 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005424/0.5186, allocations: 240.7 kB / 0.6827 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.5187, allocations: 51.41 kB / 0.6827 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.5199, allocations: 0.9809 MB / 0.6837 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.5199, allocations: 37.64 kB / 0.6837 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.5203, allocations: 383.3 kB / 0.6841 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.5203, allocations: 59.19 kB / 0.6841 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.5205, allocations: 82.03 kB / 0.6842 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5206, allocations: 325.9 kB / 0.6845 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.5209, allocations: 130.6 kB / 0.6846 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.5212, allocations: 250.3 kB / 0.6849 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.5216, allocations: 341.7 kB / 0.6852 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5217, allocations: 4 kB / 0.6852 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007436/0.5224, allocations: 462.4 kB / 0.6856 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.5224, allocations: 7.906 kB / 0.6856 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.5225, allocations: 10.05 kB / 0.6857 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.5225, allocations: 7.938 kB / 0.6857 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.523, allocations: 119.8 kB / 0.6858 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004232/0.5235, allocations: 0.6054 MB / 0.6864 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.5239, allocations: 75.2 kB / 0.6864 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.524, allocations: 27.92 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.0003097/0.5243, allocations: 254.3 kB / 0.6867 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.5244, allocations: 71.16 kB / 0.6868 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.5248, allocations: 220.7 kB / 0.687 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5248, allocations: 4.078 kB / 0.687 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5248, allocations: 0 / 0.687 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.525, allocations: 160.2 kB / 0.6871 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.5251, allocations: 8 kB / 0.6872 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.5255, allocations: 11.98 kB / 0.6872 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.5255, allocations: 19.92 kB / 0.6872 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004802/0.526, allocations: 257.6 kB / 0.6874 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004868/0.5265, allocations: 435.3 kB / 0.6878 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.708e-05/0.5266, allocations: 52.7 kB / 0.6879 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008648/0.5275, allocations: 0.6981 MB / 0.6886 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of Backend: time 5.81e-07/0.5275, allocations: 0 / 0.6886 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002785/0.5303, allocations: 0.9928 MB / 0.6895 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002887/0.5332, allocations: 1.879 MB / 0.6914 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of Templates: time 0.02878/0.562, allocations: 18.36 MB / 0.7093 GB, free: 1.574 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)