Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.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.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, 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.38/1.38, allocations: 225.7 MB / 243.2 MB, free: 10.25 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.0007501/0.0007502, allocations: 95.05 kB / 294.4 MB, free: 9.75 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.3783/0.3783, allocations: 48.78 MB / 394.3 MB, free: 34.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003728, allocations: 12 kB / 468.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 63.08 MB / 0.5187 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.07114/0.3985, allocations: 92.28 MB / 0.6088 GB, free: 7.586 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.4166, allocations: 16.78 MB / 0.6252 GB, free: 5.484 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009318/0.4176, allocations: 35.75 kB / 0.6253 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.4186, allocations: 326 kB / 0.6256 GB, free: 5.129 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.4204, allocations: 0.645 MB / 0.6262 GB, free: 4.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01445/0.4349, allocations: 4.513 MB / 0.6306 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.4376, allocations: 2.205 MB / 0.6328 GB, free: 13.74 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007791/0.4384, allocations: 489.5 kB / 0.6332 GB, free: 13.25 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.4405, allocations: 1.219 MB / 0.6344 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009936/0.4415, allocations: 0.7471 MB / 0.6351 GB, free: 11.27 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.65e-05/0.4416, allocations: 32 kB / 0.6352 GB, free: 11.24 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/0.454, allocations: 6.197 MB / 0.6412 GB, free: 5.039 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.4543, allocations: 139.3 kB / 0.6414 GB, free: 4.902 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007878/0.4551, allocations: 459.4 kB / 0.6418 GB, free: 4.445 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.4654, allocations: 4.342 MB / 0.646 GB, free: 96 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4654, allocations: 0 / 0.646 GB, free: 96 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4654, allocations: 0 / 0.646 GB, free: 96 kB / 458.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.4654, allocations: 0 / 0.646 GB, free: 96 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004049/0.4695, allocations: 1.493 MB / 0.6475 GB, free: 14.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4695, allocations: 17.11 kB / 0.6475 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003916/0.4699, allocations: 131.7 kB / 0.6476 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.4706, allocations: 0.5265 MB / 0.6481 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.4708, allocations: 135.7 kB / 0.6483 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.4709, allocations: 72.12 kB / 0.6483 GB, free: 13.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.4724, allocations: 0.7834 MB / 0.6491 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4724, allocations: 0 / 0.6491 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.4725, allocations: 32 kB / 0.6491 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.4725, allocations: 20 kB / 0.6492 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.4739, allocations: 0.5944 MB / 0.6497 GB, free: 12.15 MB / 474.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.003745/0.4776, allocations: 3.651 MB / 0.6533 GB, free: 8.117 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.479, allocations: 0.5323 MB / 0.6538 GB, free: 7.578 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/0.4795, allocations: 210.8 kB / 0.654 GB, free: 7.363 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09957/0.5791, allocations: 32.44 MB / 0.6857 GB, free: 3.09 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.5792, allocations: 39 kB / 0.6857 GB, free: 3.043 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=53): time 3.266e-06/0.5792, allocations: 0 / 0.6857 GB, free: 3.043 MB / 0.4949 GB Notification: Performance of matching and sorting (n=53): time 0.008705/0.5879, allocations: 1.483 MB / 0.6872 GB, free: 1.488 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.588, allocations: 59.84 kB / 0.6872 GB, free: 1.418 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.5891, allocations: 0.5629 MB / 0.6878 GB, free: 0.8477 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/0.5892, allocations: 37.7 kB / 0.6878 GB, free: 0.8047 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.5896, allocations: 352.5 kB / 0.6882 GB, free: 464 kB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.5899, allocations: 185.3 kB / 0.6883 GB, free: 276 kB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.59, allocations: 8 kB / 0.6884 GB, free: 268 kB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.2421/0.8321, allocations: 386.5 kB / 0.6887 GB, free: 156.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007487/0.8329, allocations: 173 kB / 0.6889 GB, free: 156.2 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/0.8335, allocations: 285.2 kB / 0.6892 GB, free: 156.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009906/0.8345, allocations: 490.2 kB / 0.6896 GB, free: 156 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.8345, allocations: 2.844 kB / 0.6896 GB, free: 156 MB / 0.4949 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002013/0.8366, allocations: 0.771 MB / 0.6904 GB, free: 155.8 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 7.488e-05/0.8367, allocations: 178.5 kB / 0.6906 GB, free: 155.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8367, allocations: 3.578 kB / 0.6906 GB, free: 155.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.8381, allocations: 298.1 kB / 0.6908 GB, free: 155.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.8385, allocations: 107 kB / 0.6909 GB, free: 155.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.8399, allocations: 1.892 MB / 0.6928 GB, free: 153.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.8405, allocations: 107.8 kB / 0.6929 GB, free: 153.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.8406, allocations: 30 kB / 0.6929 GB, free: 153.8 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.8406, allocations: 3.406 kB / 0.6929 GB, free: 153.8 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/0.8419, allocations: 0.6339 MB / 0.6935 GB, free: 153.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8419, allocations: 5.75 kB / 0.6935 GB, free: 153.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/0.8424, allocations: 167 kB / 0.6937 GB, free: 153.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.8428, allocations: 110.5 kB / 0.6938 GB, free: 153.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/0.8466, allocations: 4.933 MB / 0.6986 GB, free: 149.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.8472, allocations: 104.9 kB / 0.6987 GB, free: 149.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.8473, allocations: 18.22 kB / 0.6987 GB, free: 149.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002783/0.8476, allocations: 267.8 kB / 0.699 GB, free: 148.8 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.8477, allocations: 76.44 kB / 0.6991 GB, free: 148.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.8497, allocations: 1.522 MB / 0.7006 GB, free: 148.1 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.8498, allocations: 18.41 kB / 0.7006 GB, free: 148.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.8498, allocations: 3.234 kB / 0.7006 GB, free: 148.1 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.8498, allocations: 0 / 0.7006 GB, free: 148.1 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007214/0.8505, allocations: 0.8102 MB / 0.7014 GB, free: 147.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.8505, allocations: 11.28 kB / 0.7014 GB, free: 147.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.8509, allocations: 73.41 kB / 0.7015 GB, free: 147.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.8523, allocations: 1.038 MB / 0.7025 GB, free: 147.4 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.8524, allocations: 17.12 kB / 0.7025 GB, free: 147.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.8539, allocations: 2.51 MB / 0.7049 GB, free: 145.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8539, allocations: 4.266 kB / 0.7049 GB, free: 145.5 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.8562, allocations: 1.865 MB / 0.7068 GB, free: 144.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.8564, allocations: 211 kB / 0.707 GB, free: 144.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.753e-05/0.8565, allocations: 10.62 kB / 0.707 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.857, allocations: 64.27 kB / 0.707 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.8571, allocations: 41.05 kB / 0.7071 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.8572, allocations: 17.12 kB / 0.7071 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0003775/0.8576, allocations: 390.3 kB / 0.7075 GB, free: 144.1 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8576, allocations: 1.5 kB / 0.7075 GB, free: 144.1 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003228/0.8608, allocations: 1.168 MB / 0.7086 GB, free: 144 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,8), (2,8), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004633/0.8654, allocations: 1.076 MB / 0.7097 GB, free: 143.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.002617/0.8681, allocations: 1.298 MB / 0.7109 GB, free: 143.2 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8681, allocations: 0 / 0.7109 GB, free: 143.2 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0009458/0.869, allocations: 458.8 kB / 0.7114 GB, free: 143.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.8708, allocations: 361.1 kB / 0.7117 GB, free: 143 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.8735, allocations: 2.137 MB / 0.7138 GB, free: 141.7 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.8739, allocations: 0.9809 MB / 0.7147 GB, free: 141 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.000618/0.8746, allocations: 205.1 kB / 0.7149 GB, free: 140.9 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.8747, allocations: 49.94 kB / 0.715 GB, free: 140.9 MB / 0.4949 GB Notification: Performance of SimCode: time 4.91e-07/0.8747, allocations: 1.375 kB / 0.715 GB, free: 140.9 MB / 0.4949 GB Notification: Performance of Templates: time 0.05138/0.9261, allocations: 42.65 MB / 0.7566 GB, free: 110.2 MB / 0.4949 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe 2>&1)