Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.201/2.201, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 199.4 kB / 499.1 MB, free: 4.664 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 0.7948 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 99.75 kB / 0.9329 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 50.91 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2987, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04182/0.3405, allocations: 55.64 MB / 1.272 GB, free: 61.36 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02017/0.3608, allocations: 17.93 MB / 1.29 GB, free: 43.39 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003618/0.3645, allocations: 71.56 kB / 1.29 GB, free: 43.32 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.3676, allocations: 0.7302 MB / 1.291 GB, free: 42.58 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007365/0.375, allocations: 2.321 MB / 1.293 GB, free: 40.25 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004039/0.3791, allocations: 1.378 MB / 1.294 GB, free: 38.88 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01976/0.3989, allocations: 27.92 MB / 1.322 GB, free: 10.89 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009918/0.4088, allocations: 8.701 MB / 1.33 GB, free: 2.066 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/0.421, allocations: 5.576 MB / 1.336 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0121/0.4331, allocations: 6.181 MB / 1.342 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.003115/0.4363, allocations: 476 kB / 1.342 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007189/0.4435, allocations: 1.158 MB / 1.343 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00393/0.4475, allocations: 1.79 MB / 1.345 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.01082/0.4583, allocations: 4.114 MB / 1.349 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.4756, allocations: 12.64 MB / 1.361 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.4756, allocations: 4 kB / 1.361 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.387e-06/0.4757, allocations: 0 / 1.361 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005052/0.4762, allocations: 3.938 kB / 1.361 GB, free: 2.023 MB / 0.8542 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.02408/0.5003, allocations: 8.499 MB / 1.37 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5003, allocations: 11.98 kB / 1.37 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/0.505, allocations: 0.8586 MB / 1.37 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/0.5193, allocations: 6.614 MB / 1.377 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/0.5198, allocations: 464.4 kB / 1.377 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.5219, allocations: 0.5975 MB / 1.378 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01987/0.5418, allocations: 9.021 MB / 1.387 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/0.542, allocations: 15.88 kB / 1.387 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008813/0.5428, allocations: 260 kB / 1.387 GB, free: 7.207 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.543, allocations: 179.9 kB / 1.387 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.558, allocations: 7.449 MB / 1.394 GB, free: 15.57 MB / 0.9011 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 1.101/1.659, allocations: 35.92 MB / 1.43 GB, free: 173.9 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007809/1.667, allocations: 4.28 MB / 1.434 GB, free: 173.8 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005515/1.673, allocations: 3.31 MB / 1.437 GB, free: 172.8 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.674, allocations: 0.9562 MB / 1.438 GB, free: 171.9 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0045/1.679, allocations: 2.39 MB / 1.44 GB, free: 171 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002936/1.682, allocations: 450 kB / 1.441 GB, free: 171 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=317): time 1.149e-05/1.682, allocations: 0 / 1.441 GB, free: 171 MB / 0.9168 GB Notification: Performance of matching and sorting (n=317): time 0.01425/1.696, allocations: 7.094 MB / 1.448 GB, free: 168.7 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/1.696, allocations: 89.66 kB / 1.448 GB, free: 168.6 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008697/1.705, allocations: 5.467 MB / 1.453 GB, free: 166.9 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.0007807/1.705, allocations: 87.14 kB / 1.453 GB, free: 166.8 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.0033/1.709, allocations: 3.194 MB / 1.456 GB, free: 164.5 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/1.71, allocations: 1.117 MB / 1.457 GB, free: 163.6 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/1.712, allocations: 0.8573 MB / 1.458 GB, free: 163.2 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 5.587e-05/1.712, allocations: 303.1 kB / 1.458 GB, free: 162.9 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/1.715, allocations: 2.151 MB / 1.46 GB, free: 162.2 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003453/1.719, allocations: 3.69 MB / 1.464 GB, free: 159.5 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006795/1.725, allocations: 6.3 MB / 1.47 GB, free: 155 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.256e-05/1.725, allocations: 11.25 kB / 1.47 GB, free: 155 MB / 0.9168 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01032/1.736, allocations: 6.751 MB / 1.477 GB, free: 150.9 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/1.736, allocations: 58.95 kB / 1.477 GB, free: 150.8 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.814e-05/1.736, allocations: 52.44 kB / 1.477 GB, free: 150.8 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008057/1.737, allocations: 431 kB / 1.477 GB, free: 150.4 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/1.74, allocations: 1.01 MB / 1.478 GB, free: 149.3 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004049/1.744, allocations: 5.266 MB / 1.483 GB, free: 143.8 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005632/1.75, allocations: 462.8 kB / 1.484 GB, free: 143.4 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007811/1.751, allocations: 220 kB / 1.484 GB, free: 143.2 MB / 0.9168 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.005108/1.756, allocations: 2.482 MB / 1.487 GB, free: 140.7 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/1.757, allocations: 0.5248 MB / 1.487 GB, free: 140.1 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007652/1.765, allocations: 5.251 MB / 1.492 GB, free: 134.8 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/1.765, allocations: 39.03 kB / 1.492 GB, free: 134.8 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.765, allocations: 4 kB / 1.492 GB, free: 134.8 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005358/1.77, allocations: 4.525 MB / 1.497 GB, free: 130.2 MB / 0.9168 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.02978/1.8, allocations: 11.95 MB / 1.508 GB, free: 118.1 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.8, allocations: 0 / 1.508 GB, free: 118.1 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.803, allocations: 0.6438 MB / 1.509 GB, free: 117.5 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007406/1.804, allocations: 369.8 kB / 1.509 GB, free: 117.1 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002682/1.804, allocations: 83.95 kB / 1.509 GB, free: 117 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004012/1.808, allocations: 5.184 MB / 1.514 GB, free: 111.6 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.808, allocations: 7.938 kB / 1.514 GB, free: 111.6 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0858/1.894, allocations: 47.44 MB / 1.561 GB, free: 63.63 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003454/1.897, allocations: 1.127 MB / 1.562 GB, free: 62.48 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/1.898, allocations: 71.92 kB / 1.562 GB, free: 62.41 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003959/1.902, allocations: 462.5 kB / 1.562 GB, free: 61.96 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/1.903, allocations: 198.2 kB / 1.563 GB, free: 61.76 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/1.903, allocations: 135.9 kB / 1.563 GB, free: 61.63 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.005168/1.908, allocations: 3.811 MB / 1.566 GB, free: 57.84 MB / 0.9168 GB Notification: Performance of sort global known variables: time 2.8e-07/1.908, allocations: 0 / 1.566 GB, free: 57.84 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.01185/1.92, allocations: 2.916 MB / 1.569 GB, free: 54.94 MB / 0.9168 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.001522/1.922, allocations: 488.9 kB / 1.57 GB, free: 54.51 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.007089/1.929, allocations: 5.37 MB / 1.575 GB, free: 49.09 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.929, allocations: 64 / 1.575 GB, free: 49.09 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.003036/1.932, allocations: 2.51 MB / 1.577 GB, free: 46.55 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01904/1.951, allocations: 3.225 MB / 1.581 GB, free: 43.42 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/1.976, allocations: 18.98 MB / 1.599 GB, free: 24.36 MB / 0.9168 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004338/1.981, allocations: 4.715 MB / 1.604 GB, free: 19.61 MB / 0.9168 GB Notification: Performance of simCode: alias equations: time 0.006884/1.988, allocations: 2.065 MB / 1.606 GB, free: 17.55 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002059/1.99, allocations: 491.3 kB / 1.606 GB, free: 17.07 MB / 0.9168 GB Notification: Performance of SimCode: time 6.92e-07/1.99, allocations: 0 / 1.606 GB, free: 17.07 MB / 0.9168 GB Notification: Performance of Templates: time 0.2124/2.202, allocations: 131.4 MB / 1.735 GB, free: 14.54 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)