Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.00111/0.00111, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.242/1.242, allocations: 205.1 MB / 224.6 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2392/0.2392, 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.00137/0.00137, allocations: 71.89 kB / 451.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09707/0.09845, allocations: 59.17 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3719/0.4704, allocations: 170.5 MB / 0.6649 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005059/0.4755, allocations: 3.813 MB / 0.6687 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004909/0.4761, allocations: 7.938 kB / 0.6687 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008647/0.4769, allocations: 274.3 kB / 0.6689 GB, free: 11.74 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.001172/0.4782, allocations: 0.4898 MB / 0.6694 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.4819, allocations: 1.56 MB / 0.6709 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.4834, allocations: 1.241 MB / 0.6721 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.484, allocations: 377.6 kB / 0.6725 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007986/0.4848, allocations: 494.3 kB / 0.673 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006385/0.4854, allocations: 450.4 kB / 0.6734 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.4856, allocations: 56 kB / 0.6735 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.4884, allocations: 1.431 MB / 0.6749 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.4888, allocations: 375 kB / 0.6752 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006608/0.4895, allocations: 457.7 kB / 0.6757 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00302/0.4925, allocations: 1.722 MB / 0.6773 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4925, allocations: 4 kB / 0.6773 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4925, allocations: 0 / 0.6773 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.964e-05/0.4926, allocations: 0 / 0.6773 GB, free: 3.113 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002243/0.4948, allocations: 1.265 MB / 0.6786 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.4949, allocations: 15.89 kB / 0.6786 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007621/0.4956, allocations: 158.7 kB / 0.6787 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.4968, allocations: 0.6353 MB / 0.6794 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-05/0.4969, allocations: 37 kB / 0.6794 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.497, allocations: 48 kB / 0.6794 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.498, allocations: 0.6112 MB / 0.68 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.498, allocations: 3.938 kB / 0.68 GB, free: 244 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.944e-05/0.4981, allocations: 23.94 kB / 0.6801 GB, free: 220 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.4981, allocations: 12 kB / 0.6801 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.4989, allocations: 471.8 kB / 0.6805 GB, free: 15.73 MB / 0.5294 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.004178/0.5031, allocations: 2.332 MB / 0.6828 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.5033, allocations: 134.6 kB / 0.6829 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.5034, allocations: 60.83 kB / 0.683 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/0.5037, allocations: 121.1 kB / 0.6831 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.5038, allocations: 42.56 kB / 0.6831 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.5038, allocations: 0 / 0.6831 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005158/0.5043, allocations: 248.8 kB / 0.6834 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.5043, allocations: 59.39 kB / 0.6834 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.506, allocations: 1.324 MB / 0.6847 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.5061, allocations: 25.7 kB / 0.6848 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.5064, allocations: 463.1 kB / 0.6852 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.5065, allocations: 59.2 kB / 0.6853 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.5066, allocations: 81.97 kB / 0.6853 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.5068, allocations: 329.9 kB / 0.6856 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.507, allocations: 130.6 kB / 0.6858 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.5073, allocations: 241.4 kB / 0.686 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.5077, allocations: 332.9 kB / 0.6863 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5077, allocations: 0 / 0.6863 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008116/0.5086, allocations: 490.4 kB / 0.6868 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.5086, allocations: 8 kB / 0.6868 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.5086, allocations: 4 kB / 0.6868 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.5086, allocations: 8.531 kB / 0.6868 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.5091, allocations: 107.9 kB / 0.6869 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004222/0.5095, allocations: 0.6055 MB / 0.6875 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.51, allocations: 71.14 kB / 0.6876 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.5101, allocations: 20 kB / 0.6876 GB, free: 8.082 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (47): * Single equations (assignments): 46 * 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.0003662/0.5105, allocations: 305.6 kB / 0.6879 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.5106, allocations: 94.81 kB / 0.688 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003845/0.511, allocations: 237.5 kB / 0.6882 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.511, allocations: 4 kB / 0.6882 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.511, allocations: 0 / 0.6882 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.5113, allocations: 192 kB / 0.6884 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.5114, allocations: 4 kB / 0.6884 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.5119, allocations: 15.98 kB / 0.6884 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.5119, allocations: 11.98 kB / 0.6884 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005185/0.5124, allocations: 250.4 kB / 0.6887 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005188/0.513, allocations: 458.4 kB / 0.6891 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.649e-05/0.5131, allocations: 52.02 kB / 0.6891 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001181/0.5143, allocations: 0.942 MB / 0.6901 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of Backend: time 6.01e-07/0.5143, allocations: 4 kB / 0.6901 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.5172, allocations: 1.014 MB / 0.6911 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003153/0.5204, allocations: 2.229 MB / 0.6932 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.02972/0.5501, allocations: 19.12 MB / 0.7119 GB, free: 15.02 MB / 0.5606 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)