Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 183.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.3/1.3, allocations: 225.7 MB / 243.2 MB, free: 8.453 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.0009845/0.0009846, allocations: 91.38 kB / 294.4 MB, free: 9.473 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.36/0.36, allocations: 48.78 MB / 394.3 MB, free: 33.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.000317, allocations: 8 kB / 468.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2908, allocations: 63.07 MB / 0.5187 GB, free: 37.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.1554/0.4462, allocations: 158.2 MB / 0.6732 GB, free: 7.359 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005805/0.4521, allocations: 5.219 MB / 0.6783 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.4526, allocations: 7.938 kB / 0.6783 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008407/0.4534, allocations: 242.8 kB / 0.6785 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.4545, allocations: 0.5329 MB / 0.679 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2426/0.6972, allocations: 1.431 MB / 0.6804 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.6998, allocations: 1.728 MB / 0.6821 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006141/0.7004, allocations: 335.8 kB / 0.6824 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007128/0.7011, allocations: 477.6 kB / 0.6829 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006366/0.7018, allocations: 0.5326 MB / 0.6834 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.906e-05/0.7019, allocations: 26.38 kB / 0.6834 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.7047, allocations: 1.571 MB / 0.685 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.7051, allocations: 440.7 kB / 0.6854 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005135/0.7056, allocations: 0.5206 MB / 0.6859 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.7079, allocations: 1.92 MB / 0.6878 GB, free: 12.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.7079, allocations: 0 / 0.6878 GB, free: 12.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.7079, allocations: 4 kB / 0.6878 GB, free: 12.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.7079, allocations: 0 / 0.6878 GB, free: 12.84 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.001801/0.7097, allocations: 1.315 MB / 0.6891 GB, free: 12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.7098, allocations: 14.64 kB / 0.6891 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007324/0.7105, allocations: 189.7 kB / 0.6893 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.7116, allocations: 0.8392 MB / 0.6901 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.7116, allocations: 38.16 kB / 0.6901 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.7117, allocations: 52.78 kB / 0.6902 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009354/0.7126, allocations: 0.6096 MB / 0.6908 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.7127, allocations: 3.094 kB / 0.6908 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.7127, allocations: 26.03 kB / 0.6908 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.7127, allocations: 11.34 kB / 0.6908 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.7135, allocations: 470 kB / 0.6912 GB, free: 11.48 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.004185/0.7177, allocations: 2.604 MB / 0.6938 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.7179, allocations: 137 kB / 0.6939 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.798e-05/0.718, allocations: 53.7 kB / 0.694 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/0.7183, allocations: 120.4 kB / 0.6941 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.7183, allocations: 42.23 kB / 0.6941 GB, free: 10.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.754e-06/0.7183, allocations: 0.7812 kB / 0.6941 GB, free: 10.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004779/0.7188, allocations: 273.5 kB / 0.6944 GB, free: 10.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.7188, allocations: 56.69 kB / 0.6944 GB, free: 10.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.7212, allocations: 1.899 MB / 0.6963 GB, free: 9.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.7213, allocations: 28.61 kB / 0.6963 GB, free: 9.879 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.7217, allocations: 0.5818 MB / 0.6969 GB, free: 9.707 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.7217, allocations: 53.62 kB / 0.6969 GB, free: 9.676 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.7218, allocations: 9 kB / 0.697 GB, free: 9.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.7218, allocations: 323 kB / 0.6973 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.722, allocations: 122.8 kB / 0.6974 GB, free: 9.355 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.7223, allocations: 248.8 kB / 0.6976 GB, free: 9.184 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.7226, allocations: 333.8 kB / 0.6979 GB, free: 9.008 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.7227, allocations: 2.984 kB / 0.6979 GB, free: 9.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007783/0.7234, allocations: 493.2 kB / 0.6984 GB, free: 8.914 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.7235, allocations: 6.031 kB / 0.6984 GB, free: 8.914 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.7235, allocations: 8.516 kB / 0.6984 GB, free: 8.914 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.7235, allocations: 13.81 kB / 0.6984 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/0.7241, allocations: 107.2 kB / 0.6985 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004377/0.7245, allocations: 1.192 MB / 0.6997 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/0.725, allocations: 79.64 kB / 0.6998 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.7251, allocations: 25.55 kB / 0.6998 GB, free: 7.695 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005519/0.7257, allocations: 380.4 kB / 0.7002 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.7258, allocations: 120.6 kB / 0.7003 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.7263, allocations: 273.3 kB / 0.7005 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.7263, allocations: 1.844 kB / 0.7005 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.7263, allocations: 4.781 kB / 0.7005 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.7264, allocations: 2.719 kB / 0.7005 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009843/0.7273, allocations: 0.6742 MB / 0.7012 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.7274, allocations: 0 / 0.7012 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.7276, allocations: 56.47 kB / 0.7013 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7277, allocations: 0.875 kB / 0.7013 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7277, allocations: 2.438 kB / 0.7013 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003844/0.7281, allocations: 1.191 MB / 0.7024 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7281, allocations: 0 / 0.7024 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.7285, allocations: 403.2 kB / 0.7028 GB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.7289, allocations: 252.4 kB / 0.7031 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.729, allocations: 9.953 kB / 0.7031 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.7294, allocations: 24.92 kB / 0.7031 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.7295, allocations: 8.469 kB / 0.7031 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.7295, allocations: 16.31 kB / 0.7031 GB, free: 5.695 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001941/0.7314, allocations: 1.345 MB / 0.7044 GB, free: 5.586 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7315, allocations: 1.188 kB / 0.7044 GB, free: 5.586 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008435/0.7323, allocations: 232.9 kB / 0.7046 GB, free: 5.566 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/0.7336, allocations: 0.5872 MB / 0.7052 GB, free: 5.293 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005617/0.7342, allocations: 242.3 kB / 0.7055 GB, free: 5.285 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.7342, allocations: 1.5 kB / 0.7055 GB, free: 5.285 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.7344, allocations: 73.84 kB / 0.7055 GB, free: 5.285 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.7359, allocations: 357.3 kB / 0.7059 GB, free: 5.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.7383, allocations: 2.314 MB / 0.7081 GB, free: 4.211 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/0.739, allocations: 1.105 MB / 0.7092 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005941/0.7396, allocations: 215.4 kB / 0.7094 GB, free: 19.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.7398, allocations: 74.7 kB / 0.7095 GB, free: 19.46 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.7398, allocations: 0.8438 kB / 0.7095 GB, free: 19.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.02255/0.7624, allocations: 16.37 MB / 0.7255 GB, free: 14.89 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)