Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.757/1.757, allocations: 288.3 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 183.7 kB / 371.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008596/0.0008596, allocations: 102.8 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004367, allocations: 10.94 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2496, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.04264/0.2923, allocations: 47 MB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02209/0.3144, allocations: 15.07 MB / 1.04 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003051/0.3175, allocations: 63.56 kB / 1.04 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003526/0.3211, allocations: 0.8591 MB / 1.041 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009316/0.3304, allocations: 2.253 MB / 1.043 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007026/0.3375, allocations: 1.714 MB / 1.045 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0234/0.3609, allocations: 15.62 MB / 1.06 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.9174/1.278, allocations: 10.02 MB / 1.07 GB, free: 12.91 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01724/1.296, allocations: 6.068 MB / 1.076 GB, free: 12.91 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01778/1.313, allocations: 5.305 MB / 1.081 GB, free: 12.91 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.00585/1.319, allocations: 474.4 kB / 1.081 GB, free: 12.91 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/1.333, allocations: 1.234 MB / 1.083 GB, free: 12.91 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.008236/1.341, allocations: 2.014 MB / 1.085 GB, free: 12.83 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.01039/1.351, allocations: 2.207 MB / 1.087 GB, free: 12.48 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.02444/1.376, allocations: 14.28 MB / 1.101 GB, free: 11.64 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.376, allocations: 0 / 1.101 GB, free: 11.64 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.733e-06/1.376, allocations: 0 / 1.101 GB, free: 11.64 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.0009526/1.377, allocations: 2.906 kB / 1.101 GB, free: 11.64 MB / 0.6824 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.03321/1.41, allocations: 9.471 MB / 1.11 GB, free: 22.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.41, allocations: 9.562 kB / 1.11 GB, free: 22.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009311/1.42, allocations: 1.17 MB / 1.111 GB, free: 22.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02789/1.447, allocations: 8.203 MB / 1.119 GB, free: 19.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/1.449, allocations: 0.6144 MB / 1.12 GB, free: 19.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005724/1.454, allocations: 0.8218 MB / 1.12 GB, free: 19.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04664/1.501, allocations: 12.38 MB / 1.133 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007088/1.502, allocations: 31.03 kB / 1.133 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004673/1.507, allocations: 361 kB / 1.133 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003174/1.507, allocations: 248.5 kB / 1.133 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02825/1.535, allocations: 10.36 MB / 1.143 GB, free: 13.58 MB / 0.698 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.09359/1.629, allocations: 49.21 MB / 1.191 GB, free: 1.727 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.64, allocations: 6.368 MB / 1.198 GB, free: 11.39 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/1.642, allocations: 0.8462 MB / 1.198 GB, free: 10.41 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006393/1.648, allocations: 3.416 MB / 1.202 GB, free: 6.965 MB / 0.7449 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00554/1.654, allocations: 0.5395 MB / 1.202 GB, free: 6.422 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=449): time 2.472e-05/1.654, allocations: 0 / 1.202 GB, free: 6.422 MB / 0.7449 GB Notification: Performance of matching and sorting (n=449): time 0.01672/1.67, allocations: 9.054 MB / 1.211 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/1.67, allocations: 158.2 kB / 1.211 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/1.683, allocations: 7.835 MB / 1.219 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001277/1.685, allocations: 113.7 kB / 1.219 GB, free: 5.184 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.004407/1.689, allocations: 4.294 MB / 1.223 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002623/1.692, allocations: 1.554 MB / 1.225 GB, free: 15.33 MB / 0.7762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/1.692, allocations: 116 kB / 1.225 GB, free: 15.22 MB / 0.7762 GB Notification: Performance of setup shared object (initialization): time 0.000346/1.692, allocations: 0.5491 MB / 1.225 GB, free: 14.67 MB / 0.7762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004484/1.697, allocations: 3.005 MB / 1.228 GB, free: 11.66 MB / 0.7762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005302/1.702, allocations: 4.869 MB / 1.233 GB, free: 5.953 MB / 0.7762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005554/1.708, allocations: 4.051 MB / 1.237 GB, free: 1.891 MB / 0.7762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-05/1.708, allocations: 16 kB / 1.237 GB, free: 1.875 MB / 0.7762 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.0157/1.723, allocations: 8.866 MB / 1.246 GB, free: 8.98 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 0.01179/1.735, allocations: 29.08 MB / 1.274 GB, free: 9.945 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001858/1.736, allocations: 56 kB / 1.274 GB, free: 9.891 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/1.736, allocations: 100 kB / 1.274 GB, free: 9.793 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007373/1.743, allocations: 1.424 MB / 1.276 GB, free: 8.367 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001398/1.743, allocations: 128.7 kB / 1.276 GB, free: 8.242 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009445/1.753, allocations: 0.6389 MB / 1.276 GB, free: 7.602 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/1.754, allocations: 276 kB / 1.277 GB, free: 7.332 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.754, allocations: 4.938 kB / 1.277 GB, free: 7.328 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01591/1.77, allocations: 8.286 MB / 1.285 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/1.77, allocations: 67.95 kB / 1.285 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/1.771, allocations: 96 kB / 1.285 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/1.777, allocations: 1.424 MB / 1.286 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001976/1.777, allocations: 129.4 kB / 1.286 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009858/1.787, allocations: 0.6117 MB / 1.287 GB, free: 12.7 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.788, allocations: 280 kB / 1.287 GB, free: 12.43 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * 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 (744): * Single equations (assignments): 742 * 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.01039/1.798, allocations: 3.561 MB / 1.291 GB, free: 8.844 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003941/1.802, allocations: 0.7063 MB / 1.291 GB, free: 8.129 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01756/1.82, allocations: 7.139 MB / 1.298 GB, free: 0.9688 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-05/1.82, allocations: 40 kB / 1.298 GB, free: 0.9297 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/1.82, allocations: 0 / 1.298 GB, free: 0.9297 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01104/1.831, allocations: 5.85 MB / 1.304 GB, free: 11.05 MB / 0.8543 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.04382/1.875, allocations: 16.63 MB / 1.32 GB, free: 10.35 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.875, allocations: 4 kB / 1.32 GB, free: 10.35 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005706/1.881, allocations: 0.8972 MB / 1.321 GB, free: 9.449 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/1.881, allocations: 19.95 kB / 1.321 GB, free: 9.43 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001414/1.882, allocations: 119.9 kB / 1.321 GB, free: 9.312 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.521e-05/1.882, allocations: 16 kB / 1.321 GB, free: 9.297 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.882, allocations: 0 / 1.321 GB, free: 9.297 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02468/1.907, allocations: 10.78 MB / 1.332 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00859/1.916, allocations: 1.788 MB / 1.334 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003993/1.92, allocations: 95.98 kB / 1.334 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00923/1.929, allocations: 0.6057 MB / 1.334 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/1.93, allocations: 255.1 kB / 1.335 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001186/1.931, allocations: 199.9 kB / 1.335 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01438/1.946, allocations: 5.526 MB / 1.34 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.154e-06/1.946, allocations: 0 / 1.34 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02644/1.972, allocations: 4.848 MB / 1.345 GB, free: 1.109 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 21 (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,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 (445): * Single equations (assignments): 441 * 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.003166/1.976, allocations: 0.5898 MB / 1.346 GB, free: 0.543 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0234/1.999, allocations: 11.49 MB / 1.357 GB, free: 5.031 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/1.999, allocations: 5.438 kB / 1.357 GB, free: 5.027 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.006993/2.006, allocations: 3.239 MB / 1.36 GB, free: 1.77 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02579/2.032, allocations: 4.366 MB / 1.364 GB, free: 13.48 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05408/2.086, allocations: 22.51 MB / 1.386 GB, free: 6.961 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01809/2.104, allocations: 6.26 MB / 1.392 GB, free: 0.6641 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.0238/2.128, allocations: 4.371 MB / 1.397 GB, free: 12.28 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004791/2.133, allocations: 0.6047 MB / 1.397 GB, free: 11.68 MB / 0.948 GB Notification: Performance of SimCode: time 8.81e-07/2.133, allocations: 0 / 1.397 GB, free: 11.68 MB / 0.948 GB Notification: Performance of Templates: time 0.7336/2.866, allocations: 154.8 MB / 1.548 GB, free: 278.1 MB / 0.9793 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)