Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 182.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.326/1.326, allocations: 225.7 MB / 243.2 MB, free: 8.473 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.0007478/0.0007478, allocations: 96.03 kB / 294.4 MB, free: 9.496 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.3812/0.3812, allocations: 48.79 MB / 394.3 MB, free: 33.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002877, allocations: 12 kB / 468.1 MB, free: 9.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2945, allocations: 63.08 MB / 0.5187 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.2083/0.5029, allocations: 158.1 MB / 0.6731 GB, free: 7.445 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005228/0.5081, allocations: 5.129 MB / 0.6781 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004202/0.5086, allocations: 4 kB / 0.6781 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008094/0.5094, allocations: 238.8 kB / 0.6783 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009706/0.5104, allocations: 466 kB / 0.6788 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2963/0.8067, allocations: 1.344 MB / 0.6801 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002614/0.8094, allocations: 1.65 MB / 0.6817 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/0.8099, allocations: 305.7 kB / 0.682 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007185/0.8106, allocations: 440.8 kB / 0.6824 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006012/0.8112, allocations: 457.5 kB / 0.6829 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.966e-05/0.8113, allocations: 25.75 kB / 0.6829 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/0.8146, allocations: 1.577 MB / 0.6844 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.8149, allocations: 354.3 kB / 0.6848 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004211/0.8153, allocations: 449.2 kB / 0.6852 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.8174, allocations: 1.729 MB / 0.6869 GB, free: 12.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.8174, allocations: 2.406 kB / 0.6869 GB, free: 12.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.8174, allocations: 0 / 0.6869 GB, free: 12.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.8174, allocations: 0 / 0.6869 GB, free: 12.95 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001505/0.819, allocations: 1.087 MB / 0.6879 GB, free: 12.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.819, allocations: 14.2 kB / 0.688 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000669/0.8197, allocations: 156.4 kB / 0.6881 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/0.8205, allocations: 0.6405 MB / 0.6887 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.8205, allocations: 34 kB / 0.6888 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.8206, allocations: 52.34 kB / 0.6888 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.8216, allocations: 0.6026 MB / 0.6894 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.8216, allocations: 0 / 0.6894 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.8216, allocations: 23.56 kB / 0.6894 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.8217, allocations: 11.28 kB / 0.6894 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006815/0.8224, allocations: 463.2 kB / 0.6899 GB, free: 11.82 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.003497/0.8259, allocations: 2.36 MB / 0.6922 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.8262, allocations: 137.5 kB / 0.6923 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.593e-05/0.8263, allocations: 53.2 kB / 0.6924 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.8265, allocations: 123 kB / 0.6925 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.8265, allocations: 42.3 kB / 0.6925 GB, free: 10.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.8266, allocations: 1.25 kB / 0.6925 GB, free: 10.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004982/0.8271, allocations: 256.9 kB / 0.6928 GB, free: 10.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.8271, allocations: 52.5 kB / 0.6928 GB, free: 10.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.8288, allocations: 1.312 MB / 0.6941 GB, free: 10.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.8289, allocations: 32.77 kB / 0.6941 GB, free: 10.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.8292, allocations: 469.8 kB / 0.6946 GB, free: 10.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.8292, allocations: 51.56 kB / 0.6946 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.8293, allocations: 9.656 kB / 0.6946 GB, free: 10.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.8293, allocations: 320.5 kB / 0.6949 GB, free: 9.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.8295, allocations: 124.9 kB / 0.6951 GB, free: 9.766 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.8298, allocations: 247.5 kB / 0.6953 GB, free: 9.598 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.8302, allocations: 341.4 kB / 0.6956 GB, free: 9.426 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.8302, allocations: 1.969 kB / 0.6956 GB, free: 9.426 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007292/0.831, allocations: 468.7 kB / 0.6961 GB, free: 9.348 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.831, allocations: 10.59 kB / 0.6961 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.831, allocations: 5.375 kB / 0.6961 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.831, allocations: 8.703 kB / 0.6961 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.8315, allocations: 103.3 kB / 0.6962 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002843/0.8318, allocations: 0.6045 MB / 0.6968 GB, free: 8.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.8323, allocations: 80.41 kB / 0.6969 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.8323, allocations: 26.84 kB / 0.6969 GB, free: 8.711 MB / 490.7 MB 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.0003955/0.8327, allocations: 299.6 kB / 0.6972 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.8329, allocations: 86.84 kB / 0.6973 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.8333, allocations: 242.1 kB / 0.6975 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.8333, allocations: 5 kB / 0.6975 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8333, allocations: 1.125 kB / 0.6975 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8333, allocations: 11.64 kB / 0.6975 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.834, allocations: 0.5493 MB / 0.698 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.834, allocations: 0 / 0.698 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.8343, allocations: 43.3 kB / 0.6981 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.8343, allocations: 1.406 kB / 0.6981 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.8343, allocations: 6.875 kB / 0.6981 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001978/0.8345, allocations: 0.6032 MB / 0.6987 GB, free: 7.699 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8345, allocations: 10.41 kB / 0.6987 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.835, allocations: 374 kB / 0.699 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.8352, allocations: 201.3 kB / 0.6992 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.685e-05/0.8353, allocations: 4.75 kB / 0.6992 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.8357, allocations: 19.27 kB / 0.6993 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.8358, allocations: 17.09 kB / 0.6993 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.8358, allocations: 16.61 kB / 0.6993 GB, free: 7.371 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001545/0.8374, allocations: 0.9267 MB / 0.7002 GB, free: 7.262 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8374, allocations: 0 / 0.7002 GB, free: 7.262 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001129/0.8385, allocations: 224.3 kB / 0.7004 GB, free: 7.238 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (14): * Single equations (assignments): 13 * 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.001435/0.8399, allocations: 0.5818 MB / 0.701 GB, free: 6.969 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005015/0.8405, allocations: 245.1 kB / 0.7012 GB, free: 6.961 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8405, allocations: 0.9375 kB / 0.7012 GB, free: 6.961 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.8406, allocations: 61.78 kB / 0.7013 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.001578/0.8422, allocations: 324.5 kB / 0.7016 GB, free: 6.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.8448, allocations: 1.835 MB / 0.7034 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007883/0.8456, allocations: 0.9964 MB / 0.7043 GB, free: 21.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005817/0.8462, allocations: 164.6 kB / 0.7045 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.8463, allocations: 62.39 kB / 0.7046 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.21e-07/0.8463, allocations: 0 / 0.7046 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.02303/0.8694, allocations: 14.62 MB / 0.7188 GB, free: 18.02 MB / 0.4948 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)