Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 178.4 kB / 16.71 MB, free: 5.09 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.488 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.0008413/0.0008412, allocations: 100.4 kB / 294.4 MB, free: 9.52 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.4366/0.4366, allocations: 48.79 MB / 394.3 MB, free: 33.59 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002977, allocations: 12 kB / 468.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2831, allocations: 63.08 MB / 0.5187 GB, free: 37.69 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.02858/0.3117, allocations: 42.2 MB / 0.5599 GB, free: 4.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0205/0.3322, allocations: 21.97 MB / 0.5814 GB, free: 2.477 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005221/0.3328, allocations: 9.656 kB / 0.5814 GB, free: 2.473 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.3333, allocations: 118.3 kB / 0.5815 GB, free: 2.406 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000473/0.3338, allocations: 206.1 kB / 0.5817 GB, free: 2.277 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01671/0.3505, allocations: 5.151 MB / 0.5867 GB, free: 14.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.3516, allocations: 0.7742 MB / 0.5875 GB, free: 13.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.352, allocations: 173.3 kB / 0.5877 GB, free: 13.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.3523, allocations: 203 kB / 0.5879 GB, free: 13.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.3526, allocations: 215 kB / 0.5881 GB, free: 12.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.3526, allocations: 16 kB / 0.5881 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01722/0.3698, allocations: 8.548 MB / 0.5964 GB, free: 4.324 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.37, allocations: 51.75 kB / 0.5965 GB, free: 4.273 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.3703, allocations: 216.6 kB / 0.5967 GB, free: 4.055 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.3816, allocations: 5.126 MB / 0.6017 GB, free: 14.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3816, allocations: 0 / 0.6017 GB, free: 14.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3816, allocations: 0 / 0.6017 GB, free: 14.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.3817, allocations: 4 kB / 0.6017 GB, free: 14.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002914/0.3846, allocations: 1.177 MB / 0.6028 GB, free: 13.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3846, allocations: 13.11 kB / 0.6029 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.3848, allocations: 56.45 kB / 0.6029 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.3852, allocations: 327.2 kB / 0.6032 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.3853, allocations: 20.94 kB / 0.6032 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.3853, allocations: 28.12 kB / 0.6033 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.3859, allocations: 322.2 kB / 0.6036 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.386, allocations: 4 kB / 0.6036 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.386, allocations: 8 kB / 0.6036 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.386, allocations: 11.98 kB / 0.6036 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004749/0.3865, allocations: 214 kB / 0.6038 GB, free: 12.64 MB / 426.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.001709/0.3882, allocations: 1.493 MB / 0.6053 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.3887, allocations: 182.6 kB / 0.6054 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3889, allocations: 56.83 kB / 0.6055 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1181/0.507, allocations: 64.6 MB / 0.6686 GB, free: 2.527 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.5071, allocations: 34.56 kB / 0.6686 GB, free: 2.484 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.354e-06/0.5071, allocations: 4 kB / 0.6686 GB, free: 2.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.001285/0.5084, allocations: 399.3 kB / 0.669 GB, free: 2.062 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.5084, allocations: 63.34 kB / 0.6691 GB, free: 1.988 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.5089, allocations: 357.7 kB / 0.6694 GB, free: 1.633 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.5089, allocations: 29.7 kB / 0.6694 GB, free: 1.598 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.509, allocations: 200 kB / 0.6696 GB, free: 1.398 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.5091, allocations: 59.19 kB / 0.6697 GB, free: 1.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.5091, allocations: 0 / 0.6697 GB, free: 1.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5092, allocations: 346.8 kB / 0.67 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.5094, allocations: 47.98 kB / 0.67 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.5095, allocations: 104.9 kB / 0.6701 GB, free: 0.8203 MB / 490.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009921/0.5105, allocations: 369.7 kB / 0.6705 GB, free: 428 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5105, allocations: 4 kB / 0.6705 GB, free: 424 kB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004269/0.511, allocations: 237.9 kB / 0.6707 GB, free: 176 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.511, allocations: 7.938 kB / 0.6707 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.511, allocations: 4 kB / 0.6707 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/0.5111, allocations: 24.84 kB / 0.6708 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.5113, allocations: 47.84 kB / 0.6708 GB, free: 88 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.5124, allocations: 1.288 MB / 0.6721 GB, free: 14.67 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.5126, allocations: 35.75 kB / 0.6721 GB, free: 14.63 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.5127, allocations: 15.98 kB / 0.6721 GB, free: 14.62 MB / 0.4949 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.5128, allocations: 142.2 kB / 0.6723 GB, free: 14.47 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.5129, allocations: 35.62 kB / 0.6723 GB, free: 14.43 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007824/0.5137, allocations: 0.6045 MB / 0.6729 GB, free: 13.81 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.5137, allocations: 11.98 kB / 0.6729 GB, free: 13.8 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.5137, allocations: 0 / 0.6729 GB, free: 13.8 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5137, allocations: 4 kB / 0.6729 GB, free: 13.8 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.515, allocations: 1.073 MB / 0.6739 GB, free: 12.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.515, allocations: 0 / 0.6739 GB, free: 12.66 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.5152, allocations: 35.98 kB / 0.674 GB, free: 12.62 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.379e-05/0.5153, allocations: 28.81 kB / 0.674 GB, free: 12.59 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.5154, allocations: 4 kB / 0.674 GB, free: 12.59 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000888/0.5162, allocations: 1.284 MB / 0.6753 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5163, allocations: 3.984 kB / 0.6753 GB, free: 11.17 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/0.517, allocations: 0.6605 MB / 0.6759 GB, free: 10.49 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.5172, allocations: 120.6 kB / 0.676 GB, free: 10.35 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.5172, allocations: 7.984 kB / 0.676 GB, free: 10.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.5174, allocations: 19.84 kB / 0.6761 GB, free: 10.32 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.5175, allocations: 7.984 kB / 0.6761 GB, free: 10.32 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.5175, allocations: 8 kB / 0.6761 GB, free: 10.31 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0002551/0.5177, allocations: 259.2 kB / 0.6763 GB, free: 10.06 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5178, allocations: 0 / 0.6763 GB, free: 10.06 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003374/0.5211, allocations: 1.261 MB / 0.6775 GB, free: 8.797 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00602/0.5272, allocations: 1.416 MB / 0.6789 GB, free: 7.371 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0006419/0.5278, allocations: 303.4 kB / 0.6792 GB, free: 7.062 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.5278, allocations: 4 kB / 0.6792 GB, free: 7.059 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.5281, allocations: 254.6 kB / 0.6795 GB, free: 6.797 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.5292, allocations: 165.5 kB / 0.6796 GB, free: 6.637 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.5308, allocations: 1.181 MB / 0.6808 GB, free: 5.422 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.5312, allocations: 0.8116 MB / 0.6816 GB, free: 4.582 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0002387/0.5315, allocations: 78.88 kB / 0.6816 GB, free: 4.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.5315, allocations: 31.44 kB / 0.6817 GB, free: 4.469 MB / 0.4949 GB Notification: Performance of SimCode: time 4.01e-07/0.5316, allocations: 0 / 0.6817 GB, free: 4.469 MB / 0.4949 GB Notification: Performance of Templates: time 0.2462/0.7778, allocations: 48.86 MB / 0.7294 GB, free: 133.1 MB / 0.4949 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1)