Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 197.1 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7447 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.2 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3859, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05187/0.4378, allocations: 55.65 MB / 1.122 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02636/0.4642, allocations: 17.94 MB / 1.139 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/0.4681, allocations: 75.5 kB / 1.139 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.4716, allocations: 0.7263 MB / 1.14 GB, free: 216 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008734/0.4804, allocations: 2.321 MB / 1.142 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004924/0.4854, allocations: 1.385 MB / 1.144 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.03308/0.5185, allocations: 27.8 MB / 1.171 GB, free: 0.625 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01497/0.5335, allocations: 8.709 MB / 1.179 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/0.5461, allocations: 5.517 MB / 1.185 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.5582, allocations: 6.181 MB / 1.191 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.003338/0.5615, allocations: 472 kB / 1.191 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007942/0.5695, allocations: 1.151 MB / 1.192 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.004502/0.574, allocations: 1.794 MB / 1.194 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01193/0.586, allocations: 4.117 MB / 1.198 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.02111/0.6071, allocations: 12.64 MB / 1.211 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.6072, allocations: 0 / 1.211 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6072, allocations: 4 kB / 1.211 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0005993/0.6078, allocations: 0 / 1.211 GB, free: 7.82 MB / 0.9669 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.0282/0.636, allocations: 8.495 MB / 1.219 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.6361, allocations: 12.03 kB / 1.219 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005194/0.6413, allocations: 0.8586 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01717/0.6585, allocations: 6.617 MB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007894/0.6593, allocations: 460.4 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003385/0.6627, allocations: 0.6014 MB / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0298/0.6926, allocations: 9.025 MB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003075/0.6929, allocations: 23.86 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002308/0.6952, allocations: 256 kB / 1.236 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002379/0.6955, allocations: 183.9 kB / 1.236 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/0.7128, allocations: 7.449 MB / 1.244 GB, free: 5.359 MB / 0.9981 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.8214/1.534, allocations: 35.91 MB / 1.279 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008763/1.543, allocations: 4.274 MB / 1.283 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005949/1.549, allocations: 3.312 MB / 1.286 GB, free: 143 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/1.55, allocations: 0.9585 MB / 1.287 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005464/1.556, allocations: 2.38 MB / 1.289 GB, free: 141.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004516/1.561, allocations: 443.5 kB / 1.29 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 2.335e-05/1.561, allocations: 0 / 1.29 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01577/1.576, allocations: 7.108 MB / 1.297 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/1.576, allocations: 88.56 kB / 1.297 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/1.587, allocations: 5.464 MB / 1.302 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001078/1.589, allocations: 87.67 kB / 1.302 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003419/1.592, allocations: 3.193 MB / 1.305 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002088/1.594, allocations: 1.123 MB / 1.307 GB, free: 132 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001574/1.596, allocations: 0.8532 MB / 1.307 GB, free: 131.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.976e-05/1.596, allocations: 308.2 kB / 1.308 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/1.599, allocations: 2.156 MB / 1.31 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/1.603, allocations: 3.683 MB / 1.313 GB, free: 126.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007701/1.61, allocations: 6.301 MB / 1.32 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.209e-05/1.611, allocations: 14.78 kB / 1.32 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01225/1.623, allocations: 6.762 MB / 1.326 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/1.623, allocations: 51.77 kB / 1.326 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.169e-05/1.623, allocations: 48.59 kB / 1.326 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/1.624, allocations: 432 kB / 1.327 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0037/1.628, allocations: 1.005 MB / 1.328 GB, free: 117.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004701/1.633, allocations: 5.269 MB / 1.333 GB, free: 112.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006666/1.639, allocations: 474.6 kB / 1.333 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/1.64, allocations: 215.6 kB / 1.333 GB, free: 111.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * 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 (540): * Single equations (assignments): 537 * 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.005972/1.646, allocations: 2.481 MB / 1.336 GB, free: 109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002372/1.649, allocations: 0.5249 MB / 1.336 GB, free: 108.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.66, allocations: 5.247 MB / 1.341 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/1.66, allocations: 35.98 kB / 1.342 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/1.66, allocations: 4 kB / 1.342 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006382/1.666, allocations: 4.521 MB / 1.346 GB, free: 98.54 MB / 0.9981 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.02491/1.691, allocations: 11.96 MB / 1.358 GB, free: 86.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.691, allocations: 4 kB / 1.358 GB, free: 86.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/1.694, allocations: 0.6397 MB / 1.358 GB, free: 85.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008207/1.695, allocations: 373.3 kB / 1.359 GB, free: 85.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003844/1.695, allocations: 83.95 kB / 1.359 GB, free: 85.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/1.699, allocations: 5.185 MB / 1.364 GB, free: 79.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.699, allocations: 0 / 1.364 GB, free: 79.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.711, allocations: 7.613 MB / 1.371 GB, free: 72.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003647/1.714, allocations: 1.136 MB / 1.372 GB, free: 71.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001626/1.716, allocations: 67.98 kB / 1.372 GB, free: 71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005687/1.722, allocations: 469.2 kB / 1.373 GB, free: 70.55 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005694/1.722, allocations: 198.1 kB / 1.373 GB, free: 70.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005177/1.723, allocations: 143.9 kB / 1.373 GB, free: 70.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00769/1.731, allocations: 3.803 MB / 1.377 GB, free: 66.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.731, allocations: 0 / 1.377 GB, free: 66.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0087/1.739, allocations: 1.994 MB / 1.379 GB, free: 64.45 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (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,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 (296): * Single equations (assignments): 289 * 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.001663/1.741, allocations: 478.6 kB / 1.379 GB, free: 64.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007907/1.749, allocations: 5.37 MB / 1.384 GB, free: 58.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.749, allocations: 4 kB / 1.384 GB, free: 58.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003271/1.752, allocations: 2.507 MB / 1.387 GB, free: 56.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01536/1.768, allocations: 3.225 MB / 1.39 GB, free: 52.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02348/1.791, allocations: 16.45 MB / 1.406 GB, free: 36.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005669/1.797, allocations: 4.628 MB / 1.411 GB, free: 31.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.007829/1.805, allocations: 1.987 MB / 1.413 GB, free: 29.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/1.807, allocations: 459.2 kB / 1.413 GB, free: 29.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.383e-06/1.807, allocations: 0 / 1.413 GB, free: 29.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.186/1.993, allocations: 115.9 MB / 1.526 GB, free: 10.33 MB / 1.092 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)