Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 175.2 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008128/0.0008128, allocations: 94.34 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 11.16 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2099, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03902/0.249, allocations: 55.33 MB / 0.9508 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.2691, allocations: 17.82 MB / 0.9682 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003239/0.2724, allocations: 67.56 kB / 0.9682 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.2749, allocations: 0.7224 MB / 0.9689 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007858/0.2828, allocations: 2.298 MB / 0.9712 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.2869, allocations: 1.342 MB / 0.9725 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.02837/0.3153, allocations: 27.67 MB / 0.9995 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/0.327, allocations: 8.319 MB / 1.008 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01168/0.3387, allocations: 5.33 MB / 1.013 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01134/0.3501, allocations: 5.795 MB / 1.018 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002012/0.3522, allocations: 348 kB / 1.019 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005884/0.3581, allocations: 1.034 MB / 1.02 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00408/0.3622, allocations: 1.583 MB / 1.021 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.009578/0.3718, allocations: 3.825 MB / 1.025 GB, free: 240 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.3845, allocations: 10.26 MB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3845, allocations: 3.938 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3845, allocations: 0 / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004841/0.385, allocations: 0 / 1.035 GB, free: 5.945 MB / 0.6823 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.01577/0.4008, allocations: 6.839 MB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.4008, allocations: 12.03 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/0.4054, allocations: 0.8431 MB / 1.043 GB, free: 14.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.4179, allocations: 6.55 MB / 1.049 GB, free: 7.539 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003861/0.4184, allocations: 472.5 kB / 1.049 GB, free: 7.074 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/0.4201, allocations: 0.5975 MB / 1.05 GB, free: 6.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4632/0.8833, allocations: 8.92 MB / 1.059 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001749/0.8836, allocations: 24.19 kB / 1.059 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00083/0.8844, allocations: 256.4 kB / 1.059 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.8846, allocations: 174.5 kB / 1.059 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01962/0.9042, allocations: 7.497 MB / 1.067 GB, free: 140 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.05433/0.9586, allocations: 35.12 MB / 1.101 GB, free: 113.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006317/0.9649, allocations: 4.424 MB / 1.105 GB, free: 111.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00416/0.9691, allocations: 3.376 MB / 1.108 GB, free: 110 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.9703, allocations: 0.9871 MB / 1.109 GB, free: 108.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003542/0.9739, allocations: 2.395 MB / 1.112 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003177/0.9771, allocations: 439.9 kB / 1.112 GB, free: 107.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=329): time 1.357e-05/0.9771, allocations: 0 / 1.112 GB, free: 107.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=329): time 0.01113/0.9882, allocations: 7.259 MB / 1.119 GB, free: 100 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.9883, allocations: 86 kB / 1.119 GB, free: 99.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006448/0.9948, allocations: 5.352 MB / 1.125 GB, free: 94.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006162/0.9954, allocations: 91.48 kB / 1.125 GB, free: 94.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00213/0.9975, allocations: 3.143 MB / 1.128 GB, free: 91.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.9987, allocations: 1.157 MB / 1.129 GB, free: 90.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.9991, allocations: 367.5 kB / 1.129 GB, free: 89.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.366e-05/0.9992, allocations: 301.1 kB / 1.13 GB, free: 89.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002776/1.002, allocations: 2.191 MB / 1.132 GB, free: 87.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/1.005, allocations: 3.683 MB / 1.135 GB, free: 82.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006414/1.012, allocations: 6.331 MB / 1.141 GB, free: 75.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-05/1.012, allocations: 12 kB / 1.141 GB, free: 75.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009843/1.022, allocations: 6.818 MB / 1.148 GB, free: 69.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/1.022, allocations: 53.7 kB / 1.148 GB, free: 68.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.388e-05/1.022, allocations: 48 kB / 1.148 GB, free: 68.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008797/1.023, allocations: 426.3 kB / 1.149 GB, free: 68.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/1.026, allocations: 1.022 MB / 1.15 GB, free: 67.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/1.03, allocations: 5.263 MB / 1.155 GB, free: 61.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005471/1.036, allocations: 470.8 kB / 1.155 GB, free: 61.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006663/1.036, allocations: 216 kB / 1.155 GB, free: 61.31 MB / 0.698 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004137/1.04, allocations: 2.455 MB / 1.158 GB, free: 58.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/1.042, allocations: 0.5171 MB / 1.158 GB, free: 58.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00722/1.049, allocations: 5.364 MB / 1.164 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/1.049, allocations: 35.94 kB / 1.164 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.049, allocations: 8 kB / 1.164 GB, free: 52.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005264/1.054, allocations: 4.614 MB / 1.168 GB, free: 48.16 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 postOpt removeSimpleEquations (simulation): time 0.01926/1.074, allocations: 12.07 MB / 1.18 GB, free: 35.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.074, allocations: 4 kB / 1.18 GB, free: 35.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/1.076, allocations: 0.6711 MB / 1.181 GB, free: 35.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007572/1.077, allocations: 373.4 kB / 1.181 GB, free: 34.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002132/1.077, allocations: 87.95 kB / 1.181 GB, free: 34.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003979/1.081, allocations: 5.172 MB / 1.186 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.081, allocations: 4 kB / 1.186 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.092, allocations: 7.75 MB / 1.194 GB, free: 21.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003311/1.095, allocations: 1.115 MB / 1.195 GB, free: 20.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/1.096, allocations: 64 kB / 1.195 GB, free: 20.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004038/1.1, allocations: 474.2 kB / 1.195 GB, free: 19.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004055/1.101, allocations: 210.2 kB / 1.195 GB, free: 19.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/1.101, allocations: 131.9 kB / 1.196 GB, free: 19.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005043/1.106, allocations: 3.737 MB / 1.199 GB, free: 15.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.106, allocations: 3.938 kB / 1.199 GB, free: 15.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006086/1.112, allocations: 1.979 MB / 1.201 GB, free: 13.89 MB / 0.698 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001225/1.113, allocations: 489.3 kB / 1.202 GB, free: 13.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007125/1.12, allocations: 5.448 MB / 1.207 GB, free: 7.949 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.121, allocations: 1.875 kB / 1.207 GB, free: 7.949 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/1.124, allocations: 2.564 MB / 1.209 GB, free: 5.359 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01557/1.139, allocations: 3.219 MB / 1.213 GB, free: 2.199 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/1.166, allocations: 16.65 MB / 1.229 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004816/1.171, allocations: 4.531 MB / 1.233 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/1.173, allocations: 487.2 kB / 1.234 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of SimCode: time 8.41e-07/1.173, allocations: 4 kB / 1.234 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.6284/1.802, allocations: 183.3 MB / 1.413 GB, free: 290.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)