Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.412/2.412, allocations: 255 MB / 269.9 MB, free: 9.648 MB / 218.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.001438/0.001438, allocations: 198.8 kB / 329.5 MB, free: 1.16 MB / 250.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 2.611/2.611, allocations: 225.6 MB / 0.6001 GB, free: 2.285 MB / 426.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.001041/0.00104, allocations: 105.5 kB / 0.7074 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.000497, allocations: 11.31 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2184, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07702/0.2955, allocations: 51.53 MB / 0.9811 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03379/0.3293, allocations: 16.71 MB / 0.9974 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.3325, allocations: 71.56 kB / 0.9975 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003564/0.3362, allocations: 0.6209 MB / 0.9981 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008805/0.345, allocations: 1.966 MB / 1 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005251/0.3503, allocations: 1.057 MB / 1.001 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.6525/1.003, allocations: 23.58 MB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02011/1.023, allocations: 7.619 MB / 1.031 GB, free: 26.99 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01577/1.039, allocations: 5.285 MB / 1.037 GB, free: 26.98 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01551/1.054, allocations: 5.492 MB / 1.042 GB, free: 26.96 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.003295/1.058, allocations: 347 kB / 1.042 GB, free: 26.96 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/1.068, allocations: 0.7831 MB / 1.043 GB, free: 26.96 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.005005/1.074, allocations: 1.511 MB / 1.045 GB, free: 26.96 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.005847/1.079, allocations: 1.601 MB / 1.046 GB, free: 26.93 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01768/1.097, allocations: 10.21 MB / 1.056 GB, free: 26.4 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.097, allocations: 0 / 1.056 GB, free: 26.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.567e-06/1.097, allocations: 0 / 1.056 GB, free: 26.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0005448/1.098, allocations: 0 / 1.056 GB, free: 26.4 MB / 0.6667 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.02759/1.125, allocations: 6.922 MB / 1.063 GB, free: 23.52 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/1.125, allocations: 8.75 kB / 1.063 GB, free: 23.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006343/1.132, allocations: 0.8465 MB / 1.064 GB, free: 23.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0219/1.154, allocations: 6.401 MB / 1.07 GB, free: 21.01 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006119/1.154, allocations: 457.7 kB / 1.07 GB, free: 20.99 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002988/1.157, allocations: 0.6011 MB / 1.071 GB, free: 20.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03106/1.189, allocations: 8.878 MB / 1.08 GB, free: 18.25 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003682/1.189, allocations: 25.78 kB / 1.08 GB, free: 18.24 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00243/1.191, allocations: 251.5 kB / 1.08 GB, free: 18.24 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002567/1.192, allocations: 186.5 kB / 1.08 GB, free: 18.22 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02494/1.217, allocations: 7.452 MB / 1.087 GB, free: 16.79 MB / 0.6667 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.08208/1.299, allocations: 35.1 MB / 1.122 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01373/1.313, allocations: 4.406 MB / 1.126 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01017/1.323, allocations: 3.423 MB / 1.129 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002455/1.325, allocations: 0.9874 MB / 1.13 GB, free: 9.301 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008277/1.334, allocations: 2.382 MB / 1.133 GB, free: 6.887 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005057/1.339, allocations: 447.5 kB / 1.133 GB, free: 6.449 MB / 0.698 GB Notification: Performance of pre-optimization done (n=329): time 1.469e-05/1.339, allocations: 3.656 kB / 1.133 GB, free: 6.449 MB / 0.698 GB Notification: Performance of matching and sorting (n=329): time 0.02881/1.368, allocations: 7.201 MB / 1.14 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/1.368, allocations: 90 kB / 1.14 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0168/1.385, allocations: 5.313 MB / 1.145 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/1.386, allocations: 89.7 kB / 1.145 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.005837/1.392, allocations: 3.137 MB / 1.148 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00274/1.394, allocations: 1.167 MB / 1.15 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006863/1.395, allocations: 88 kB / 1.15 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0005405/1.396, allocations: 495.8 kB / 1.15 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007863/1.404, allocations: 2.175 MB / 1.152 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009359/1.413, allocations: 3.664 MB / 1.156 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009/1.422, allocations: 2.924 MB / 1.159 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.692e-05/1.422, allocations: 18.73 kB / 1.159 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.02341/1.446, allocations: 6.774 MB / 1.165 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.446, allocations: 57.64 kB / 1.165 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/1.446, allocations: 51.98 kB / 1.165 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001841/1.448, allocations: 422.1 kB / 1.166 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008351/1.456, allocations: 1.026 MB / 1.167 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009759/1.466, allocations: 5.243 MB / 1.172 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009374/1.475, allocations: 482.7 kB / 1.172 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.477, allocations: 216 kB / 1.173 GB, free: 12.73 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * 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 (548): * Single equations (assignments): 545 * 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.008191/1.485, allocations: 2.444 MB / 1.175 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002356/1.487, allocations: 0.521 MB / 1.176 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01889/1.506, allocations: 5.355 MB / 1.181 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.127e-05/1.506, allocations: 32 kB / 1.181 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.506, allocations: 4 kB / 1.181 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0153/1.522, allocations: 4.6 MB / 1.185 GB, free: 15.61 MB / 0.7605 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.04125/1.563, allocations: 12.05 MB / 1.197 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.563, allocations: 0 / 1.197 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006475/1.57, allocations: 0.675 MB / 1.198 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/1.571, allocations: 370.4 kB / 1.198 GB, free: 2.422 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007687/1.572, allocations: 87.95 kB / 1.198 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009043/1.581, allocations: 5.161 MB / 1.203 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.581, allocations: 3.984 kB / 1.203 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02283/1.604, allocations: 7.732 MB / 1.211 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005492/1.61, allocations: 1.197 MB / 1.212 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00218/1.612, allocations: 63.98 kB / 1.212 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008622/1.62, allocations: 473.6 kB / 1.212 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/1.622, allocations: 218.2 kB / 1.213 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005655/1.622, allocations: 127.9 kB / 1.213 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0107/1.633, allocations: 3.69 MB / 1.216 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.82e-07/1.633, allocations: 4 kB / 1.216 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01053/1.643, allocations: 1.979 MB / 1.218 GB, free: 13.34 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (308): * Single equations (assignments): 301 * 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.002151/1.646, allocations: 479.6 kB / 1.219 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01651/1.662, allocations: 5.425 MB / 1.224 GB, free: 7.422 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/1.662, allocations: 5.938 kB / 1.224 GB, free: 7.418 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00774/1.67, allocations: 2.546 MB / 1.227 GB, free: 4.844 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02933/1.699, allocations: 3.234 MB / 1.23 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04274/1.742, allocations: 16.34 MB / 1.246 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009775/1.752, allocations: 4.605 MB / 1.25 GB, free: 12.63 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01247/1.765, allocations: 1.987 MB / 1.252 GB, free: 10.64 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00329/1.768, allocations: 467.2 kB / 1.253 GB, free: 10.18 MB / 0.823 GB Notification: Performance of SimCode: time 1.373e-06/1.768, allocations: 0 / 1.253 GB, free: 10.18 MB / 0.823 GB Notification: Performance of Templates: time 0.9986/2.766, allocations: 111.7 MB / 1.362 GB, free: 324.5 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)