Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001493/0.001493, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 188 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.808/1.808, allocations: 292.3 MB / 0.5489 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.45 kB / 0.6722 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2854, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0599/0.3453, allocations: 56 MB / 0.8388 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03151/0.3769, allocations: 17.87 MB / 0.8563 GB, free: 2.59 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0044/0.3814, allocations: 75.56 kB / 0.8563 GB, free: 2.516 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003763/0.3852, allocations: 0.9002 MB / 0.8572 GB, free: 1.609 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009413/0.3947, allocations: 2.479 MB / 0.8596 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004938/0.3996, allocations: 1.509 MB / 0.8611 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0229/0.4225, allocations: 21.12 MB / 0.8817 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01534/0.4379, allocations: 10.68 MB / 0.8922 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01976/0.4578, allocations: 7.164 MB / 0.8992 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01366/0.4714, allocations: 6.362 MB / 0.9054 GB, free: 104 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.5377/1.009, allocations: 0.9403 MB / 0.9063 GB, free: 28.78 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008642/1.018, allocations: 1.69 MB / 0.9079 GB, free: 28.78 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005125/1.023, allocations: 2.339 MB / 0.9102 GB, free: 28.78 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01277/1.036, allocations: 4.688 MB / 0.9148 GB, free: 28.4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02088/1.057, allocations: 13.13 MB / 0.9276 GB, free: 27.05 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/1.057, allocations: 2.625 kB / 0.9276 GB, free: 27.05 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/1.057, allocations: 0 / 0.9276 GB, free: 27.05 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006845/1.058, allocations: 0 / 0.9276 GB, free: 27.05 MB / 0.7169 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.03444/1.092, allocations: 8.459 MB / 0.9359 GB, free: 24.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.054e-05/1.092, allocations: 10.31 kB / 0.9359 GB, free: 24.1 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008639/1.101, allocations: 0.85 MB / 0.9367 GB, free: 23.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/1.121, allocations: 6.562 MB / 0.9431 GB, free: 22.74 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006575/1.122, allocations: 457 kB / 0.9436 GB, free: 22.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004789/1.126, allocations: 0.6012 MB / 0.9442 GB, free: 22.72 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03288/1.159, allocations: 9.025 MB / 0.953 GB, free: 21.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002814/1.16, allocations: 24.75 kB / 0.953 GB, free: 21.74 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003293/1.163, allocations: 261.7 kB / 0.9532 GB, free: 21.74 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002516/1.163, allocations: 176.4 kB / 0.9534 GB, free: 21.74 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/1.188, allocations: 7.451 MB / 0.9607 GB, free: 20.42 MB / 0.7169 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.07305/1.261, allocations: 35.97 MB / 0.9958 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008452/1.27, allocations: 4.286 MB / 1 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005792/1.275, allocations: 3.307 MB / 1.003 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.277, allocations: 0.9588 MB / 1.004 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005592/1.283, allocations: 2.387 MB / 1.006 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004243/1.287, allocations: 362.8 kB / 1.007 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 1.966e-05/1.287, allocations: 0 / 1.007 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01767/1.305, allocations: 7.137 MB / 1.014 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/1.305, allocations: 89.91 kB / 1.014 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01543/1.32, allocations: 5.572 MB / 1.019 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001353/1.322, allocations: 85.7 kB / 1.019 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.004738/1.326, allocations: 3.171 MB / 1.023 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002553/1.329, allocations: 1.118 MB / 1.024 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00377/1.333, allocations: 0.8617 MB / 1.024 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.333, allocations: 309.1 kB / 1.025 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004585/1.338, allocations: 2.163 MB / 1.027 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005447/1.343, allocations: 3.689 MB / 1.03 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.353, allocations: 6.324 MB / 1.037 GB, free: 4.238 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.63e-05/1.354, allocations: 16 kB / 1.037 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01563/1.369, allocations: 6.769 MB / 1.043 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.639e-05/1.369, allocations: 54.8 kB / 1.043 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.633e-05/1.369, allocations: 48 kB / 1.043 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/1.371, allocations: 440.9 kB / 1.044 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004521/1.375, allocations: 1.001 MB / 1.045 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006697/1.382, allocations: 5.702 MB / 1.05 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006947/1.389, allocations: 287.5 kB / 1.051 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001465/1.39, allocations: 212 kB / 1.051 GB, free: 5.824 MB / 0.7794 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.01056/1.401, allocations: 2.458 MB / 1.053 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004145/1.405, allocations: 0.5204 MB / 1.054 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/1.419, allocations: 5.254 MB / 1.059 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/1.419, allocations: 32 kB / 1.059 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/1.419, allocations: 4 kB / 1.059 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008001/1.427, allocations: 4.539 MB / 1.063 GB, free: 8.941 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03118/1.458, allocations: 11.95 MB / 1.075 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/1.458, allocations: 11.73 kB / 1.075 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003242/1.461, allocations: 0.6423 MB / 1.076 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009684/1.462, allocations: 372.4 kB / 1.076 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004795/1.463, allocations: 83.95 kB / 1.076 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005935/1.469, allocations: 5.614 MB / 1.082 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.469, allocations: 0 / 1.082 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/1.484, allocations: 7.764 MB / 1.089 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004521/1.488, allocations: 1.147 MB / 1.09 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002668/1.491, allocations: 71.98 kB / 1.09 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005438/1.496, allocations: 193.9 kB / 1.09 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006489/1.497, allocations: 202.2 kB / 1.091 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000661/1.498, allocations: 135.9 kB / 1.091 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.009869/1.507, allocations: 3.905 MB / 1.095 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.8e-07/1.508, allocations: 0 / 1.095 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01164/1.519, allocations: 2.007 MB / 1.097 GB, free: 6.547 MB / 0.8262 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.002266/1.521, allocations: 0.494 MB / 1.097 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.533, allocations: 5.441 MB / 1.102 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/1.533, allocations: 4 kB / 1.102 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004759/1.537, allocations: 2.545 MB / 1.105 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02093/1.558, allocations: 3.392 MB / 1.108 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/1.592, allocations: 13.8 MB / 1.122 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0047/1.597, allocations: 4.602 MB / 1.126 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.007168/1.604, allocations: 2.041 MB / 1.128 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/1.606, allocations: 462.7 kB / 1.129 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of SimCode: time 1.293e-06/1.606, allocations: 0 / 1.129 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of Templates: time 0.198/1.804, allocations: 114.8 MB / 1.241 GB, free: 4.793 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)