Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.195/2.195, allocations: 251.2 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 176.3 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.525/2.525, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000892/0.0008917, allocations: 88.17 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004928, allocations: 10.97 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2114, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06307/0.2745, allocations: 51.54 MB / 0.9494 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03044/0.305, allocations: 16.72 MB / 0.9657 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.3083, allocations: 67.56 kB / 0.9658 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.3118, allocations: 0.6248 MB / 0.9664 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008891/0.3207, allocations: 1.97 MB / 0.9683 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005127/0.3259, allocations: 1.047 MB / 0.9693 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0357/0.3616, allocations: 23.59 MB / 0.9923 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01659/0.3783, allocations: 7.622 MB / 0.9998 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/0.3922, allocations: 5.296 MB / 1.005 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01336/0.4056, allocations: 5.485 MB / 1.01 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002483/0.4082, allocations: 348 kB / 1.011 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006705/0.4149, allocations: 0.7801 MB / 1.011 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003934/0.4189, allocations: 1.51 MB / 1.013 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004524/0.4235, allocations: 1.603 MB / 1.014 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.4411, allocations: 10.2 MB / 1.024 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4411, allocations: 4 kB / 1.024 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.795e-06/0.4411, allocations: 0 / 1.024 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004549/0.4416, allocations: 4 kB / 1.024 GB, free: 0.5898 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.02448/0.4661, allocations: 6.917 MB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.4662, allocations: 12.03 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005144/0.4713, allocations: 0.847 MB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02086/0.4922, allocations: 6.388 MB / 1.038 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006903/0.493, allocations: 464.6 kB / 1.039 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002479/0.4955, allocations: 0.6052 MB / 1.039 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0296/0.5251, allocations: 8.876 MB / 1.048 GB, free: 8.027 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002829/0.5254, allocations: 19.78 kB / 1.048 GB, free: 8.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001655/0.5271, allocations: 260 kB / 1.048 GB, free: 7.754 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/0.5274, allocations: 179.9 kB / 1.048 GB, free: 7.578 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/0.5534, allocations: 7.453 MB / 1.056 GB, free: 120 kB / 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.6665/1.22, allocations: 35.1 MB / 1.09 GB, free: 117.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/1.232, allocations: 4.413 MB / 1.094 GB, free: 115.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008503/1.241, allocations: 3.422 MB / 1.098 GB, free: 113.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002221/1.243, allocations: 0.9871 MB / 1.099 GB, free: 112.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008357/1.251, allocations: 2.38 MB / 1.101 GB, free: 111.5 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004584/1.256, allocations: 454.3 kB / 1.101 GB, free: 111.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=329): time 2.615e-05/1.256, allocations: 1.625 kB / 1.101 GB, free: 111.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=329): time 0.0262/1.282, allocations: 7.196 MB / 1.108 GB, free: 107.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/1.282, allocations: 86.09 kB / 1.108 GB, free: 107.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/1.295, allocations: 5.319 MB / 1.114 GB, free: 103.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009054/1.296, allocations: 85.7 kB / 1.114 GB, free: 103.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004031/1.3, allocations: 3.144 MB / 1.117 GB, free: 100.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002127/1.302, allocations: 1.154 MB / 1.118 GB, free: 99.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004688/1.302, allocations: 92 kB / 1.118 GB, free: 99.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000308/1.303, allocations: 499.8 kB / 1.118 GB, free: 98.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00574/1.309, allocations: 2.167 MB / 1.121 GB, free: 96.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007116/1.316, allocations: 3.664 MB / 1.124 GB, free: 92.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007411/1.323, allocations: 2.94 MB / 1.127 GB, free: 89.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.787e-05/1.323, allocations: 12 kB / 1.127 GB, free: 89.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01997/1.343, allocations: 6.77 MB / 1.134 GB, free: 82.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.923e-05/1.343, allocations: 54.66 kB / 1.134 GB, free: 82.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.028e-05/1.343, allocations: 48 kB / 1.134 GB, free: 82.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/1.345, allocations: 430 kB / 1.134 GB, free: 81.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00752/1.353, allocations: 1.026 MB / 1.135 GB, free: 80.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007555/1.36, allocations: 5.25 MB / 1.14 GB, free: 75.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008602/1.369, allocations: 474.8 kB / 1.141 GB, free: 74.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.37, allocations: 212.5 kB / 1.141 GB, free: 74.57 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.006254/1.376, allocations: 2.459 MB / 1.143 GB, free: 72.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001848/1.378, allocations: 0.521 MB / 1.144 GB, free: 71.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/1.394, allocations: 5.337 MB / 1.149 GB, free: 66.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.993e-05/1.394, allocations: 32 kB / 1.149 GB, free: 66.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/1.394, allocations: 8 kB / 1.149 GB, free: 66.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01224/1.406, allocations: 4.599 MB / 1.154 GB, free: 61.45 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.03485/1.441, allocations: 12.05 MB / 1.165 GB, free: 49.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.441, allocations: 7.938 kB / 1.165 GB, free: 49.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006/1.447, allocations: 0.6711 MB / 1.166 GB, free: 48.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/1.449, allocations: 370.9 kB / 1.166 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006532/1.449, allocations: 91.89 kB / 1.166 GB, free: 48.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007106/1.456, allocations: 5.16 MB / 1.172 GB, free: 42.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.456, allocations: 11.88 kB / 1.172 GB, free: 42.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/1.475, allocations: 7.707 MB / 1.179 GB, free: 34.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004657/1.48, allocations: 1.201 MB / 1.18 GB, free: 33.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/1.482, allocations: 75.98 kB / 1.18 GB, free: 33.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007893/1.49, allocations: 467 kB / 1.181 GB, free: 33.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008736/1.491, allocations: 210.3 kB / 1.181 GB, free: 32.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000464/1.491, allocations: 131.9 kB / 1.181 GB, free: 32.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.008313/1.5, allocations: 3.686 MB / 1.185 GB, free: 29.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.82e-07/1.5, allocations: 0 / 1.185 GB, free: 29.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008695/1.508, allocations: 1.986 MB / 1.187 GB, free: 27.2 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.001889/1.51, allocations: 480.9 kB / 1.187 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01312/1.523, allocations: 5.418 MB / 1.192 GB, free: 21.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/1.523, allocations: 4.938 kB / 1.192 GB, free: 21.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006459/1.53, allocations: 2.55 MB / 1.195 GB, free: 18.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02779/1.558, allocations: 3.23 MB / 1.198 GB, free: 15.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/1.595, allocations: 16.35 MB / 1.214 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009382/1.604, allocations: 4.61 MB / 1.218 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.012/1.616, allocations: 1.989 MB / 1.22 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003236/1.619, allocations: 459.3 kB / 1.221 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of SimCode: time 1.342e-06/1.62, allocations: 3.938 kB / 1.221 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of Templates: time 0.2976/1.917, allocations: 111.6 MB / 1.33 GB, free: 8.969 MB / 0.823 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)