Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.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.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009289/0.000929, allocations: 177.3 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.255/1.255, allocations: 225.7 MB / 243.2 MB, free: 8.461 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.000789/0.0007889, allocations: 97.67 kB / 294.4 MB, free: 9.496 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.3655/0.3655, allocations: 48.8 MB / 394.3 MB, free: 33.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004812, allocations: 12 kB / 468.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2905, allocations: 63.08 MB / 0.5187 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.1447/0.4352, allocations: 153.7 MB / 0.6688 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2514/0.6867, allocations: 13.89 MB / 0.6824 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004024/0.6871, allocations: 8.906 kB / 0.6824 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.6875, allocations: 83.05 kB / 0.6825 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.692, allocations: 1.682 MB / 0.6841 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00614/0.6981, allocations: 2.108 MB / 0.6862 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.7003, allocations: 2.433 MB / 0.6885 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/0.7008, allocations: 479.4 kB / 0.689 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005619/0.7014, allocations: 0.5316 MB / 0.6895 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/0.7043, allocations: 1.52 MB / 0.691 GB, free: 11.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.7044, allocations: 50 kB / 0.691 GB, free: 11.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01233/0.7168, allocations: 5.645 MB / 0.6966 GB, free: 11.87 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008474/0.7177, allocations: 0.51 MB / 0.6971 GB, free: 11.87 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.7187, allocations: 0.6101 MB / 0.6977 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.7295, allocations: 4.317 MB / 0.7019 GB, free: 11.67 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.7296, allocations: 0.8125 kB / 0.7019 GB, free: 11.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7296, allocations: 0 / 0.7019 GB, free: 11.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.7296, allocations: 0 / 0.7019 GB, free: 11.67 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.005877/0.7355, allocations: 1.636 MB / 0.7035 GB, free: 10.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.7355, allocations: 13.92 kB / 0.7035 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.7378, allocations: 276.3 kB / 0.7037 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.7387, allocations: 0.6026 MB / 0.7043 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.7387, allocations: 71.22 kB / 0.7044 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.7389, allocations: 96.22 kB / 0.7045 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/0.7421, allocations: 1.666 MB / 0.7061 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.7421, allocations: 2.906 kB / 0.7061 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.7422, allocations: 41.44 kB / 0.7062 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.7423, allocations: 23.31 kB / 0.7062 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/0.7453, allocations: 1.689 MB / 0.7078 GB, free: 10.36 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.005606/0.7509, allocations: 5.62 MB / 0.7133 GB, free: 6.684 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/0.7541, allocations: 2.032 MB / 0.7153 GB, free: 6.289 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.7553, allocations: 0.9588 MB / 0.7162 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03851/0.7938, allocations: 20.26 MB / 0.736 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.7939, allocations: 51.56 kB / 0.7361 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 3.657e-06/0.7939, allocations: 4 kB / 0.7361 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of matching and sorting (n=180): time 0.06405/0.858, allocations: 14.72 MB / 0.7505 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.8581, allocations: 75.38 kB / 0.7505 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.8586, allocations: 435.8 kB / 0.7509 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.8588, allocations: 50.95 kB / 0.751 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.859, allocations: 273.7 kB / 0.7513 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006009/0.8596, allocations: 0.6123 MB / 0.7519 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.8597, allocations: 32.81 kB / 0.7519 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.8598, allocations: 405.9 kB / 0.7523 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.861, allocations: 0.7426 MB / 0.753 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.8623, allocations: 0.9502 MB / 0.7539 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/0.8649, allocations: 1.877 MB / 0.7558 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.8649, allocations: 0 / 0.7558 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004541/0.8695, allocations: 2.749 MB / 0.7584 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.8695, allocations: 8 kB / 0.7584 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.8696, allocations: 8 kB / 0.7585 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/0.88, allocations: 2.225 MB / 0.7606 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008072/0.8808, allocations: 169.3 kB / 0.7608 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005607/0.8864, allocations: 3.537 MB / 0.7642 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.8877, allocations: 145.9 kB / 0.7644 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.8879, allocations: 76.58 kB / 0.7645 GB, free: 0.5938 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (65): * Single equations (assignments): 64 * 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 {(36,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0006219/0.8885, allocations: 327.4 kB / 0.7648 GB, free: 364 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.8888, allocations: 106.8 kB / 0.7649 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.9003, allocations: 9.342 MB / 0.774 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.954e-05/0.9004, allocations: 111.5 kB / 0.7741 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.9004, allocations: 3.938 kB / 0.7741 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-05/0.9004, allocations: 11.95 kB / 0.7741 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.9126, allocations: 10.73 MB / 0.7846 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.9127, allocations: 3.938 kB / 0.7846 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.9132, allocations: 114.5 kB / 0.7847 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01281/0.9261, allocations: 4.981 MB / 0.7896 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000361/0.9265, allocations: 53.61 kB / 0.7896 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009361/0.9358, allocations: 7.861 MB / 0.7973 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9359, allocations: 0 / 0.7973 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008756/0.9446, allocations: 7.502 MB / 0.8046 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.9457, allocations: 0.6504 MB / 0.8053 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.9459, allocations: 39.31 kB / 0.8053 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000926/0.9469, allocations: 95.75 kB / 0.8054 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/0.9471, allocations: 137.4 kB / 0.8055 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/0.9473, allocations: 71.34 kB / 0.8056 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005048/0.9478, allocations: 408.5 kB / 0.806 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9478, allocations: 4 kB / 0.806 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004903/0.9528, allocations: 1.197 MB / 0.8072 GB, free: 2.75 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 37 ($cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * 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 {(36,147)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005084/0.9579, allocations: 1.025 MB / 0.8082 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006587/0.9645, allocations: 3.399 MB / 0.8115 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.9645, allocations: 4.062 kB / 0.8115 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004454/0.969, allocations: 2.69 MB / 0.8141 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/0.9726, allocations: 0.72 MB / 0.8148 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007577/0.9801, allocations: 6.326 MB / 0.821 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.9813, allocations: 1.591 MB / 0.8225 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001031/0.9823, allocations: 395.8 kB / 0.8229 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.9825, allocations: 70.11 kB / 0.823 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of SimCode: time 1.323e-06/0.9825, allocations: 0 / 0.823 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of Templates: time 0.1001/1.083, allocations: 70.71 MB / 0.892 GB, free: 15.55 MB / 0.6355 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1)