Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.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.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009853/0.0009853, allocations: 177.3 kB / 16.71 MB, free: 5.094 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.315/1.315, allocations: 225.7 MB / 243.2 MB, free: 8.457 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.0007518/0.0007518, allocations: 89.56 kB / 294.4 MB, free: 9.5 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.4093/0.4093, allocations: 48.78 MB / 394.3 MB, free: 33.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003254, allocations: 8 kB / 468.1 MB, free: 9.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.319, allocations: 63.07 MB / 0.5187 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.02925/0.3483, allocations: 40.55 MB / 0.5583 GB, free: 6.074 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.3611, allocations: 13.01 MB / 0.571 GB, free: 11.11 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008839/0.362, allocations: 15.22 kB / 0.571 GB, free: 11.1 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.3627, allocations: 137.8 kB / 0.5712 GB, free: 11.03 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.3639, allocations: 320.6 kB / 0.5715 GB, free: 10.84 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.015/0.3789, allocations: 3.627 MB / 0.575 GB, free: 9.207 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.3808, allocations: 1.05 MB / 0.576 GB, free: 8.762 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006251/0.3814, allocations: 343.8 kB / 0.5764 GB, free: 8.617 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.3827, allocations: 0.5089 MB / 0.5769 GB, free: 8.473 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006038/0.3833, allocations: 375.5 kB / 0.5772 GB, free: 8.324 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.3834, allocations: 26.25 kB / 0.5772 GB, free: 8.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/0.3967, allocations: 5.964 MB / 0.5831 GB, free: 2.707 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.3969, allocations: 95.48 kB / 0.5832 GB, free: 2.613 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.3974, allocations: 308.2 kB / 0.5835 GB, free: 2.305 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009401/0.4068, allocations: 3.956 MB / 0.5873 GB, free: 14.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4069, allocations: 4 kB / 0.5873 GB, free: 14.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4069, allocations: 0 / 0.5873 GB, free: 14.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4069, allocations: 0 / 0.5873 GB, free: 14.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002941/0.4099, allocations: 1.15 MB / 0.5884 GB, free: 13.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4099, allocations: 25.03 kB / 0.5885 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.4101, allocations: 68.19 kB / 0.5885 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.4107, allocations: 391.6 kB / 0.5889 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/0.4107, allocations: 63.27 kB / 0.589 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-05/0.4108, allocations: 60.11 kB / 0.589 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.4119, allocations: 0.5192 MB / 0.5895 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.412, allocations: 19.84 kB / 0.5896 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.412, allocations: 16 kB / 0.5896 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.412, allocations: 12 kB / 0.5896 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009144/0.4129, allocations: 415.7 kB / 0.59 GB, free: 11.51 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.002601/0.4156, allocations: 2.048 MB / 0.592 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.4162, allocations: 345.1 kB / 0.5923 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.4166, allocations: 168.8 kB / 0.5925 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05991/0.4765, allocations: 32.3 MB / 0.624 GB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.4766, allocations: 38.56 kB / 0.624 GB, free: 4.613 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.695e-06/0.4766, allocations: 0 / 0.624 GB, free: 4.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.004105/0.4807, allocations: 1.672 MB / 0.6257 GB, free: 2.828 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.4808, allocations: 59.41 kB / 0.6257 GB, free: 2.758 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.4812, allocations: 369.6 kB / 0.6261 GB, free: 2.387 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.4813, allocations: 33.7 kB / 0.6261 GB, free: 2.348 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.4815, allocations: 248.2 kB / 0.6264 GB, free: 2.098 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.4816, allocations: 134 kB / 0.6265 GB, free: 1.965 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.4816, allocations: 12 kB / 0.6265 GB, free: 1.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4818, allocations: 350.8 kB / 0.6268 GB, free: 1.602 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.4821, allocations: 140.8 kB / 0.627 GB, free: 1.465 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.4825, allocations: 206.6 kB / 0.6272 GB, free: 1.242 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.4832, allocations: 355 kB / 0.6275 GB, free: 0.875 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4832, allocations: 4 kB / 0.6275 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001038/0.4843, allocations: 497.6 kB / 0.628 GB, free: 384 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/0.4844, allocations: 134.1 kB / 0.6281 GB, free: 224 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4844, allocations: 0 / 0.6281 GB, free: 224 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/0.4849, allocations: 108.8 kB / 0.6282 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.4854, allocations: 95.88 kB / 0.6283 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006879/0.4861, allocations: 0.6381 MB / 0.6289 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.4864, allocations: 36.02 kB / 0.629 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.4865, allocations: 16 kB / 0.629 GB, free: 15.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.625e-06/0.4865, allocations: 4 kB / 0.629 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009422/0.4874, allocations: 424.4 kB / 0.6294 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4875, allocations: 7.938 kB / 0.6294 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.4877, allocations: 60.84 kB / 0.6295 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.4881, allocations: 99.83 kB / 0.6295 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.4899, allocations: 1.632 MB / 0.6311 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.4903, allocations: 47.81 kB / 0.6312 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.4903, allocations: 12.19 kB / 0.6312 GB, free: 12.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (41): * Single equations (assignments): 40 * 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.4906, allocations: 254.2 kB / 0.6314 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.4907, allocations: 39.53 kB / 0.6315 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.492, allocations: 0.7144 MB / 0.6322 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.492, allocations: 7.984 kB / 0.6322 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.492, allocations: 0 / 0.6322 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.492, allocations: 7.938 kB / 0.6322 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.4942, allocations: 1.424 MB / 0.6336 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.4942, allocations: 4 kB / 0.6336 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.4946, allocations: 84.02 kB / 0.6337 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006338/0.4953, allocations: 371.4 kB / 0.634 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.4953, allocations: 8 kB / 0.634 GB, free: 9.883 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000774/0.4961, allocations: 0.8415 MB / 0.6348 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4961, allocations: 0 / 0.6348 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.4978, allocations: 1.009 MB / 0.6358 GB, free: 7.973 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.498, allocations: 152.4 kB / 0.636 GB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.498, allocations: 8 kB / 0.636 GB, free: 7.797 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.4984, allocations: 43.97 kB / 0.636 GB, free: 7.754 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.4984, allocations: 27.95 kB / 0.6361 GB, free: 7.727 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.4985, allocations: 15.94 kB / 0.6361 GB, free: 7.711 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002987/0.4988, allocations: 263.2 kB / 0.6363 GB, free: 7.457 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4988, allocations: 3.938 kB / 0.6363 GB, free: 7.453 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002876/0.5017, allocations: 0.9645 MB / 0.6373 GB, free: 6.488 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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 Backend phase and start with SimCode phase: time 0.003671/0.5054, allocations: 1.042 MB / 0.6383 GB, free: 5.441 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.5071, allocations: 0.7284 MB / 0.639 GB, free: 4.703 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5071, allocations: 4 kB / 0.639 GB, free: 4.699 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.5077, allocations: 270.6 kB / 0.6393 GB, free: 4.434 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009999/0.5087, allocations: 165.3 kB / 0.6394 GB, free: 4.273 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.5109, allocations: 1.635 MB / 0.641 GB, free: 2.602 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.5113, allocations: 0.863 MB / 0.6419 GB, free: 1.707 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000336/0.5117, allocations: 88.09 kB / 0.6419 GB, free: 1.617 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.5118, allocations: 39.44 kB / 0.642 GB, free: 1.578 MB / 458.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5118, allocations: 0 / 0.642 GB, free: 1.578 MB / 458.7 MB Notification: Performance of Templates: time 0.2284/0.7402, allocations: 34.95 MB / 0.6761 GB, free: 140.4 MB / 490.7 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1)