Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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) 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(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") translateModel(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008484/0.0008484, allocations: 176.5 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.2/1.2, 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.0007482/0.0007485, allocations: 97.66 kB / 294.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000217/0.0002171, allocations: 4 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.193, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.TanksWithOverflow): time 0.0217/0.2148, allocations: 37.2 MB / 441.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.2292, allocations: 14.16 MB / 455.9 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.2306, allocations: 43.62 kB / 456 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.2317, allocations: 417.7 kB / 456.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004066/0.2358, allocations: 1.739 MB / 458.1 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005879/0.2417, allocations: 2.311 MB / 460.4 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00581/0.2475, allocations: 5.187 MB / 465.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.2491, allocations: 1.028 MB / 466.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.2513, allocations: 1.339 MB / 468 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.2533, allocations: 1.398 MB / 469.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.2535, allocations: 83.94 kB / 469.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.257, allocations: 1.915 MB / 471.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005125/0.2575, allocations: 0.4907 MB / 471.9 MB, free: 9.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008549/0.2584, allocations: 0.7521 MB / 472.6 MB, free: 8.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004219/0.2626, allocations: 3.218 MB / 475.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2627, allocations: 4 kB / 475.8 MB, free: 5.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2627, allocations: 0 / 475.8 MB, free: 5.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.2627, allocations: 4 kB / 475.9 MB, free: 5.043 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.00412/0.2668, allocations: 1.78 MB / 477.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2669, allocations: 8.031 kB / 477.6 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004196/0.2673, allocations: 166.2 kB / 477.8 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.2686, allocations: 0.894 MB / 478.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.2687, allocations: 234.5 kB / 478.9 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.2689, allocations: 95.98 kB / 479 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.2715, allocations: 1.787 MB / 480.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.2715, allocations: 19.81 kB / 480.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.2717, allocations: 39.98 kB / 480.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.2718, allocations: 105.9 kB / 481 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.2744, allocations: 1.768 MB / 482.7 MB, free: 13.96 MB / 362.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.01047/0.2848, allocations: 6.955 MB / 489.7 MB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.2872, allocations: 1.501 MB / 491.2 MB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.2885, allocations: 0.8755 MB / 492.1 MB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/0.2893, allocations: 0.6568 MB / 492.7 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.2893, allocations: 51.56 kB / 492.8 MB, free: 3.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=116): time 2.765e-06/0.2894, allocations: 0 / 492.8 MB, free: 3.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=128): time 0.01482/0.3042, allocations: 6.66 MB / 499.4 MB, free: 12.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.3043, allocations: 171.5 kB / 499.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.3055, allocations: 1.088 MB / 0.489 GB, free: 11.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.452e-05/0.3056, allocations: 49.7 kB / 0.489 GB, free: 11.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.306, allocations: 0.4965 MB / 0.4895 GB, free: 10.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.3063, allocations: 437.8 kB / 0.4899 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.3064, allocations: 28 kB / 0.4899 GB, free: 10.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3065, allocations: 357.9 kB / 0.4903 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.3078, allocations: 0.8354 MB / 0.4911 GB, free: 9.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.3092, allocations: 1.068 MB / 0.4921 GB, free: 8.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.3116, allocations: 1.8 MB / 0.4939 GB, free: 6.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3116, allocations: 7.938 kB / 0.4939 GB, free: 6.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004114/0.3158, allocations: 2.604 MB / 0.4964 GB, free: 3.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.3159, allocations: 231.5 kB / 0.4967 GB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3159, allocations: 4 kB / 0.4967 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00333/0.3193, allocations: 1.304 MB / 0.4979 GB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/0.3202, allocations: 223.5 kB / 0.4982 GB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1672/0.4875, allocations: 6.343 MB / 0.5043 GB, free: 97.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.489, allocations: 103.8 kB / 0.5044 GB, free: 97.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.4892, allocations: 56.55 kB / 0.5045 GB, free: 97.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4892, allocations: 3.781 kB / 0.5045 GB, free: 97.08 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003752/0.4929, allocations: 2.342 MB / 0.5068 GB, free: 96.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.493, allocations: 11.23 kB / 0.5068 GB, free: 96.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/0.4954, allocations: 1.018 MB / 0.5078 GB, free: 95.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.4965, allocations: 228.7 kB / 0.508 GB, free: 95.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004409/0.5009, allocations: 6.093 MB / 0.514 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.5021, allocations: 101.1 kB / 0.5141 GB, free: 90.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.5023, allocations: 54.61 kB / 0.5141 GB, free: 90.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 12 (upperTank.regularFlow[1],upperTank.regularFlow[2],upperTank.regularFlow[3],upperTank.inFlow[1],upperTank.inFlow[2],upperTank.inFlow[3],lowerTank.regularFlow[1],lowerTank.regularFlow[2],lowerTank.inFlow[1],lowerTank.inFlow[2],$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007136/0.503, allocations: 458.7 kB / 0.5145 GB, free: 90.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.5032, allocations: 132.6 kB / 0.5147 GB, free: 90.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004047/0.5072, allocations: 2.804 MB / 0.5174 GB, free: 89.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.5073, allocations: 15.12 kB / 0.5174 GB, free: 89.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5073, allocations: 3.781 kB / 0.5174 GB, free: 89.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.5073, allocations: 7.969 kB / 0.5174 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005407/0.5127, allocations: 4.522 MB / 0.5219 GB, free: 85.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5127, allocations: 0 / 0.5219 GB, free: 85.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007037/0.5134, allocations: 155.8 kB / 0.522 GB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002694/0.5161, allocations: 1.301 MB / 0.5233 GB, free: 84.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.5163, allocations: 35.98 kB / 0.5233 GB, free: 84.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/0.5207, allocations: 6.395 MB / 0.5296 GB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5208, allocations: 3.938 kB / 0.5296 GB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/0.5256, allocations: 3.938 MB / 0.5334 GB, free: 73.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006861/0.5263, allocations: 438.9 kB / 0.5338 GB, free: 73.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.5265, allocations: 24 kB / 0.5338 GB, free: 73.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009641/0.5275, allocations: 105.3 kB / 0.5339 GB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/0.5278, allocations: 141 kB / 0.5341 GB, free: 72.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.5279, allocations: 55.91 kB / 0.5341 GB, free: 72.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007548/0.5287, allocations: 0.7376 MB / 0.5349 GB, free: 72.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5287, allocations: 4 kB / 0.5349 GB, free: 72.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002269/0.531, allocations: 1.058 MB / 0.5359 GB, free: 71.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (upperTank.level,upperTank.medium.T,lowerTank.level,lowerTank.medium.T) * Number of discrete variables: 11 (upperTank.regularFlow[1],upperTank.regularFlow[2],upperTank.regularFlow[3],upperTank.inFlow[1],upperTank.inFlow[2],upperTank.inFlow[3],lowerTank.regularFlow[1],lowerTank.regularFlow[2],lowerTank.inFlow[1],lowerTank.inFlow[2],hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (4,14), (4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001434/0.5324, allocations: 0.7252 MB / 0.5366 GB, free: 70.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005994/0.5384, allocations: 3.789 MB / 0.5403 GB, free: 66.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5384, allocations: 0 / 0.5403 GB, free: 66.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.5408, allocations: 1.419 MB / 0.5417 GB, free: 65.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.5433, allocations: 0.5958 MB / 0.5423 GB, free: 64.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.5482, allocations: 3.705 MB / 0.5459 GB, free: 60.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.5487, allocations: 1.268 MB / 0.5471 GB, free: 59.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001668/0.5504, allocations: 0.573 MB / 0.5477 GB, free: 58.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.5507, allocations: 123.3 kB / 0.5478 GB, free: 58.86 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5507, allocations: 0 / 0.5478 GB, free: 58.86 MB / 378.7 MB Notification: Performance of Templates: time 0.05157/0.6023, allocations: 43.87 MB / 0.5906 GB, free: 15.31 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe 2>&1)