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.697/1.697, allocations: 252 MB / 267.6 MB, free: 10.95 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.001065/0.001065, allocations: 182 kB / 327.3 MB, free: 2.227 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.893/1.893, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.000787/0.0007871, allocations: 94.36 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 12.47 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2101, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03884/0.249, allocations: 51.55 MB / 0.9512 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02019/0.2692, allocations: 16.72 MB / 0.9675 GB, free: 11.49 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004059/0.2733, allocations: 59.62 kB / 0.9675 GB, free: 11.43 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.003368/0.2767, allocations: 0.6365 MB / 0.9682 GB, free: 10.79 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.007424/0.2842, allocations: 1.97 MB / 0.9701 GB, free: 8.812 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.00392/0.2881, allocations: 1.05 MB / 0.9711 GB, free: 7.766 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.02593/0.314, allocations: 23.49 MB / 0.994 GB, free: 216 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0115/0.3256, allocations: 7.114 MB / 1.001 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.337, allocations: 5.288 MB / 1.006 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01097/0.348, allocations: 5.489 MB / 1.012 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002324/0.3504, allocations: 351.9 kB / 1.012 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0065/0.3569, allocations: 0.7802 MB / 1.013 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00313/0.3601, allocations: 1.514 MB / 1.014 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00473/0.3648, allocations: 1.596 MB / 1.016 GB, free: 9.957 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.3802, allocations: 10.21 MB / 1.026 GB, free: 15.73 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.3803, allocations: 4 kB / 1.026 GB, free: 15.72 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3803, allocations: 0 / 1.026 GB, free: 15.72 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.000841/0.3811, allocations: 0 / 1.026 GB, free: 15.72 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02077/0.402, allocations: 6.913 MB / 1.032 GB, free: 8.719 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.402, allocations: 12.03 kB / 1.032 GB, free: 8.707 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00579/0.4078, allocations: 0.8538 MB / 1.033 GB, free: 7.844 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/0.424, allocations: 6.381 MB / 1.039 GB, free: 1.402 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005333/0.4246, allocations: 468.2 kB / 1.04 GB, free: 0.9414 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002329/0.4269, allocations: 0.5936 MB / 1.04 GB, free: 356 kB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02634/0.4533, allocations: 8.888 MB / 1.049 GB, free: 7.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003433/0.4537, allocations: 23.73 kB / 1.049 GB, free: 7.137 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001944/0.4556, allocations: 256 kB / 1.049 GB, free: 6.887 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002484/0.4559, allocations: 183.9 kB / 1.05 GB, free: 6.707 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5633/1.019, allocations: 7.438 MB / 1.057 GB, free: 136.5 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.06041/1.08, allocations: 35.1 MB / 1.091 GB, free: 116.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008432/1.088, allocations: 4.405 MB / 1.095 GB, free: 114.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005813/1.094, allocations: 3.425 MB / 1.099 GB, free: 112.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/1.096, allocations: 0.9885 MB / 1.1 GB, free: 111.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00698/1.103, allocations: 2.371 MB / 1.102 GB, free: 110.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004797/1.107, allocations: 457.8 kB / 1.103 GB, free: 110 MB / 0.698 GB Notification: Performance of pre-optimization done (n=329): time 2.391e-05/1.107, allocations: 3.938 kB / 1.103 GB, free: 110 MB / 0.698 GB Notification: Performance of matching and sorting (n=329): time 0.01663/1.124, allocations: 7.198 MB / 1.11 GB, free: 106.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.124, allocations: 91.73 kB / 1.11 GB, free: 106.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009463/1.134, allocations: 5.311 MB / 1.115 GB, free: 102.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008628/1.135, allocations: 85.7 kB / 1.115 GB, free: 102.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002609/1.137, allocations: 3.139 MB / 1.118 GB, free: 98.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00164/1.139, allocations: 1.161 MB / 1.119 GB, free: 97.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/1.139, allocations: 92 kB / 1.119 GB, free: 97.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002187/1.139, allocations: 493.9 kB / 1.12 GB, free: 97.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/1.142, allocations: 2.175 MB / 1.122 GB, free: 95.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00349/1.146, allocations: 3.668 MB / 1.125 GB, free: 90.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004026/1.15, allocations: 2.929 MB / 1.128 GB, free: 87.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-05/1.15, allocations: 12 kB / 1.128 GB, free: 87.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01037/1.16, allocations: 6.782 MB / 1.135 GB, free: 80.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.418e-05/1.16, allocations: 49.7 kB / 1.135 GB, free: 80.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.445e-05/1.161, allocations: 51.95 kB / 1.135 GB, free: 80.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008848/1.161, allocations: 430.8 kB / 1.135 GB, free: 80.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003435/1.165, allocations: 1.026 MB / 1.136 GB, free: 79.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004231/1.169, allocations: 5.248 MB / 1.141 GB, free: 73.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005895/1.175, allocations: 470.7 kB / 1.142 GB, free: 73.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007313/1.176, allocations: 212 kB / 1.142 GB, free: 73.18 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 ($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.004335/1.18, allocations: 2.463 MB / 1.145 GB, free: 70.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/1.182, allocations: 0.521 MB / 1.145 GB, free: 70.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007654/1.189, allocations: 5.339 MB / 1.15 GB, free: 64.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/1.189, allocations: 36 kB / 1.15 GB, free: 64.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.189, allocations: 4 kB / 1.15 GB, free: 64.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005733/1.195, allocations: 4.595 MB / 1.155 GB, free: 60.06 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.02496/1.22, allocations: 12.05 MB / 1.167 GB, free: 47.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/1.22, allocations: 0 / 1.167 GB, free: 47.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/1.223, allocations: 0.675 MB / 1.167 GB, free: 47.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008121/1.224, allocations: 377.2 kB / 1.168 GB, free: 46.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/1.224, allocations: 87.95 kB / 1.168 GB, free: 46.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/1.228, allocations: 5.161 MB / 1.173 GB, free: 41.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.228, allocations: 4 kB / 1.173 GB, free: 41.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.239, allocations: 7.718 MB / 1.18 GB, free: 33.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003865/1.243, allocations: 1.193 MB / 1.181 GB, free: 32.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001836/1.245, allocations: 71.98 kB / 1.181 GB, free: 32.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005924/1.251, allocations: 473.1 kB / 1.182 GB, free: 31.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007228/1.252, allocations: 210.5 kB / 1.182 GB, free: 31.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005947/1.252, allocations: 135.9 kB / 1.182 GB, free: 31.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.008205/1.26, allocations: 3.686 MB / 1.186 GB, free: 27.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/1.26, allocations: 0 / 1.186 GB, free: 27.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009847/1.27, allocations: 1.982 MB / 1.188 GB, free: 25.82 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 (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.001905/1.272, allocations: 471 kB / 1.188 GB, free: 25.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009397/1.282, allocations: 5.426 MB / 1.194 GB, free: 19.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.282, allocations: 0.9375 kB / 1.194 GB, free: 19.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004381/1.286, allocations: 2.547 MB / 1.196 GB, free: 17.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01822/1.304, allocations: 3.234 MB / 1.199 GB, free: 14.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03178/1.336, allocations: 16.4 MB / 1.215 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005918/1.342, allocations: 4.539 MB / 1.22 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00234/1.344, allocations: 487.2 kB / 1.22 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.345, allocations: 0 / 1.22 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of Templates: time 0.6848/2.029, allocations: 183.4 MB / 1.399 GB, free: 285.5 MB / 0.8699 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)