Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0007173/0.0007173, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0007274/0.0007273, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.155/1.155, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8609/0.8609, allocations: 143.2 MB / 434.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 15.98 kB / 0.5158 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 83.4 MB / 0.5972 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.261/0.3867, allocations: 51.53 MB / 0.6476 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01494/0.4017, allocations: 16.83 MB / 0.664 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.4036, allocations: 64.66 kB / 0.6641 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.405, allocations: 0.6291 MB / 0.6647 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.4094, allocations: 1.989 MB / 0.6666 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.4121, allocations: 1.086 MB / 0.6677 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02152/0.4337, allocations: 23.62 MB / 0.6907 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009299/0.443, allocations: 7.146 MB / 0.6977 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009931/0.4529, allocations: 5.293 MB / 0.7029 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00958/0.4626, allocations: 5.487 MB / 0.7082 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.4636, allocations: 344 kB / 0.7086 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003827/0.4674, allocations: 0.7841 MB / 0.7093 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.4689, allocations: 1.525 MB / 0.7108 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003155/0.472, allocations: 1.615 MB / 0.7124 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.4821, allocations: 10.98 MB / 0.7231 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4821, allocations: 3.984 kB / 0.7231 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4821, allocations: 0 / 0.7231 GB, free: 11.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002358/0.4824, allocations: 0 / 0.7231 GB, free: 11.5 MB / 0.545 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.01088/0.4933, allocations: 6.97 MB / 0.7299 GB, free: 4.438 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.4933, allocations: 12.03 kB / 0.7299 GB, free: 4.426 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.4953, allocations: 0.8538 MB / 0.7308 GB, free: 3.562 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008792/0.5041, allocations: 6.483 MB / 0.7371 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.5044, allocations: 456.2 kB / 0.7375 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007538/0.5051, allocations: 0.6053 MB / 0.7381 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.5175, allocations: 8.978 MB / 0.7469 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.942e-05/0.5176, allocations: 23.75 kB / 0.7469 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005102/0.5182, allocations: 275.9 kB / 0.7472 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.5183, allocations: 176 kB / 0.7474 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.5288, allocations: 7.41 MB / 0.7546 GB, free: 10.79 MB / 0.5762 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.03648/0.5653, allocations: 35.98 MB / 0.7897 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005404/0.5707, allocations: 4.274 MB / 0.7939 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00408/0.5748, allocations: 3.382 MB / 0.7972 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.5759, allocations: 0.9857 MB / 0.7982 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003228/0.5792, allocations: 2.379 MB / 0.8005 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001959/0.5811, allocations: 447.8 kB / 0.8009 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 4.058e-06/0.5811, allocations: 0 / 0.8009 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01056/0.5917, allocations: 7.094 MB / 0.8078 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.5918, allocations: 81.91 kB / 0.8079 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006288/0.5981, allocations: 5.42 MB / 0.8132 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002124/0.5983, allocations: 85.7 kB / 0.8133 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002494/0.6008, allocations: 3.2 MB / 0.8164 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009313/0.6017, allocations: 1.113 MB / 0.8175 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.6019, allocations: 95.94 kB / 0.8176 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002375/0.6022, allocations: 491.6 kB / 0.8181 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/0.605, allocations: 2.14 MB / 0.8202 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003684/0.6087, allocations: 3.674 MB / 0.8238 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003575/0.6123, allocations: 2.904 MB / 0.8266 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/0.6123, allocations: 16 kB / 0.8266 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009123/0.6215, allocations: 6.718 MB / 0.8332 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.6215, allocations: 61.72 kB / 0.8332 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-05/0.6216, allocations: 48 kB / 0.8333 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008396/0.6224, allocations: 442.5 kB / 0.8337 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/0.6255, allocations: 1.01 MB / 0.8347 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/0.6303, allocations: 5.241 MB / 0.8398 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/0.634, allocations: 478.9 kB / 0.8403 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/0.6343, allocations: 219.9 kB / 0.8405 GB, free: 15.37 MB / 0.67 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003441/0.6377, allocations: 2.475 MB / 0.8429 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007236/0.6384, allocations: 0.5327 MB / 0.8434 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007415/0.6459, allocations: 5.248 MB / 0.8485 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/0.6459, allocations: 32 kB / 0.8486 GB, free: 7.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.6459, allocations: 4 kB / 0.8486 GB, free: 7.016 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005735/0.6517, allocations: 4.512 MB / 0.853 GB, free: 2.398 MB / 0.67 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.2481/0.8997, allocations: 11.97 MB / 0.8647 GB, free: 189 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.8998, allocations: 2.875 kB / 0.8647 GB, free: 189 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/0.902, allocations: 0.6551 MB / 0.8653 GB, free: 189 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006187/0.9026, allocations: 370 kB / 0.8657 GB, free: 189 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.9028, allocations: 83 kB / 0.8657 GB, free: 189 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/0.9064, allocations: 5.172 MB / 0.8708 GB, free: 185.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.9064, allocations: 0 / 0.8708 GB, free: 185.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008107/0.9145, allocations: 7.6 MB / 0.8782 GB, free: 182.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002/0.9165, allocations: 1.222 MB / 0.8794 GB, free: 182.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005421/0.917, allocations: 70.44 kB / 0.8795 GB, free: 182.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/0.9197, allocations: 473 kB / 0.8799 GB, free: 182.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.9199, allocations: 199.4 kB / 0.8801 GB, free: 182.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/0.9202, allocations: 137.2 kB / 0.8802 GB, free: 182.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004172/0.9243, allocations: 3.768 MB / 0.8839 GB, free: 180.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.82e-07/0.9243, allocations: 0 / 0.8839 GB, free: 180.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004448/0.9288, allocations: 1.981 MB / 0.8858 GB, free: 180.6 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008235/0.9296, allocations: 489.5 kB / 0.8863 GB, free: 180.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006402/0.936, allocations: 5.352 MB / 0.8915 GB, free: 178.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.9361, allocations: 2.75 kB / 0.8915 GB, free: 178.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002748/0.9388, allocations: 2.504 MB / 0.894 GB, free: 177.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/0.9499, allocations: 3.232 MB / 0.8971 GB, free: 176.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/0.97, allocations: 16.14 MB / 0.9129 GB, free: 168.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005154/0.9752, allocations: 4.634 MB / 0.9174 GB, free: 167 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00603/0.9812, allocations: 2 MB / 0.9194 GB, free: 166.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/0.9826, allocations: 452.6 kB / 0.9198 GB, free: 166.7 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.9826, allocations: 0 / 0.9198 GB, free: 166.7 MB / 0.67 GB Notification: Performance of Templates: time 0.1203/1.103, allocations: 112.4 MB / 1.03 GB, free: 66.63 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)