Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.582/1.582, allocations: 292.6 MB / 307.8 MB, free: 7.145 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.001018/0.001018, allocations: 181 kB / 376.5 MB, free: 4.434 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.467/1.467, allocations: 225.7 MB / 0.655 GB, free: 13.14 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.0008112/0.0008113, allocations: 94.66 kB / 0.7711 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003972, allocations: 17.34 kB / 0.897 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7118, allocations: 118.2 MB / 1.012 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04408/0.7559, allocations: 51.54 MB / 1.063 GB, free: 28.8 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01937/0.7754, allocations: 16.74 MB / 1.079 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003225/0.7786, allocations: 62.84 kB / 1.079 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.7816, allocations: 0.6323 MB / 1.08 GB, free: 16.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007377/0.789, allocations: 2.123 MB / 1.082 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.7927, allocations: 1.095 MB / 1.083 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01898/0.8117, allocations: 23.59 MB / 1.106 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.8222, allocations: 8.386 MB / 1.114 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01123/0.8335, allocations: 5.266 MB / 1.119 GB, free: 500 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01311/0.8467, allocations: 5.484 MB / 1.125 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.002955/0.8497, allocations: 347.4 kB / 1.125 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008165/0.8579, allocations: 0.9828 MB / 1.126 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.004048/0.8619, allocations: 1.522 MB / 1.127 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.01242/0.8744, allocations: 3.709 MB / 1.131 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01774/0.8922, allocations: 10.33 MB / 1.141 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.8922, allocations: 0 / 1.141 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.875e-06/0.8922, allocations: 1.219 kB / 1.141 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000666/0.8929, allocations: 0 / 1.141 GB, free: 9.184 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.02475/0.9177, allocations: 6.835 MB / 1.148 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.9177, allocations: 8.812 kB / 1.148 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/0.9234, allocations: 0.8542 MB / 1.149 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01922/0.9427, allocations: 6.49 MB / 1.155 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001308/0.9441, allocations: 467.3 kB / 1.155 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003994/0.9481, allocations: 0.5931 MB / 1.156 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03896/0.9871, allocations: 8.981 MB / 1.165 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008047/0.9879, allocations: 23.94 kB / 1.165 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003756/0.9917, allocations: 263 kB / 1.165 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004369/0.9922, allocations: 179.3 kB / 1.165 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0209/1.013, allocations: 7.419 MB / 1.172 GB, free: 6.312 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.06838/1.081, allocations: 35.95 MB / 1.208 GB, free: 312 kB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007734/1.089, allocations: 4.274 MB / 1.212 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005651/1.095, allocations: 3.39 MB / 1.215 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/1.096, allocations: 0.9818 MB / 1.216 GB, free: 7.473 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005019/1.101, allocations: 2.382 MB / 1.218 GB, free: 5.051 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004716/1.106, allocations: 447.8 kB / 1.219 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=317): time 2.906e-05/1.106, allocations: 0 / 1.219 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of matching and sorting (n=317): time 0.02307/1.129, allocations: 7.105 MB / 1.226 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/1.13, allocations: 87.78 kB / 1.226 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01292/1.142, allocations: 5.334 MB / 1.231 GB, free: 8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/1.144, allocations: 89.7 kB / 1.231 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0044/1.148, allocations: 3.164 MB / 1.234 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002321/1.15, allocations: 1.121 MB / 1.235 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008686/1.151, allocations: 88 kB / 1.235 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0005306/1.152, allocations: 495.5 kB / 1.236 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004576/1.156, allocations: 2.14 MB / 1.238 GB, free: 0.8438 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005441/1.162, allocations: 3.677 MB / 1.241 GB, free: 12.46 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009999/1.172, allocations: 6.288 MB / 1.248 GB, free: 5.461 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.572e-05/1.172, allocations: 16 kB / 1.248 GB, free: 5.445 MB / 0.823 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01447/1.186, allocations: 6.721 MB / 1.254 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-05/1.187, allocations: 53.7 kB / 1.254 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.451e-05/1.187, allocations: 48 kB / 1.254 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/1.188, allocations: 429.5 kB / 1.255 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004469/1.192, allocations: 1.018 MB / 1.256 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006201/1.198, allocations: 5.251 MB / 1.261 GB, free: 7.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007619/1.206, allocations: 475.9 kB / 1.261 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.207, allocations: 212 kB / 1.262 GB, free: 6.941 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.006524/1.214, allocations: 2.468 MB / 1.264 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002056/1.216, allocations: 0.5172 MB / 1.264 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009937/1.226, allocations: 5.223 MB / 1.27 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-05/1.226, allocations: 31.98 kB / 1.27 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.226, allocations: 7.938 kB / 1.27 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006941/1.233, allocations: 4.523 MB / 1.274 GB, free: 10.01 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.02928/1.262, allocations: 11.94 MB / 1.286 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/1.262, allocations: 3.938 kB / 1.286 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/1.265, allocations: 0.6516 MB / 1.286 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009468/1.266, allocations: 369.3 kB / 1.287 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000381/1.267, allocations: 83.95 kB / 1.287 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00549/1.272, allocations: 5.182 MB / 1.292 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.272, allocations: 0 / 1.292 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/1.286, allocations: 7.6 MB / 1.299 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005376/1.292, allocations: 1.217 MB / 1.3 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002721/1.294, allocations: 63.98 kB / 1.3 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00703/1.301, allocations: 466.7 kB / 1.301 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008866/1.302, allocations: 198.2 kB / 1.301 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005665/1.303, allocations: 139.9 kB / 1.301 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008991/1.312, allocations: 3.703 MB / 1.305 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.254e-06/1.312, allocations: 4 kB / 1.305 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01241/1.324, allocations: 1.991 MB / 1.307 GB, free: 7.855 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.00279/1.327, allocations: 496.3 kB / 1.307 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01256/1.34, allocations: 5.354 MB / 1.312 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/1.34, allocations: 0 / 1.312 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006167/1.346, allocations: 2.503 MB / 1.315 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02513/1.371, allocations: 3.188 MB / 1.318 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03291/1.404, allocations: 16.05 MB / 1.334 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006121/1.41, allocations: 4.596 MB / 1.338 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.008657/1.419, allocations: 2.001 MB / 1.34 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002415/1.421, allocations: 455.3 kB / 1.341 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of SimCode: time 1.122e-06/1.421, allocations: 0 / 1.341 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of Templates: time 0.7023/2.124, allocations: 113.6 MB / 1.452 GB, free: 207.9 MB / 0.9167 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)