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.00126/0.00126, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.00126/0.00126, allocations: 195 kB / 18 MB, free: 5.074 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.531/1.531, 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.2908/0.2908, allocations: 48.85 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.001367/0.001368, allocations: 67.89 kB / 450.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1263, allocations: 59.15 MB / 0.4977 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.5022/0.6286, allocations: 170.6 MB / 0.6644 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006801/0.6354, allocations: 3.767 MB / 0.668 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006608/0.6361, allocations: 7.938 kB / 0.668 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.6373, allocations: 270.4 kB / 0.6683 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.001554/0.6389, allocations: 449.6 kB / 0.6687 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004232/0.6431, allocations: 1.474 MB / 0.6702 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001593/0.6447, allocations: 1.206 MB / 0.6714 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005537/0.6453, allocations: 366.2 kB / 0.6717 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006316/0.6459, allocations: 454.5 kB / 0.6721 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005026/0.6464, allocations: 418.4 kB / 0.6725 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.622e-05/0.6465, allocations: 52 kB / 0.6726 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.6492, allocations: 1.427 MB / 0.674 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.6495, allocations: 323.1 kB / 0.6743 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.65, allocations: 410.1 kB / 0.6747 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.6521, allocations: 1.62 MB / 0.6763 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6521, allocations: 0 / 0.6763 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6521, allocations: 0 / 0.6763 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.6522, allocations: 3.984 kB / 0.6763 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.001709/0.6539, allocations: 1.151 MB / 0.6774 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.6539, allocations: 11.89 kB / 0.6774 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006921/0.6546, allocations: 139.4 kB / 0.6775 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007279/0.6554, allocations: 0.5318 MB / 0.678 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.6554, allocations: 37.31 kB / 0.6781 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/0.6555, allocations: 48 kB / 0.6781 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009805/0.6565, allocations: 0.6119 MB / 0.6787 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.6565, allocations: 0 / 0.6787 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.6566, allocations: 31.92 kB / 0.6788 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.6566, allocations: 12 kB / 0.6788 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007138/0.6573, allocations: 472.9 kB / 0.6792 GB, free: 268 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.004039/0.6614, allocations: 2.295 MB / 0.6815 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.6616, allocations: 134.6 kB / 0.6816 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.6617, allocations: 60.84 kB / 0.6816 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.662, allocations: 125.1 kB / 0.6818 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.662, allocations: 38.56 kB / 0.6818 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.6621, allocations: 0 / 0.6818 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0004801/0.6625, allocations: 245 kB / 0.682 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.6626, allocations: 55.41 kB / 0.6821 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.6637, allocations: 0.9771 MB / 0.683 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.6637, allocations: 33.7 kB / 0.6831 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.664, allocations: 391.9 kB / 0.6835 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.6641, allocations: 63.52 kB / 0.6835 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.6643, allocations: 86.03 kB / 0.6836 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6644, allocations: 321.9 kB / 0.6839 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.6646, allocations: 130.6 kB / 0.684 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.6649, allocations: 254.3 kB / 0.6843 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.6654, allocations: 341.7 kB / 0.6846 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6654, allocations: 4 kB / 0.6846 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007346/0.6661, allocations: 464.6 kB / 0.685 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.6661, allocations: 8 kB / 0.685 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6661, allocations: 4 kB / 0.6851 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.6662, allocations: 7.938 kB / 0.6851 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.6667, allocations: 118 kB / 0.6852 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003828/0.6671, allocations: 0.606 MB / 0.6858 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.6676, allocations: 79.39 kB / 0.6858 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.6676, allocations: 23.98 kB / 0.6859 GB, free: 9.043 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.000303/0.6679, allocations: 250.2 kB / 0.6861 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.6681, allocations: 79.62 kB / 0.6862 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.6685, allocations: 226.2 kB / 0.6864 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6685, allocations: 0 / 0.6864 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6685, allocations: 4 kB / 0.6864 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6685, allocations: 0 / 0.6864 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.6697, allocations: 0.805 MB / 0.6872 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6697, allocations: 0 / 0.6872 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.6699, allocations: 48.05 kB / 0.6872 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.67, allocations: 4 kB / 0.6872 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.67, allocations: 8 kB / 0.6872 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003194/0.6703, allocations: 0.5976 MB / 0.6878 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6703, allocations: 4.906 kB / 0.6878 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.6708, allocations: 381.6 kB / 0.6882 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.671, allocations: 180.5 kB / 0.6884 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.399e-05/0.6711, allocations: 0 / 0.6884 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.6715, allocations: 23.97 kB / 0.6884 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.6715, allocations: 7.984 kB / 0.6884 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.6716, allocations: 16.05 kB / 0.6884 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008091/0.6724, allocations: 0.7059 MB / 0.6891 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6724, allocations: 0 / 0.6891 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007529/0.6732, allocations: 215.6 kB / 0.6893 GB, free: 5.367 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.001303/0.6745, allocations: 0.5347 MB / 0.6898 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005226/0.675, allocations: 255.6 kB / 0.6901 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.675, allocations: 0 / 0.6901 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.6752, allocations: 63.91 kB / 0.6901 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.6767, allocations: 325.2 kB / 0.6904 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.6784, allocations: 1.2 MB / 0.6916 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.6789, allocations: 0.9174 MB / 0.6925 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004532/0.6794, allocations: 137.8 kB / 0.6926 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.6795, allocations: 51.44 kB / 0.6927 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.6795, allocations: 0 / 0.6927 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of Templates: time 0.02401/0.7035, allocations: 14.88 MB / 0.7072 GB, free: 2.926 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)