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.00125/0.00125, allocations: 104.8 kB / 16.35 MB, free: 6.348 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.001302/0.001302, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.392/1.392, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.761/1.761, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001555/0.001555, allocations: 70.25 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2444, allocations: 114.5 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.5441/0.7885, allocations: 56 MB / 0.8394 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02803/0.8166, allocations: 17.87 MB / 0.8569 GB, free: 15.83 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005152/0.8218, allocations: 75.34 kB / 0.857 GB, free: 15.8 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003808/0.8257, allocations: 0.8992 MB / 0.8578 GB, free: 15.23 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.8366, allocations: 2.479 MB / 0.8603 GB, free: 13.74 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005618/0.8422, allocations: 1.52 MB / 0.8618 GB, free: 12.89 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02816/0.8704, allocations: 21.13 MB / 0.8824 GB, free: 1.609 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01959/0.89, allocations: 10.69 MB / 0.8928 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01848/0.9086, allocations: 7.156 MB / 0.8998 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/0.9199, allocations: 6.37 MB / 0.906 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003872/0.9238, allocations: 0.9375 MB / 0.9069 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00961/0.9334, allocations: 1.694 MB / 0.9086 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.005392/0.9388, allocations: 2.345 MB / 0.9109 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01281/0.9517, allocations: 4.688 MB / 0.9155 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02597/0.9777, allocations: 13.13 MB / 0.9283 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.9778, allocations: 0 / 0.9283 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.507e-06/0.9778, allocations: 0 / 0.9283 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006962/0.9785, allocations: 0 / 0.9283 GB, free: 7.473 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.03044/1.009, allocations: 8.459 MB / 0.9366 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/1.009, allocations: 12.03 kB / 0.9366 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/1.015, allocations: 0.847 MB / 0.9374 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01684/1.031, allocations: 6.305 MB / 0.9436 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005705/1.032, allocations: 464.4 kB / 0.944 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002836/1.035, allocations: 0.5975 MB / 0.9446 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02694/1.062, allocations: 9.025 MB / 0.9534 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000376/1.062, allocations: 19.86 kB / 0.9534 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002639/1.065, allocations: 256 kB / 0.9537 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002385/1.065, allocations: 179.9 kB / 0.9538 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01987/1.085, allocations: 7.449 MB / 0.9611 GB, free: 5.387 MB / 0.7481 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.06538/1.151, allocations: 35.97 MB / 0.9962 GB, free: 15.35 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007008/1.158, allocations: 4.28 MB / 1 GB, free: 11.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005376/1.163, allocations: 3.317 MB / 1.004 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/1.164, allocations: 0.9543 MB / 1.005 GB, free: 6.598 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004442/1.169, allocations: 2.39 MB / 1.007 GB, free: 4.172 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002661/1.172, allocations: 379.8 kB / 1.007 GB, free: 3.797 MB / 0.795 GB Notification: Performance of pre-optimization done (n=317): time 1.301e-05/1.172, allocations: 0 / 1.007 GB, free: 3.797 MB / 0.795 GB Notification: Performance of matching and sorting (n=317): time 0.01378/1.185, allocations: 7.121 MB / 1.014 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/1.185, allocations: 85.91 kB / 1.014 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009618/1.195, allocations: 5.576 MB / 1.02 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0009867/1.196, allocations: 89.7 kB / 1.02 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.003652/1.2, allocations: 3.168 MB / 1.023 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001929/1.202, allocations: 1.125 MB / 1.024 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/1.203, allocations: 0.8541 MB / 1.025 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.203, allocations: 309 kB / 1.025 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/1.207, allocations: 2.163 MB / 1.027 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00474/1.212, allocations: 3.693 MB / 1.031 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00881/1.22, allocations: 6.319 MB / 1.037 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.032e-05/1.221, allocations: 16 kB / 1.037 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01335/1.234, allocations: 6.768 MB / 1.044 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.234, allocations: 53.7 kB / 1.044 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-05/1.234, allocations: 48 kB / 1.044 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/1.235, allocations: 430.1 kB / 1.044 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003906/1.239, allocations: 1.01 MB / 1.045 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006563/1.246, allocations: 5.701 MB / 1.051 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005311/1.251, allocations: 284.6 kB / 1.051 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007754/1.252, allocations: 216 kB / 1.051 GB, free: 4.887 MB / 0.8419 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.005082/1.257, allocations: 2.464 MB / 1.054 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00186/1.259, allocations: 0.5249 MB / 1.054 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009285/1.268, allocations: 5.254 MB / 1.059 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/1.268, allocations: 35.98 kB / 1.059 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.268, allocations: 7.984 kB / 1.059 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006854/1.275, allocations: 4.528 MB / 1.064 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02515/1.3, allocations: 11.95 MB / 1.075 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.3, allocations: 0 / 1.075 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/1.303, allocations: 0.6438 MB / 1.076 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009091/1.304, allocations: 374.6 kB / 1.076 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003905/1.305, allocations: 80.14 kB / 1.076 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005845/1.311, allocations: 5.629 MB / 1.082 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.311, allocations: 0 / 1.082 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/1.323, allocations: 7.764 MB / 1.09 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004352/1.328, allocations: 1.155 MB / 1.091 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00141/1.329, allocations: 71.86 kB / 1.091 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003817/1.333, allocations: 193.4 kB / 1.091 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006647/1.334, allocations: 198.2 kB / 1.091 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004599/1.334, allocations: 143.9 kB / 1.091 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.007789/1.342, allocations: 3.894 MB / 1.095 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.1e-07/1.342, allocations: 0 / 1.095 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.008819/1.351, allocations: 2.007 MB / 1.097 GB, free: 5.273 MB / 0.8887 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.001578/1.352, allocations: 491.3 kB / 1.097 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.009111/1.361, allocations: 5.452 MB / 1.103 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.362, allocations: 0 / 1.103 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003872/1.365, allocations: 2.549 MB / 1.105 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01586/1.381, allocations: 3.402 MB / 1.109 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02624/1.408, allocations: 13.77 MB / 1.122 GB, free: 11.62 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005216/1.413, allocations: 4.603 MB / 1.127 GB, free: 6.977 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.007043/1.42, allocations: 2.047 MB / 1.129 GB, free: 4.938 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/1.422, allocations: 463.2 kB / 1.129 GB, free: 4.484 MB / 0.92 GB Notification: Performance of SimCode: time 1.223e-06/1.422, allocations: 0 / 1.129 GB, free: 4.484 MB / 0.92 GB Notification: Performance of Templates: time 0.5459/1.968, allocations: 114.8 MB / 1.241 GB, free: 223.2 MB / 0.92 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)