Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001002/0.001002, allocations: 93.12 kB / 16.67 MB, free: 6.109 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.001156/0.001157, allocations: 179.2 kB / 17.57 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.717/0.717, allocations: 115.5 MB / 408.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003532, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4069, allocations: 77.52 MB / 0.5606 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04845/0.4554, allocations: 54.52 MB / 0.6138 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02564/0.4811, allocations: 17.74 MB / 0.6311 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003844/0.485, allocations: 67.56 kB / 0.6312 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003082/0.4881, allocations: 0.7186 MB / 0.6319 GB, free: 10.22 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008357/0.4965, allocations: 2.317 MB / 0.6342 GB, free: 7.891 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004572/0.5011, allocations: 1.392 MB / 0.6355 GB, free: 6.512 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02927/0.5304, allocations: 27.81 MB / 0.6627 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01233/0.5428, allocations: 8.421 MB / 0.6709 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01179/0.5546, allocations: 5.209 MB / 0.676 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01146/0.5661, allocations: 5.791 MB / 0.6816 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002353/0.5685, allocations: 344 kB / 0.682 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006195/0.5747, allocations: 1.033 MB / 0.683 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003302/0.578, allocations: 1.591 MB / 0.6845 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.009685/0.5877, allocations: 3.897 MB / 0.6883 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.014/0.6018, allocations: 10.38 MB / 0.6985 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.6019, allocations: 0 / 0.6985 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.627e-06/0.6019, allocations: 0 / 0.6985 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005072/0.6024, allocations: 0 / 0.6985 GB, free: 5.77 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.02062/0.623, allocations: 6.882 MB / 0.7052 GB, free: 14.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.6231, allocations: 11.97 kB / 0.7052 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005066/0.6282, allocations: 0.8625 MB / 0.7061 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.642, allocations: 6.611 MB / 0.7125 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004939/0.6425, allocations: 460.4 kB / 0.7129 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00226/0.6448, allocations: 0.5975 MB / 0.7135 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02379/0.6686, allocations: 9.04 MB / 0.7224 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003956/0.669, allocations: 19.78 kB / 0.7224 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002238/0.6713, allocations: 264 kB / 0.7226 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002556/0.6716, allocations: 180 kB / 0.7228 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/0.6907, allocations: 7.457 MB / 0.7301 GB, free: 4.914 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.6537/1.344, allocations: 35.97 MB / 0.7652 GB, free: 140.9 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007447/1.352, allocations: 4.293 MB / 0.7694 GB, free: 139.3 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005508/1.357, allocations: 3.329 MB / 0.7727 GB, free: 138.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.359, allocations: 0.9892 MB / 0.7736 GB, free: 137.3 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004405/1.363, allocations: 2.393 MB / 0.776 GB, free: 136.4 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003421/1.367, allocations: 441.9 kB / 0.7764 GB, free: 136.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=317): time 1.59e-05/1.367, allocations: 0.6875 kB / 0.7764 GB, free: 136.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=317): time 0.01542/1.382, allocations: 7.14 MB / 0.7834 GB, free: 134 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/1.382, allocations: 85.66 kB / 0.7834 GB, free: 133.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009489/1.392, allocations: 5.465 MB / 0.7888 GB, free: 132.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009517/1.393, allocations: 95.08 kB / 0.7889 GB, free: 132 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002824/1.396, allocations: 3.185 MB / 0.792 GB, free: 129.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001663/1.397, allocations: 1.127 MB / 0.7931 GB, free: 128.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005043/1.398, allocations: 367.1 kB / 0.7934 GB, free: 128.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 7.24e-05/1.398, allocations: 301.1 kB / 0.7937 GB, free: 128.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/1.401, allocations: 2.155 MB / 0.7958 GB, free: 127 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00377/1.404, allocations: 3.687 MB / 0.7994 GB, free: 123.9 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006695/1.411, allocations: 6.321 MB / 0.8056 GB, free: 119.5 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.59e-05/1.411, allocations: 18.16 kB / 0.8056 GB, free: 119.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009635/1.421, allocations: 6.761 MB / 0.8122 GB, free: 115 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/1.421, allocations: 57.7 kB / 0.8123 GB, free: 114.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.907e-05/1.421, allocations: 48 kB / 0.8123 GB, free: 114.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008705/1.422, allocations: 431.8 kB / 0.8127 GB, free: 114.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/1.425, allocations: 1.014 MB / 0.8137 GB, free: 113.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004329/1.429, allocations: 5.262 MB / 0.8189 GB, free: 107.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006071/1.436, allocations: 466.7 kB / 0.8193 GB, free: 107.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005711/1.436, allocations: 221.3 kB / 0.8195 GB, free: 107.3 MB / 0.5763 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.00513/1.441, allocations: 2.483 MB / 0.8219 GB, free: 104.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001826/1.443, allocations: 0.5286 MB / 0.8224 GB, free: 104.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00805/1.451, allocations: 5.254 MB / 0.8276 GB, free: 98.95 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/1.451, allocations: 36 kB / 0.8276 GB, free: 98.92 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.451, allocations: 4 kB / 0.8276 GB, free: 98.91 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005205/1.456, allocations: 4.538 MB / 0.832 GB, free: 94.27 MB / 0.5763 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.02009/1.477, allocations: 11.98 MB / 0.8437 GB, free: 82.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.477, allocations: 3.984 kB / 0.8438 GB, free: 82.18 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/1.479, allocations: 0.6515 MB / 0.8444 GB, free: 81.53 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000851/1.48, allocations: 382.5 kB / 0.8448 GB, free: 81.15 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00022/1.48, allocations: 83.95 kB / 0.8448 GB, free: 81.07 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004521/1.485, allocations: 5.181 MB / 0.8499 GB, free: 75.64 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.485, allocations: 11.94 kB / 0.8499 GB, free: 75.63 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009799/1.495, allocations: 7.628 MB / 0.8574 GB, free: 67.91 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003787/1.499, allocations: 1.221 MB / 0.8585 GB, free: 66.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/1.5, allocations: 63.98 kB / 0.8586 GB, free: 66.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004098/1.504, allocations: 470.1 kB / 0.8591 GB, free: 66.15 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/1.504, allocations: 202.2 kB / 0.8592 GB, free: 65.95 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002688/1.505, allocations: 143.8 kB / 0.8594 GB, free: 65.81 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005052/1.51, allocations: 3.807 MB / 0.8631 GB, free: 62.02 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.6e-07/1.51, allocations: 0 / 0.8631 GB, free: 62.02 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006774/1.516, allocations: 1.99 MB / 0.865 GB, free: 60.05 MB / 0.5763 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.001292/1.518, allocations: 485.7 kB / 0.8655 GB, free: 59.62 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.007192/1.525, allocations: 5.378 MB / 0.8708 GB, free: 54.19 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.525, allocations: 7.938 kB / 0.8708 GB, free: 54.18 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002976/1.528, allocations: 2.507 MB / 0.8732 GB, free: 51.64 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01868/1.547, allocations: 3.231 MB / 0.8764 GB, free: 48.51 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/1.572, allocations: 16.73 MB / 0.8927 GB, free: 31.73 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/1.575, allocations: 4.553 MB / 0.8972 GB, free: 27.14 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/1.577, allocations: 487.2 kB / 0.8976 GB, free: 26.66 MB / 0.5763 GB Notification: Performance of SimCode: time 7.01e-07/1.577, allocations: 0 / 0.8976 GB, free: 26.66 MB / 0.5763 GB Notification: Performance of Templates: time 0.5829/2.16, allocations: 184.9 MB / 1.078 GB, free: 173.6 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)