Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.Stratified,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Examples_Stratified",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01454/0.01455, allocations: 88.39 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001882/0.001882, allocations: 173 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.121/2.121, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.454/2.454, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004797, allocations: 16.09 kB / 0.6243 GB, free: 21.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 106.2 MB / 0.7281 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.07352/0.3068, allocations: 47 MB / 0.7739 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03208/0.3389, allocations: 15.06 MB / 0.7887 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.342, allocations: 67.5 kB / 0.7887 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004338/0.3464, allocations: 0.8513 MB / 0.7895 GB, free: 9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.357, allocations: 2.263 MB / 0.7918 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.008062/0.365, allocations: 1.641 MB / 0.7934 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.02871/0.3938, allocations: 15.6 MB / 0.8086 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02199/0.4158, allocations: 9.992 MB / 0.8184 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01569/0.4315, allocations: 6.034 MB / 0.8242 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01425/0.4458, allocations: 5.29 MB / 0.8294 GB, free: 20 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.6311/1.077, allocations: 471.9 kB / 0.8299 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009637/1.087, allocations: 1.228 MB / 0.8311 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00589/1.093, allocations: 1.995 MB / 0.833 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00763/1.1, allocations: 2.206 MB / 0.8352 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.02568/1.126, allocations: 14.15 MB / 0.849 GB, free: 22.54 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.126, allocations: 0 / 0.849 GB, free: 22.54 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.795e-06/1.126, allocations: 0 / 0.849 GB, free: 22.54 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0007495/1.127, allocations: 0 / 0.849 GB, free: 22.54 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.0461/1.173, allocations: 9.48 MB / 0.8582 GB, free: 18.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.357e-05/1.173, allocations: 8.656 kB / 0.8582 GB, free: 18.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008775/1.182, allocations: 1.145 MB / 0.8594 GB, free: 18.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/1.194, allocations: 1.165 MB / 0.8605 GB, free: 18.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03559/1.23, allocations: 8.252 MB / 0.8686 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/1.231, allocations: 0.6137 MB / 0.8692 GB, free: 16.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004413/1.236, allocations: 0.8198 MB / 0.87 GB, free: 16.51 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04343/1.279, allocations: 12.27 MB / 0.8819 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005972/1.28, allocations: 29.22 kB / 0.882 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003525/1.283, allocations: 354.7 kB / 0.8823 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003599/1.284, allocations: 252.4 kB / 0.8826 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03501/1.319, allocations: 10.37 MB / 0.8927 GB, free: 10.88 MB / 0.6511 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.1217/1.44, allocations: 48.71 MB / 0.9403 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0222/1.463, allocations: 6.418 MB / 0.9465 GB, free: 24 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002523/1.465, allocations: 0.8453 MB / 0.9473 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01176/1.477, allocations: 3.368 MB / 0.9506 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006816/1.484, allocations: 0.5316 MB / 0.9512 GB, free: 11.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=455): time 2.163e-05/1.484, allocations: 3.984 kB / 0.9512 GB, free: 11.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=455): time 0.03207/1.516, allocations: 9.113 MB / 0.9601 GB, free: 1.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/1.516, allocations: 154.2 kB / 0.9602 GB, free: 1.758 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02401/1.54, allocations: 7.826 MB / 0.9678 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001451/1.542, allocations: 117.7 kB / 0.968 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.007815/1.55, allocations: 4.277 MB / 0.9721 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.003825/1.554, allocations: 1.579 MB / 0.9737 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009175/1.555, allocations: 116 kB / 0.9738 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0006466/1.555, allocations: 0.5483 MB / 0.9743 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01136/1.567, allocations: 3.017 MB / 0.9773 GB, free: 280 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01655/1.583, allocations: 4.864 MB / 0.982 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/1.599, allocations: 4.059 MB / 0.986 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.863e-05/1.6, allocations: 16 kB / 0.986 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.03885/1.638, allocations: 8.897 MB / 0.9947 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.01439/1.653, allocations: 28.63 MB / 1.023 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000206/1.653, allocations: 56 kB / 1.023 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/1.653, allocations: 96 kB / 1.023 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01249/1.666, allocations: 1.438 MB / 1.024 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002271/1.666, allocations: 124.3 kB / 1.024 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01304/1.679, allocations: 0.6389 MB / 1.025 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/1.681, allocations: 280 kB / 1.025 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.681, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02701/1.708, allocations: 8.309 MB / 1.033 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/1.708, allocations: 56 kB / 1.033 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/1.709, allocations: 96 kB / 1.033 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01224/1.721, allocations: 1.428 MB / 1.035 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002218/1.721, allocations: 131.6 kB / 1.035 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01213/1.733, allocations: 0.6117 MB / 1.036 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/1.735, allocations: 280 kB / 1.036 GB, free: 2.516 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 746 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01216/1.747, allocations: 3.554 MB / 1.039 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003566/1.751, allocations: 0.709 MB / 1.04 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02677/1.778, allocations: 7.181 MB / 1.047 GB, free: 7.109 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.793e-05/1.778, allocations: 55.98 kB / 1.047 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/1.778, allocations: 0 / 1.047 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01952/1.798, allocations: 5.879 MB / 1.053 GB, free: 1.148 MB / 0.7917 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.05977/1.857, allocations: 16.61 MB / 1.069 GB, free: 500 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/1.857, allocations: 4 kB / 1.069 GB, free: 496 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009468/1.867, allocations: 0.9062 MB / 1.07 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.897e-05/1.867, allocations: 16 kB / 1.07 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00129/1.868, allocations: 119.9 kB / 1.07 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-05/1.868, allocations: 16 kB / 1.07 GB, free: 15.47 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.868, allocations: 0 / 1.07 GB, free: 15.47 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03353/1.902, allocations: 10.84 MB / 1.081 GB, free: 4.547 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008548/1.911, allocations: 1.769 MB / 1.082 GB, free: 2.75 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00394/1.915, allocations: 95.98 kB / 1.082 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0124/1.927, allocations: 0.6024 MB / 1.083 GB, free: 2.055 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001587/1.929, allocations: 264.9 kB / 1.083 GB, free: 1.797 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001431/1.93, allocations: 179.9 kB / 1.083 GB, free: 1.621 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01713/1.947, allocations: 5.523 MB / 1.089 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.61e-07/1.947, allocations: 0 / 1.089 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02648/1.974, allocations: 4.842 MB / 1.094 GB, free: 7.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,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,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 447 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03871/2.013, allocations: 12.02 MB / 1.105 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03492/2.048, allocations: 11.55 MB / 1.117 GB, free: 72 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/2.048, allocations: 4 kB / 1.117 GB, free: 68 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009719/2.057, allocations: 3.249 MB / 1.12 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03822/2.096, allocations: 4.376 MB / 1.124 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.03/3.126, allocations: 113.9 MB / 1.235 GB, free: 273.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01398/3.14, allocations: 6.26 MB / 1.241 GB, free: 270.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.02289/3.163, allocations: 4.3 MB / 1.246 GB, free: 269.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01178/3.175, allocations: 3.738 MB / 1.249 GB, free: 266.3 MB / 0.9011 GB Notification: Performance of SimCode: time 3.076e-06/3.175, allocations: 0 / 1.249 GB, free: 266.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4967/3.671, allocations: 230.8 MB / 1.475 GB, free: 41.21 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/3.672, allocations: 222.2 kB / 1.475 GB, free: 40.97 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/14.97, allocations: 0 / 1.475 GB, free: 40.97 MB / 0.9011 GB