Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 80.75 kB / 20.82 MB, free: 3.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 165 kB / 24.25 MB, free: 212 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8933/0.8933, allocations: 177.2 MB / 204.7 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.895/1.895, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7754 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.112e-05, allocations: 5.547 kB / 0.7754 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.012/0.01202, allocations: 16.44 MB / 0.7914 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009056/0.02107, allocations: 6.158 MB / 0.7974 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.02228, allocations: 99.19 kB / 0.7975 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009126/0.0232, allocations: 0.5398 MB / 0.7981 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.02584, allocations: 1.801 MB / 0.7998 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.02779, allocations: 1.449 MB / 0.8012 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01312/0.04091, allocations: 21.79 MB / 0.8225 GB, free: 5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008324/0.04923, allocations: 7.344 MB / 0.8297 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01531/0.06454, allocations: 10.03 MB / 0.8395 GB, free: 3.711 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00915/0.07369, allocations: 6.212 MB / 0.8455 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.0754, allocations: 0.9219 MB / 0.8464 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.07899, allocations: 1.199 MB / 0.8476 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.08073, allocations: 2.481 MB / 0.85 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.004349/0.08508, allocations: 3.341 MB / 0.8533 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006599/0.09167, allocations: 7.966 MB / 0.8611 GB, free: 13.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.09168, allocations: 1.312 kB / 0.8611 GB, free: 13.54 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.213e-06/0.09168, allocations: 0 / 0.8611 GB, free: 13.54 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.937e-05/0.09176, allocations: 0 / 0.8611 GB, free: 13.54 MB / 0.823 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.006873/0.09863, allocations: 7.724 MB / 0.8686 GB, free: 5.762 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.09867, allocations: 13.34 kB / 0.8686 GB, free: 5.75 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.1005, allocations: 1.272 MB / 0.8699 GB, free: 4.48 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004263/0.1047, allocations: 3.794 MB / 0.8736 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.1049, allocations: 464.6 kB / 0.874 GB, free: 160 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005507/0.1055, allocations: 0.6213 MB / 0.8746 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004986/0.1105, allocations: 6.031 MB / 0.8805 GB, free: 8.918 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-05/0.1105, allocations: 19.86 kB / 0.8805 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003624/0.1109, allocations: 263.9 kB / 0.8808 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.111, allocations: 180 kB / 0.881 GB, free: 8.465 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.1135, allocations: 2.095 MB / 0.883 GB, free: 6.359 MB / 0.8386 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.01651/0.13, allocations: 19 MB / 0.9016 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.1315, allocations: 1.575 MB / 0.9031 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.1327, allocations: 1.218 MB / 0.9043 GB, free: 92 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.1331, allocations: 162.3 kB / 0.9044 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.1344, allocations: 2.083 MB / 0.9065 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001066/0.1355, allocations: 333.6 kB / 0.9068 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=317): time 6.052e-06/0.1355, allocations: 3.984 kB / 0.9068 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of matching and sorting (n=317): time 0.003078/0.1386, allocations: 2.199 MB / 0.909 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.1386, allocations: 85.91 kB / 0.909 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.1414, allocations: 3.666 MB / 0.9126 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.1415, allocations: 93.64 kB / 0.9127 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.1427, allocations: 2.539 MB / 0.9152 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005876/0.1432, allocations: 1.154 MB / 0.9163 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000712/0.144, allocations: 0.7879 MB / 0.9171 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.144, allocations: 301.1 kB / 0.9174 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006761/0.1447, allocations: 0.5826 MB / 0.9179 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.146, allocations: 2.093 MB / 0.92 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.1483, allocations: 3.038 MB / 0.9229 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/0.1483, allocations: 16 kB / 0.923 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.002852/0.1511, allocations: 2.828 MB / 0.9257 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.1512, allocations: 53.7 kB / 0.9258 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.1512, allocations: 48 kB / 0.9258 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009042/0.1521, allocations: 379.9 kB / 0.9262 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.154, allocations: 1.006 MB / 0.9272 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.1563, allocations: 3.687 MB / 0.9308 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.1579, allocations: 187.6 kB / 0.9309 GB, free: 2.695 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.1581, allocations: 176 kB / 0.9311 GB, free: 2.523 MB / 0.8855 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.001116/0.1592, allocations: 419.1 kB / 0.9315 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/0.1597, allocations: 395.5 kB / 0.9319 GB, free: 1.715 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.162, allocations: 1.936 MB / 0.9338 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.162, allocations: 35.98 kB / 0.9338 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.162, allocations: 4 kB / 0.9338 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001375/0.1634, allocations: 1.362 MB / 0.9351 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006378/0.1698, allocations: 5.24 MB / 0.9403 GB, free: 8.906 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.1698, allocations: 0 / 0.9403 GB, free: 8.906 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.1712, allocations: 0.636 MB / 0.9409 GB, free: 8.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008011/0.172, allocations: 312.1 kB / 0.9412 GB, free: 7.961 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.1721, allocations: 79.95 kB / 0.9413 GB, free: 7.883 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.1743, allocations: 3.594 MB / 0.9448 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1743, allocations: 0 / 0.9448 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.1771, allocations: 2.47 MB / 0.9472 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.1781, allocations: 0.6126 MB / 0.9478 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/0.1784, allocations: 75.98 kB / 0.9479 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.1795, allocations: 112.1 kB / 0.948 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.1798, allocations: 202.1 kB / 0.9481 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.1799, allocations: 99.83 kB / 0.9482 GB, free: 472 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001639/0.1816, allocations: 1.866 MB / 0.9501 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.2e-07/0.1816, allocations: 0 / 0.9501 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004292/0.1859, allocations: 2.011 MB / 0.952 GB, free: 12.58 MB / 0.9167 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.000597/0.1865, allocations: 271.5 kB / 0.9523 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003127/0.1896, allocations: 2.37 MB / 0.9546 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.537e-05/0.1897, allocations: 59.84 kB / 0.9547 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.1907, allocations: 1.163 MB / 0.9558 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005021/0.1957, allocations: 2.776 MB / 0.9585 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.2069, allocations: 10.32 MB / 0.9686 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.208, allocations: 1.411 MB / 0.97 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002226/0.2102, allocations: 0.8818 MB / 0.9708 GB, free: 9.156 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003397/0.2136, allocations: 1.719 MB / 0.9725 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of SimCode: time 1.914e-06/0.2136, allocations: 0 / 0.9725 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of Templates: time 0.4496/0.6632, allocations: 108.1 MB / 1.078 GB, free: 253.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.573126893490553]