Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008601/0.0008602, allocations: 180.4 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 225.7 MB / 243.2 MB, free: 8.492 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008189/0.0008188, allocations: 95.05 kB / 294.4 MB, free: 9.512 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.432/0.432, allocations: 48.8 MB / 394.3 MB, free: 33.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003229, allocations: 8 kB / 468.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3121, allocations: 63.08 MB / 0.5187 GB, free: 37.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.1674/0.4796, allocations: 158.2 MB / 0.6732 GB, free: 7.391 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005753/0.4854, allocations: 5.075 MB / 0.6781 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/0.4859, allocations: 11.94 kB / 0.6782 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007831/0.4867, allocations: 230.8 kB / 0.6784 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008348/0.4875, allocations: 418 kB / 0.6788 GB, free: 1.254 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2888/0.7763, allocations: 1.269 MB / 0.68 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.7787, allocations: 1.624 MB / 0.6816 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004857/0.7792, allocations: 289.9 kB / 0.6819 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007058/0.7799, allocations: 423 kB / 0.6823 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005608/0.7804, allocations: 423 kB / 0.6827 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.856e-05/0.7805, allocations: 24.56 kB / 0.6827 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.7834, allocations: 1.578 MB / 0.6842 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.7837, allocations: 280.5 kB / 0.6845 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.784, allocations: 409.5 kB / 0.6849 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.7858, allocations: 1.624 MB / 0.6865 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7859, allocations: 0 / 0.6865 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.7859, allocations: 4 kB / 0.6865 GB, free: 12.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.7859, allocations: 0 / 0.6865 GB, free: 12.99 MB / 490.7 MB 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.001338/0.7872, allocations: 0.9653 MB / 0.6874 GB, free: 12.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7873, allocations: 19.66 kB / 0.6875 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006554/0.7879, allocations: 137.1 kB / 0.6876 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006025/0.7885, allocations: 0.5073 MB / 0.6881 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.7886, allocations: 40.91 kB / 0.6881 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.7887, allocations: 51.8 kB / 0.6882 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008994/0.7896, allocations: 0.6047 MB / 0.6888 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.7896, allocations: 9.391 kB / 0.6888 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/0.7897, allocations: 22.09 kB / 0.6888 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.7897, allocations: 18.14 kB / 0.6888 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.7904, allocations: 467.7 kB / 0.6893 GB, free: 11.95 MB / 490.7 MB 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.003631/0.794, allocations: 2.324 MB / 0.6915 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.7943, allocations: 130.1 kB / 0.6917 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.7944, allocations: 56.44 kB / 0.6917 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.7947, allocations: 121.2 kB / 0.6918 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.7947, allocations: 46.25 kB / 0.6919 GB, free: 10.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.7948, allocations: 0 / 0.6919 GB, free: 10.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005133/0.7953, allocations: 238 kB / 0.6921 GB, free: 10.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.7953, allocations: 55.84 kB / 0.6921 GB, free: 10.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.7966, allocations: 0.9768 MB / 0.6931 GB, free: 10.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.7966, allocations: 27.92 kB / 0.6931 GB, free: 10.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.7969, allocations: 386.5 kB / 0.6935 GB, free: 10.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.7969, allocations: 59.67 kB / 0.6936 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.797, allocations: 12 kB / 0.6936 GB, free: 10.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.797, allocations: 319.5 kB / 0.6939 GB, free: 9.898 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.7972, allocations: 125.9 kB / 0.694 GB, free: 9.887 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.7975, allocations: 255.6 kB / 0.6942 GB, free: 9.711 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.798, allocations: 337.2 kB / 0.6946 GB, free: 9.539 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.798, allocations: 5.031 kB / 0.6946 GB, free: 9.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007804/0.7988, allocations: 463.1 kB / 0.695 GB, free: 9.465 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.7988, allocations: 7.625 kB / 0.695 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.7988, allocations: 8.219 kB / 0.695 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.7989, allocations: 8.578 kB / 0.695 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.7994, allocations: 110.1 kB / 0.6951 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002728/0.7997, allocations: 0.6124 MB / 0.6957 GB, free: 8.871 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.8002, allocations: 76.31 kB / 0.6958 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.8003, allocations: 24.12 kB / 0.6958 GB, free: 8.828 MB / 490.7 MB 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.0003058/0.8006, allocations: 246.8 kB / 0.6961 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.8007, allocations: 84.55 kB / 0.6961 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.8011, allocations: 214.2 kB / 0.6963 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8011, allocations: 1.688 kB / 0.6963 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8011, allocations: 4 kB / 0.6963 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8011, allocations: 4 kB / 0.6963 GB, free: 8.609 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.8021, allocations: 0.8066 MB / 0.6971 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8022, allocations: 1.219 kB / 0.6971 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.8024, allocations: 45.97 kB / 0.6972 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8024, allocations: 4.906 kB / 0.6972 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.8024, allocations: 3.25 kB / 0.6972 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001858/0.8026, allocations: 0.6082 MB / 0.6978 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.8026, allocations: 1.031 kB / 0.6978 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.8031, allocations: 383.7 kB / 0.6982 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.8032, allocations: 173.6 kB / 0.6983 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.8034, allocations: 5 kB / 0.6983 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.8038, allocations: 24.58 kB / 0.6983 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.8038, allocations: 9.094 kB / 0.6984 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.8038, allocations: 18.58 kB / 0.6984 GB, free: 7.352 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009037/0.8047, allocations: 0.6924 MB / 0.699 GB, free: 7.262 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8048, allocations: 4.062 kB / 0.6991 GB, free: 7.258 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007567/0.8055, allocations: 215.7 kB / 0.6993 GB, free: 7.234 MB / 490.7 MB 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.001344/0.8069, allocations: 0.5779 MB / 0.6998 GB, free: 6.969 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000503/0.8074, allocations: 243 kB / 0.7001 GB, free: 6.965 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8074, allocations: 1.219 kB / 0.7001 GB, free: 6.965 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.8076, allocations: 71.66 kB / 0.7001 GB, free: 6.961 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.809, allocations: 311.4 kB / 0.7004 GB, free: 6.926 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.8109, allocations: 1.434 MB / 0.7018 GB, free: 6.195 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.8114, allocations: 0.9169 MB / 0.7027 GB, free: 21.49 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0005192/0.812, allocations: 150.1 kB / 0.7029 GB, free: 21.45 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.8121, allocations: 54.7 kB / 0.7029 GB, free: 21.44 MB / 0.4949 GB Notification: Performance of SimCode: time 3.51e-07/0.8121, allocations: 0.8438 kB / 0.7029 GB, free: 21.44 MB / 0.4949 GB Notification: Performance of Templates: time 0.02192/0.834, allocations: 13.65 MB / 0.7162 GB, free: 18.89 MB / 0.4949 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)