Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 183.1 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.273/1.273, allocations: 225.7 MB / 243.2 MB, free: 10.19 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.0007473/0.0007473, allocations: 92.47 kB / 294.4 MB, free: 9.723 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.3836/0.3836, allocations: 48.79 MB / 394.3 MB, free: 34.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 8.219 kB / 468.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3188, allocations: 63.09 MB / 0.5187 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.03011/0.3489, allocations: 39.47 MB / 0.5573 GB, free: 6.113 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.3617, allocations: 12.84 MB / 0.5698 GB, free: 11.28 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004308/0.3621, allocations: 10.09 kB / 0.5698 GB, free: 11.27 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005835/0.3627, allocations: 115.8 kB / 0.5699 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008909/0.3636, allocations: 253.9 kB / 0.5702 GB, free: 11.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01486/0.3785, allocations: 3.561 MB / 0.5736 GB, free: 9.488 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.3799, allocations: 0.7834 MB / 0.5744 GB, free: 9.184 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.3803, allocations: 185.8 kB / 0.5746 GB, free: 9.109 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000993/0.3813, allocations: 447.5 kB / 0.575 GB, free: 8.992 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.3818, allocations: 271.9 kB / 0.5753 GB, free: 8.898 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.3818, allocations: 17.56 kB / 0.5753 GB, free: 8.895 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/0.3949, allocations: 5.944 MB / 0.5811 GB, free: 4.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3951, allocations: 55.73 kB / 0.5811 GB, free: 4.855 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.3955, allocations: 196.7 kB / 0.5813 GB, free: 4.656 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009557/0.405, allocations: 3.637 MB / 0.5849 GB, free: 1.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4051, allocations: 0 / 0.5849 GB, free: 1.012 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4051, allocations: 0 / 0.5849 GB, free: 1.012 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.4051, allocations: 0 / 0.5849 GB, free: 1.012 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002908/0.408, allocations: 0.9902 MB / 0.5859 GB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4081, allocations: 17.11 kB / 0.5859 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.4083, allocations: 48.41 kB / 0.5859 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.4086, allocations: 311.3 kB / 0.5862 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.4087, allocations: 50.83 kB / 0.5863 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.4088, allocations: 28.12 kB / 0.5863 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007286/0.4095, allocations: 345.2 kB / 0.5866 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4095, allocations: 3.938 kB / 0.5866 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.4096, allocations: 8 kB / 0.5866 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.4096, allocations: 11.98 kB / 0.5866 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007441/0.4103, allocations: 294 kB / 0.5869 GB, free: 14.81 MB / 410.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.001475/0.4118, allocations: 1.435 MB / 0.5883 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.4125, allocations: 226.7 kB / 0.5885 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.4128, allocations: 124.8 kB / 0.5887 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06021/0.473, allocations: 32.42 MB / 0.6203 GB, free: 8.605 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.4731, allocations: 38.5 kB / 0.6204 GB, free: 8.559 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.294e-06/0.4731, allocations: 0 / 0.6204 GB, free: 8.559 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.002695/0.4758, allocations: 0.7141 MB / 0.621 GB, free: 7.816 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.4759, allocations: 55.41 kB / 0.6211 GB, free: 7.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.4762, allocations: 276.6 kB / 0.6214 GB, free: 7.465 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.4762, allocations: 25.7 kB / 0.6214 GB, free: 7.434 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.4764, allocations: 176.2 kB / 0.6216 GB, free: 7.254 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/0.4764, allocations: 74.98 kB / 0.6216 GB, free: 7.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.4765, allocations: 4 kB / 0.6216 GB, free: 7.176 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4766, allocations: 338.8 kB / 0.622 GB, free: 6.836 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.4769, allocations: 107.9 kB / 0.6221 GB, free: 6.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.4772, allocations: 145.6 kB / 0.6222 GB, free: 6.578 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.4778, allocations: 260.1 kB / 0.6224 GB, free: 6.312 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.4778, allocations: 0 / 0.6224 GB, free: 6.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001056/0.4789, allocations: 402.9 kB / 0.6228 GB, free: 5.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-05/0.479, allocations: 116.9 kB / 0.6229 GB, free: 5.781 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.479, allocations: 7.938 kB / 0.6229 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.4795, allocations: 108.7 kB / 0.6231 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.4798, allocations: 51.95 kB / 0.6231 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005682/0.4804, allocations: 0.6265 MB / 0.6237 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.4807, allocations: 59.75 kB / 0.6238 GB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.4808, allocations: 15.98 kB / 0.6238 GB, free: 4.887 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.4808, allocations: 4 kB / 0.6238 GB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008201/0.4816, allocations: 315 kB / 0.6241 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4817, allocations: 16 kB / 0.6241 GB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.4819, allocations: 56.81 kB / 0.6242 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.4821, allocations: 63.88 kB / 0.6242 GB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.4839, allocations: 1.647 MB / 0.6258 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.4842, allocations: 47.88 kB / 0.6259 GB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.4842, allocations: 8 kB / 0.6259 GB, free: 2.605 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.4844, allocations: 221.5 kB / 0.6261 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.4845, allocations: 35.62 kB / 0.6261 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.4857, allocations: 0.6519 MB / 0.6268 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.4857, allocations: 7.922 kB / 0.6268 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4858, allocations: 4 kB / 0.6268 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4858, allocations: 0 / 0.6268 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.4862, allocations: 397.8 kB / 0.6272 GB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4862, allocations: 4 kB / 0.6272 GB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.4865, allocations: 43.97 kB / 0.6272 GB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00056/0.487, allocations: 357.5 kB / 0.6275 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.4871, allocations: 0 / 0.6275 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007022/0.4878, allocations: 0.8633 MB / 0.6284 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4878, allocations: 0 / 0.6284 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.4893, allocations: 0.87 MB / 0.6292 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.4894, allocations: 132.6 kB / 0.6294 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.4895, allocations: 11.92 kB / 0.6294 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.4898, allocations: 43.97 kB / 0.6294 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.4899, allocations: 19.97 kB / 0.6294 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.4899, allocations: 4 kB / 0.6294 GB, free: 14.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001926/0.4901, allocations: 199.1 kB / 0.6296 GB, free: 14.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4901, allocations: 0 / 0.6296 GB, free: 14.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002562/0.4927, allocations: 0.9212 MB / 0.6305 GB, free: 13.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004595/0.4973, allocations: 1.008 MB / 0.6315 GB, free: 12.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.4989, allocations: 0.5828 MB / 0.6321 GB, free: 12.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4989, allocations: 0 / 0.6321 GB, free: 12.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.4994, allocations: 209.9 kB / 0.6323 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/0.5003, allocations: 136.8 kB / 0.6324 GB, free: 11.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5018, allocations: 0.925 MB / 0.6333 GB, free: 10.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.5022, allocations: 0.7838 MB / 0.6341 GB, free: 10 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003068/0.5025, allocations: 74.94 kB / 0.6342 GB, free: 9.926 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.975e-05/0.5026, allocations: 27.44 kB / 0.6342 GB, free: 9.898 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5026, allocations: 0 / 0.6342 GB, free: 9.898 MB / 458.7 MB Notification: Performance of Templates: time 0.04668/0.5493, allocations: 33.53 MB / 0.6669 GB, free: 8.387 MB / 490.7 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1)