Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009484/0.0009484, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008028/0.0008028, allocations: 94.3 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002475, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2133, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.09323/0.3066, allocations: 114.8 MB / 491.4 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.2165/0.5232, allocations: 29.86 MB / 0.509 GB, free: 39.78 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003043/0.5262, allocations: 107 kB / 0.5091 GB, free: 39.78 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.5287, allocations: 0.8156 MB / 0.5099 GB, free: 39.78 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007926/0.5367, allocations: 3.507 MB / 0.5133 GB, free: 39.72 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.5473, allocations: 4.91 MB / 0.5181 GB, free: 39.55 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01399/0.5613, allocations: 10.68 MB / 0.5286 GB, free: 39.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.5644, allocations: 1.572 MB / 0.5301 GB, free: 38.72 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1403/0.7048, allocations: 73.48 MB / 0.6019 GB, free: 15.37 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06701/0.7718, allocations: 31.92 MB / 0.633 GB, free: 4.012 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007651/0.7726, allocations: 124 kB / 0.6332 GB, free: 3.891 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01329/0.7859, allocations: 5.836 MB / 0.6389 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001564/0.7875, allocations: 0.9534 MB / 0.6398 GB, free: 14.45 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.7898, allocations: 1.391 MB / 0.6411 GB, free: 13.44 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008065/0.7979, allocations: 5.304 MB / 0.6463 GB, free: 8.969 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.7979, allocations: 0 / 0.6463 GB, free: 8.969 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.7979, allocations: 0 / 0.6463 GB, free: 8.969 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.157e-05/0.798, allocations: 4 kB / 0.6463 GB, free: 8.965 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.007503/0.8055, allocations: 2.99 MB / 0.6492 GB, free: 6.125 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.8056, allocations: 12.03 kB / 0.6493 GB, free: 6.113 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.8068, allocations: 308.5 kB / 0.6496 GB, free: 5.809 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.8098, allocations: 1.576 MB / 0.6511 GB, free: 4.516 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.81, allocations: 228.5 kB / 0.6513 GB, free: 4.348 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000378/0.8104, allocations: 193 kB / 0.6515 GB, free: 4.223 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004953/0.8153, allocations: 3.292 MB / 0.6547 GB, free: 1.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.8154, allocations: 4 kB / 0.6547 GB, free: 1.586 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/0.8156, allocations: 82.55 kB / 0.6548 GB, free: 1.516 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002954/0.8159, allocations: 251.7 kB / 0.655 GB, free: 1.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005149/0.8211, allocations: 3.103 MB / 0.6581 GB, free: 14.16 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.2092/1.03, allocations: 13.81 MB / 0.6715 GB, free: 203.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006671/1.037, allocations: 2.208 MB / 0.6737 GB, free: 203 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00331/1.04, allocations: 1.355 MB / 0.675 GB, free: 202.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/1.053, allocations: 5.875 MB / 0.6808 GB, free: 198.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.639e-05/1.053, allocations: 53.81 kB / 0.6808 GB, free: 198.2 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001431/1.054, allocations: 187.1 kB / 0.681 GB, free: 198.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=171): time 1.49e-05/1.054, allocations: 0 / 0.681 GB, free: 198.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=197): time 0.03123/1.086, allocations: 9.206 MB / 0.69 GB, free: 193.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/1.086, allocations: 77.53 kB / 0.6901 GB, free: 193.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/1.089, allocations: 1.827 MB / 0.6918 GB, free: 192.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002201/1.089, allocations: 60.23 kB / 0.6919 GB, free: 192.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006736/1.09, allocations: 1.059 MB / 0.6929 GB, free: 191.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005838/1.09, allocations: 0.6782 MB / 0.6936 GB, free: 190.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/1.09, allocations: 43.81 kB / 0.6936 GB, free: 190.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/1.091, allocations: 405.4 kB / 0.694 GB, free: 190.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/1.093, allocations: 1.22 MB / 0.6952 GB, free: 189.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/1.095, allocations: 1.793 MB / 0.697 GB, free: 187.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/1.099, allocations: 3.16 MB / 0.7001 GB, free: 184.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/1.099, allocations: 4 kB / 0.7001 GB, free: 184.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006282/1.105, allocations: 4.276 MB / 0.7042 GB, free: 180.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003829/1.105, allocations: 0.6015 MB / 0.7048 GB, free: 179.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/1.105, allocations: 16 kB / 0.7048 GB, free: 179.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01333/1.119, allocations: 3.69 MB / 0.7084 GB, free: 175.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/1.12, allocations: 339.1 kB / 0.7088 GB, free: 175.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006199/1.126, allocations: 3.939 MB / 0.7126 GB, free: 171.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/1.129, allocations: 186.1 kB / 0.7128 GB, free: 171.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003821/1.129, allocations: 117.6 kB / 0.7129 GB, free: 171.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/1.129, allocations: 6.812 kB / 0.7129 GB, free: 171.2 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005987/1.135, allocations: 3.792 MB / 0.7166 GB, free: 167.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-05/1.135, allocations: 23.94 kB / 0.7166 GB, free: 167.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008954/1.144, allocations: 2.838 MB / 0.7194 GB, free: 164.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/1.146, allocations: 367.4 kB / 0.7198 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004763/1.151, allocations: 3.465 MB / 0.7231 GB, free: 160.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/1.154, allocations: 192.7 kB / 0.7233 GB, free: 160.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004098/1.154, allocations: 108 kB / 0.7234 GB, free: 160.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 174 * 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 {(18,107)} Notification: Performance of prepare postOptimizeDAE: time 0.001578/1.156, allocations: 0.7083 MB / 0.7241 GB, free: 159.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007469/1.156, allocations: 229.2 kB / 0.7243 GB, free: 159.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007335/1.164, allocations: 3.955 MB / 0.7282 GB, free: 155.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/1.164, allocations: 24 kB / 0.7282 GB, free: 155.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.164, allocations: 4 kB / 0.7282 GB, free: 155.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004969/1.169, allocations: 3.378 MB / 0.7315 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/1.179, allocations: 6.32 MB / 0.7377 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.179, allocations: 4 kB / 0.7377 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/1.18, allocations: 315.6 kB / 0.738 GB, free: 145.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004012/1.184, allocations: 1.227 MB / 0.7392 GB, free: 144.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/1.185, allocations: 75.89 kB / 0.7393 GB, free: 144.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007179/1.192, allocations: 10.46 MB / 0.7495 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.192, allocations: 0 / 0.7495 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007947/1.2, allocations: 5.184 MB / 0.7545 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.201, allocations: 0.5993 MB / 0.7551 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005725/1.202, allocations: 59.98 kB / 0.7552 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/1.203, allocations: 155.6 kB / 0.7553 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004289/1.204, allocations: 166 kB / 0.7555 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.204, allocations: 83.89 kB / 0.7556 GB, free: 126.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00183/1.206, allocations: 1.245 MB / 0.7568 GB, free: 125.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.206, allocations: 0 / 0.7568 GB, free: 125.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0048/1.211, allocations: 1.737 MB / 0.7585 GB, free: 123.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,9), (2,8), (6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002608/1.213, allocations: 1.002 MB / 0.7595 GB, free: 122.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01047/1.224, allocations: 4.994 MB / 0.7643 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.224, allocations: 0 / 0.7643 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003906/1.228, allocations: 2.23 MB / 0.7665 GB, free: 115.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/1.233, allocations: 0.9838 MB / 0.7675 GB, free: 114.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009128/1.242, allocations: 6.863 MB / 0.7742 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.243, allocations: 1.868 MB / 0.776 GB, free: 105.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003148/1.246, allocations: 0.9603 MB / 0.7769 GB, free: 104.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/1.247, allocations: 191.4 kB / 0.7771 GB, free: 104.6 MB / 474.7 MB Notification: Performance of SimCode: time 7.62e-07/1.247, allocations: 0 / 0.7771 GB, free: 104.6 MB / 474.7 MB Notification: Performance of Templates: time 0.09054/1.337, allocations: 71.83 MB / 0.8473 GB, free: 32.82 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1)