Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) 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) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.846/1.846, allocations: 291.7 MB / 306.8 MB, free: 7.668 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009604/0.0009604, allocations: 193.4 kB / 375.4 MB, free: 5.109 MB / 298.7 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.414/1.414, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.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.0008563/0.0008559, allocations: 101.4 kB / 0.7699 GB, free: 50.44 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004264, allocations: 13.59 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7227/0.7232, allocations: 118.1 MB / 1.011 GB, free: 58.3 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04461/0.7678, allocations: 51.54 MB / 1.061 GB, free: 29.53 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02138/0.7892, allocations: 16.74 MB / 1.078 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003672/0.7929, allocations: 61.62 kB / 1.078 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002951/0.7959, allocations: 0.6293 MB / 1.078 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007091/0.803, allocations: 1.97 MB / 1.08 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003751/0.8068, allocations: 1.082 MB / 1.081 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02017/0.827, allocations: 23.59 MB / 1.104 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.8387, allocations: 8.396 MB / 1.112 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01323/0.852, allocations: 5.299 MB / 1.118 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01188/0.8639, allocations: 5.481 MB / 1.123 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.003035/0.867, allocations: 346.7 kB / 1.123 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008159/0.8751, allocations: 0.7814 MB / 1.124 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.004551/0.8797, allocations: 1.524 MB / 1.126 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.006313/0.8861, allocations: 1.595 MB / 1.127 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01837/0.9045, allocations: 10.28 MB / 1.137 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.9045, allocations: 5.156 kB / 1.137 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.046e-06/0.9046, allocations: 0 / 1.137 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007378/0.9053, allocations: 1.125 kB / 1.137 GB, free: 11.25 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02653/0.9318, allocations: 6.832 MB / 1.144 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.9319, allocations: 10.25 kB / 1.144 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006578/0.9385, allocations: 0.8503 MB / 1.145 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01926/0.9578, allocations: 6.494 MB / 1.151 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007277/0.9586, allocations: 465.7 kB / 1.151 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003657/0.9622, allocations: 0.5936 MB / 1.152 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03157/0.9938, allocations: 8.987 MB / 1.161 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002406/0.9941, allocations: 25.5 kB / 1.161 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/0.9958, allocations: 261.2 kB / 1.161 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/0.9961, allocations: 180.2 kB / 1.161 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/1.015, allocations: 7.413 MB / 1.169 GB, free: 8.988 MB / 0.7448 GB 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.06111/1.076, allocations: 35.96 MB / 1.204 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006523/1.082, allocations: 4.27 MB / 1.208 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004947/1.087, allocations: 3.378 MB / 1.211 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/1.089, allocations: 0.9857 MB / 1.212 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004231/1.093, allocations: 2.376 MB / 1.214 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004115/1.097, allocations: 455.7 kB / 1.215 GB, free: 7.281 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=317): time 1.18e-05/1.097, allocations: 1.219 kB / 1.215 GB, free: 7.281 MB / 0.7917 GB Notification: Performance of matching and sorting (n=317): time 0.01684/1.114, allocations: 7.105 MB / 1.222 GB, free: 88 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/1.114, allocations: 85.95 kB / 1.222 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009482/1.123, allocations: 5.341 MB / 1.227 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/1.125, allocations: 85.7 kB / 1.227 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00369/1.128, allocations: 3.168 MB / 1.23 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002787/1.131, allocations: 1.117 MB / 1.231 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/1.131, allocations: 88 kB / 1.231 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003876/1.132, allocations: 495.5 kB / 1.232 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003854/1.136, allocations: 2.14 MB / 1.234 GB, free: 3.512 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00467/1.14, allocations: 3.674 MB / 1.238 GB, free: 15.14 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007961/1.148, allocations: 6.292 MB / 1.244 GB, free: 8.133 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.937e-05/1.148, allocations: 16 kB / 1.244 GB, free: 8.117 MB / 0.823 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01118/1.16, allocations: 6.714 MB / 1.25 GB, free: 1.352 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.882e-05/1.16, allocations: 58.67 kB / 1.25 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.366e-05/1.16, allocations: 52 kB / 1.25 GB, free: 1.238 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/1.161, allocations: 430.4 kB / 1.251 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/1.165, allocations: 1.014 MB / 1.252 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/1.17, allocations: 5.258 MB / 1.257 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009166/1.179, allocations: 466.7 kB / 1.257 GB, free: 9.824 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/1.181, allocations: 216 kB / 1.258 GB, free: 9.613 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008481/1.19, allocations: 2.465 MB / 1.26 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002172/1.192, allocations: 0.5172 MB / 1.26 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009523/1.201, allocations: 5.231 MB / 1.266 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-05/1.201, allocations: 32 kB / 1.266 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.202, allocations: 7.938 kB / 1.266 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006731/1.208, allocations: 4.511 MB / 1.27 GB, free: 12.69 MB / 0.8542 GB 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 postOpt removeSimpleEquations (simulation): time 0.0264/1.235, allocations: 11.95 MB / 1.282 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.235, allocations: 0 / 1.282 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/1.237, allocations: 0.6555 MB / 1.282 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008927/1.238, allocations: 370.9 kB / 1.283 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00028/1.239, allocations: 87.95 kB / 1.283 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005348/1.244, allocations: 5.17 MB / 1.288 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.244, allocations: 5.562 kB / 1.288 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/1.257, allocations: 7.592 MB / 1.295 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004947/1.262, allocations: 1.221 MB / 1.296 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002315/1.264, allocations: 63.98 kB / 1.296 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006121/1.27, allocations: 463.4 kB / 1.297 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006713/1.271, allocations: 202.2 kB / 1.297 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005133/1.272, allocations: 139.9 kB / 1.297 GB, free: 216 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.008992/1.281, allocations: 3.703 MB / 1.301 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.613e-06/1.281, allocations: 0 / 1.301 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01222/1.293, allocations: 1.987 MB / 1.303 GB, free: 10.54 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002245/1.295, allocations: 476.9 kB / 1.303 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.307, allocations: 5.354 MB / 1.309 GB, free: 4.676 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/1.307, allocations: 4.312 kB / 1.309 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005226/1.312, allocations: 2.498 MB / 1.311 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0246/1.337, allocations: 3.192 MB / 1.314 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03843/1.375, allocations: 16.05 MB / 1.33 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009468/1.385, allocations: 4.601 MB / 1.334 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01145/1.396, allocations: 1.997 MB / 1.336 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003214/1.4, allocations: 455.2 kB / 1.337 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of SimCode: time 1.303e-06/1.4, allocations: 0 / 1.337 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of Templates: time 0.7294/2.129, allocations: 112.2 MB / 1.446 GB, free: 210 MB / 0.9167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)