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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.0009536/0.0009536, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001022/0.001022, allocations: 177.3 kB / 15.95 MB, free: 216 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.29/1.29, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9693/0.9693, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003062, allocations: 12 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1527, allocations: 83.41 MB / 0.5973 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2967/0.4494, allocations: 46.82 MB / 0.643 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.466, allocations: 15.56 MB / 0.6582 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.4686, allocations: 60.09 kB / 0.6583 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.4712, allocations: 0.8121 MB / 0.659 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006768/0.478, allocations: 2.167 MB / 0.6612 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005631/0.4836, allocations: 1.579 MB / 0.6627 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0156/0.4992, allocations: 11.44 MB / 0.6739 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01147/0.5108, allocations: 7.158 MB / 0.6809 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01072/0.5215, allocations: 4.471 MB / 0.6852 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.5321, allocations: 3.851 MB / 0.689 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002754/0.5349, allocations: 347.2 kB / 0.6893 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007025/0.5419, allocations: 0.8441 MB / 0.6901 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003996/0.546, allocations: 1.463 MB / 0.6916 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005895/0.5519, allocations: 1.615 MB / 0.6931 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01506/0.567, allocations: 10.94 MB / 0.7038 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.567, allocations: 1.781 kB / 0.7038 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.085e-06/0.567, allocations: 0 / 0.7038 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005052/0.5675, allocations: 0 / 0.7038 GB, free: 13.98 MB / 0.5294 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.01942/0.587, allocations: 6.96 MB / 0.7106 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.587, allocations: 12.03 kB / 0.7106 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004315/0.5913, allocations: 0.8499 MB / 0.7115 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/0.6057, allocations: 6.063 MB / 0.7174 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/0.6062, allocations: 456.2 kB / 0.7178 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/0.608, allocations: 0.6015 MB / 0.7184 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.6278, allocations: 8.931 MB / 0.7271 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/0.6279, allocations: 23.78 kB / 0.7272 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007633/0.6287, allocations: 263.9 kB / 0.7274 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.6289, allocations: 183.9 kB / 0.7276 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.6418, allocations: 7.418 MB / 0.7348 GB, free: 14.67 MB / 0.5606 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.04691/0.6887, allocations: 36.25 MB / 0.7702 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006426/0.6952, allocations: 4.329 MB / 0.7745 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.6966, allocations: 0.9856 MB / 0.7754 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004215/0.7009, allocations: 2.386 MB / 0.7778 GB, free: 464 kB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003582/0.7045, allocations: 471.4 kB / 0.7782 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=317): time 7.064e-06/0.7045, allocations: 0 / 0.7782 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=317): time 0.01203/0.7165, allocations: 7.146 MB / 0.7852 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.7166, allocations: 89.89 kB / 0.7853 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008134/0.7248, allocations: 5.83 MB / 0.791 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005116/0.7253, allocations: 97.7 kB / 0.7911 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002849/0.7281, allocations: 3.196 MB / 0.7942 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001256/0.7294, allocations: 1.113 MB / 0.7953 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.7297, allocations: 92 kB / 0.7953 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002604/0.7299, allocations: 495.6 kB / 0.7958 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003163/0.7331, allocations: 2.16 MB / 0.7979 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004014/0.7371, allocations: 3.685 MB / 0.8015 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003941/0.7411, allocations: 2.92 MB / 0.8044 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.65e-05/0.7411, allocations: 12 kB / 0.8044 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01091/0.752, allocations: 6.775 MB / 0.811 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.889e-05/0.7521, allocations: 50.48 kB / 0.8111 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.885e-05/0.7522, allocations: 48 kB / 0.8111 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.7532, allocations: 442.9 kB / 0.8115 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/0.7572, allocations: 1.057 MB / 0.8126 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005575/0.7628, allocations: 5.318 MB / 0.8177 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00694/0.7697, allocations: 497.2 kB / 0.8182 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001423/0.7712, allocations: 212 kB / 0.8184 GB, free: 5.59 MB / 0.6387 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.006024/0.7773, allocations: 2.482 MB / 0.8208 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/0.7788, allocations: 0.5249 MB / 0.8214 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00847/0.7873, allocations: 5.288 MB / 0.8265 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-05/0.7873, allocations: 36.03 kB / 0.8266 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.7873, allocations: 7.938 kB / 0.8266 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006244/0.7936, allocations: 4.56 MB / 0.831 GB, free: 8.523 MB / 0.6544 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.02268/0.8163, allocations: 12.17 MB / 0.8429 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.8163, allocations: 7.953 kB / 0.8429 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/0.8191, allocations: 0.6243 MB / 0.8435 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008571/0.8199, allocations: 369.3 kB / 0.8439 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002681/0.8202, allocations: 83.95 kB / 0.844 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005251/0.8255, allocations: 5.239 MB / 0.8491 GB, free: 5.555 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8255, allocations: 0 / 0.8491 GB, free: 5.555 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2983/1.124, allocations: 7.772 MB / 0.8567 GB, free: 190.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004354/1.128, allocations: 1.31 MB / 0.8579 GB, free: 190.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001615/1.13, allocations: 69.97 kB / 0.858 GB, free: 190.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004823/1.135, allocations: 442.9 kB / 0.8584 GB, free: 190.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004914/1.135, allocations: 210.3 kB / 0.8586 GB, free: 190.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003682/1.136, allocations: 139.9 kB / 0.8588 GB, free: 190.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0073/1.143, allocations: 4.096 MB / 0.8628 GB, free: 190.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.41e-07/1.143, allocations: 2.516 kB / 0.8628 GB, free: 190.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008166/1.151, allocations: 1.996 MB / 0.8647 GB, free: 190.2 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.001413/1.153, allocations: 0.4897 MB / 0.8652 GB, free: 190.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007114/1.16, allocations: 5.399 MB / 0.8705 GB, free: 188.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.16, allocations: 3.719 kB / 0.8705 GB, free: 188.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003154/1.163, allocations: 2.515 MB / 0.8729 GB, free: 187.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01449/1.177, allocations: 3.173 MB / 0.876 GB, free: 187.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/1.204, allocations: 16.12 MB / 0.8918 GB, free: 179 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005098/1.209, allocations: 4.748 MB / 0.8964 GB, free: 177.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007094/1.216, allocations: 2.073 MB / 0.8984 GB, free: 177.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/1.217, allocations: 465.2 kB / 0.8989 GB, free: 177.1 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/1.217, allocations: 0 / 0.8989 GB, free: 177.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1471/1.365, allocations: 114.1 MB / 1.01 GB, free: 84.11 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: