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.00149/0.00149, allocations: 109.4 kB / 17.06 MB, free: 6.023 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.001722/0.001722, allocations: 191 kB / 18 MB, free: 5.105 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.444/1.444, allocations: 205.1 MB / 223.9 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.2911/0.2911, allocations: 48.84 MB / 320.1 MB, free: 11.03 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.001448/0.001448, allocations: 71.89 kB / 450.5 MB, free: 8.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1252, allocations: 59.16 MB / 0.4977 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.4677/0.5929, allocations: 170.6 MB / 0.6644 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005967/0.5989, allocations: 3.759 MB / 0.668 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006471/0.5996, allocations: 7.938 kB / 0.668 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.6008, allocations: 286.4 kB / 0.6683 GB, free: 11.76 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.001478/0.6023, allocations: 449.6 kB / 0.6687 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004348/0.6067, allocations: 1.491 MB / 0.6702 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.6086, allocations: 1.21 MB / 0.6714 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.6091, allocations: 354.3 kB / 0.6717 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006764/0.6098, allocations: 474.4 kB / 0.6722 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005421/0.6104, allocations: 406.4 kB / 0.6726 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-05/0.6105, allocations: 56 kB / 0.6726 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.6134, allocations: 1.434 MB / 0.674 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.6137, allocations: 319.2 kB / 0.6743 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.6142, allocations: 414.1 kB / 0.6747 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.6165, allocations: 1.609 MB / 0.6763 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6165, allocations: 0 / 0.6763 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.504e-06/0.6166, allocations: 0 / 0.6763 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.6166, allocations: 0 / 0.6763 GB, free: 3.582 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.001961/0.6185, allocations: 1.126 MB / 0.6774 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.6186, allocations: 11.89 kB / 0.6774 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007333/0.6193, allocations: 146.8 kB / 0.6775 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/0.6201, allocations: 0.508 MB / 0.678 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.6201, allocations: 37.31 kB / 0.6781 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-05/0.6202, allocations: 56 kB / 0.6781 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.6213, allocations: 0.6157 MB / 0.6787 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.6213, allocations: 0 / 0.6787 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.6214, allocations: 27.94 kB / 0.6787 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.6214, allocations: 16 kB / 0.6788 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007438/0.6221, allocations: 472.9 kB / 0.6792 GB, free: 484 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.004317/0.6265, allocations: 2.29 MB / 0.6814 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.6268, allocations: 138.6 kB / 0.6816 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.6269, allocations: 57.91 kB / 0.6816 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.6272, allocations: 121.1 kB / 0.6818 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.6272, allocations: 38.56 kB / 0.6818 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.6272, allocations: 0 / 0.6818 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005109/0.6277, allocations: 240.7 kB / 0.682 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.6278, allocations: 55.41 kB / 0.6821 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.6289, allocations: 0.9848 MB / 0.683 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.629, allocations: 29.7 kB / 0.6831 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.6293, allocations: 383.3 kB / 0.6834 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.6293, allocations: 55.2 kB / 0.6835 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.6295, allocations: 86.03 kB / 0.6836 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6296, allocations: 329.8 kB / 0.6839 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.6298, allocations: 130.6 kB / 0.684 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.6302, allocations: 258.3 kB / 0.6842 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.6306, allocations: 333.7 kB / 0.6846 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.6306, allocations: 4 kB / 0.6846 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000769/0.6314, allocations: 464.2 kB / 0.685 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.6314, allocations: 7.984 kB / 0.685 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.6315, allocations: 4.875 kB / 0.685 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.6315, allocations: 11.94 kB / 0.685 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.632, allocations: 111.8 kB / 0.6851 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004431/0.6325, allocations: 0.6098 MB / 0.6857 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.633, allocations: 71.2 kB / 0.6858 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.633, allocations: 25.62 kB / 0.6858 GB, free: 9.277 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.000351/0.6334, allocations: 250.2 kB / 0.6861 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.6335, allocations: 71.16 kB / 0.6861 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.6339, allocations: 228.4 kB / 0.6864 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.634, allocations: 0 / 0.6864 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.634, allocations: 0 / 0.6864 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.634, allocations: 0 / 0.6864 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.6351, allocations: 0.809 MB / 0.6871 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6352, allocations: 7.609 kB / 0.6872 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.6354, allocations: 40.06 kB / 0.6872 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.6354, allocations: 8 kB / 0.6872 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6354, allocations: 0 / 0.6872 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003413/0.6358, allocations: 0.6015 MB / 0.6878 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6358, allocations: 4.031 kB / 0.6878 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.6363, allocations: 385.2 kB / 0.6882 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.6365, allocations: 168.1 kB / 0.6883 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.042e-05/0.6366, allocations: 11.98 kB / 0.6883 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.637, allocations: 15.98 kB / 0.6883 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.637, allocations: 11.98 kB / 0.6884 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.6371, allocations: 16.05 kB / 0.6884 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008736/0.638, allocations: 0.6981 MB / 0.6891 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.638, allocations: 0 / 0.6891 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008022/0.6388, allocations: 211.8 kB / 0.6893 GB, free: 5.621 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.001414/0.6402, allocations: 0.541 MB / 0.6898 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005521/0.6408, allocations: 247.7 kB / 0.69 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6408, allocations: 4 kB / 0.69 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.6409, allocations: 71.91 kB / 0.6901 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.6425, allocations: 316.1 kB / 0.6904 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.6444, allocations: 1.174 MB / 0.6915 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.645, allocations: 0.9174 MB / 0.6924 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000418/0.6454, allocations: 141.8 kB / 0.6926 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.6455, allocations: 51.44 kB / 0.6926 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.6455, allocations: 0 / 0.6926 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of Templates: time 0.02402/0.6695, allocations: 14.89 MB / 0.7072 GB, free: 3.188 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)