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.001054/0.001054, allocations: 110 kB / 17.04 MB, free: 6.074 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.001015/0.001015, allocations: 196 kB / 17.98 MB, free: 5.16 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.264/1.264, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6912/0.6912, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3501, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04482/0.395, allocations: 55.98 MB / 0.6122 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02384/0.4189, allocations: 17.94 MB / 0.6298 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004015/0.423, allocations: 75.56 kB / 0.6298 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002499/0.4255, allocations: 0.9002 MB / 0.6307 GB, free: 9.516 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006441/0.4319, allocations: 2.503 MB / 0.6331 GB, free: 7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.4353, allocations: 1.531 MB / 0.6346 GB, free: 5.48 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01868/0.454, allocations: 21.26 MB / 0.6554 GB, free: 180 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.4655, allocations: 10.7 MB / 0.6658 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01215/0.4777, allocations: 7.155 MB / 0.6728 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009452/0.4872, allocations: 6.362 MB / 0.679 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00203/0.4893, allocations: 0.9375 MB / 0.68 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/0.4942, allocations: 1.709 MB / 0.6816 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002311/0.4965, allocations: 2.329 MB / 0.6839 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.007361/0.5039, allocations: 4.711 MB / 0.6885 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.517, allocations: 13.18 MB / 0.7014 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5171, allocations: 0 / 0.7014 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5171, allocations: 0 / 0.7014 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003642/0.5175, allocations: 0 / 0.7014 GB, free: 0.9102 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.01994/0.5374, allocations: 8.518 MB / 0.7097 GB, free: 8.297 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5375, allocations: 12.03 kB / 0.7097 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.5407, allocations: 0.8586 MB / 0.7106 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/0.553, allocations: 6.702 MB / 0.7171 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.5534, allocations: 460.4 kB / 0.7175 GB, free: 212 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.5549, allocations: 0.6014 MB / 0.7181 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.57, allocations: 9.021 MB / 0.7269 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.5702, allocations: 15.88 kB / 0.7269 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005954/0.5708, allocations: 264 kB / 0.7272 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.5709, allocations: 183.9 kB / 0.7274 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.5825, allocations: 7.449 MB / 0.7346 GB, free: 14.34 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.5403/1.123, allocations: 36 MB / 0.7698 GB, free: 139.1 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006449/1.129, allocations: 4.282 MB / 0.774 GB, free: 137.6 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004515/1.134, allocations: 3.307 MB / 0.7772 GB, free: 136.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.135, allocations: 0.9546 MB / 0.7781 GB, free: 135.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003696/1.139, allocations: 2.392 MB / 0.7805 GB, free: 134.7 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002155/1.141, allocations: 366 kB / 0.7808 GB, free: 134.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=317): time 6.572e-06/1.141, allocations: 1.219 kB / 0.7808 GB, free: 134.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=317): time 0.01127/1.152, allocations: 7.137 MB / 0.7878 GB, free: 132 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/1.152, allocations: 85.06 kB / 0.7879 GB, free: 132 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006993/1.159, allocations: 5.668 MB / 0.7934 GB, free: 129.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0005176/1.16, allocations: 88.05 kB / 0.7935 GB, free: 129.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002024/1.162, allocations: 3.192 MB / 0.7966 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009901/1.163, allocations: 1.116 MB / 0.7977 GB, free: 125.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000956/1.164, allocations: 0.8596 MB / 0.7985 GB, free: 125.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.502e-05/1.164, allocations: 301.1 kB / 0.7988 GB, free: 124.8 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/1.166, allocations: 2.164 MB / 0.8009 GB, free: 123.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/1.169, allocations: 3.697 MB / 0.8046 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005672/1.175, allocations: 6.326 MB / 0.8107 GB, free: 116 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.658e-05/1.175, allocations: 14.16 kB / 0.8108 GB, free: 116 MB / 0.5763 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008645/1.184, allocations: 6.782 MB / 0.8174 GB, free: 109.2 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/1.184, allocations: 55.58 kB / 0.8174 GB, free: 109.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.951e-05/1.184, allocations: 48.98 kB / 0.8175 GB, free: 109.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007715/1.184, allocations: 433.8 kB / 0.8179 GB, free: 108.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/1.187, allocations: 1.006 MB / 0.8189 GB, free: 107.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/1.192, allocations: 5.705 MB / 0.8244 GB, free: 101.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00448/1.196, allocations: 283.5 kB / 0.8247 GB, free: 101.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004398/1.197, allocations: 220 kB / 0.8249 GB, free: 101.2 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.003649/1.2, allocations: 2.479 MB / 0.8273 GB, free: 98.76 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/1.201, allocations: 0.5337 MB / 0.8279 GB, free: 98.22 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006772/1.208, allocations: 5.257 MB / 0.833 GB, free: 92.92 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/1.208, allocations: 35.94 kB / 0.833 GB, free: 92.88 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/1.208, allocations: 4 kB / 0.833 GB, free: 92.88 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004949/1.213, allocations: 4.529 MB / 0.8375 GB, free: 88.25 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/1.232, allocations: 11.98 MB / 0.8492 GB, free: 76.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/1.232, allocations: 4 kB / 0.8492 GB, free: 76.19 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/1.235, allocations: 0.6438 MB / 0.8498 GB, free: 75.55 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006753/1.235, allocations: 370.6 kB / 0.8501 GB, free: 75.18 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/1.235, allocations: 91.89 kB / 0.8502 GB, free: 75.09 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/1.239, allocations: 5.61 MB / 0.8557 GB, free: 69.22 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.239, allocations: 4 kB / 0.8557 GB, free: 69.22 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008981/1.248, allocations: 7.769 MB / 0.8633 GB, free: 61.35 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002898/1.251, allocations: 1.157 MB / 0.8644 GB, free: 60.17 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009531/1.252, allocations: 71.98 kB / 0.8645 GB, free: 60.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/1.255, allocations: 191 kB / 0.8647 GB, free: 59.92 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003774/1.255, allocations: 206.2 kB / 0.8649 GB, free: 59.71 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002963/1.256, allocations: 139.8 kB / 0.865 GB, free: 59.58 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00473/1.26, allocations: 3.963 MB / 0.8689 GB, free: 55.64 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.9e-07/1.26, allocations: 0 / 0.8689 GB, free: 55.64 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.005844/1.266, allocations: 2.009 MB / 0.8708 GB, free: 53.64 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.001141/1.267, allocations: 498.6 kB / 0.8713 GB, free: 53.19 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.00657/1.274, allocations: 5.436 MB / 0.8766 GB, free: 47.7 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/1.274, allocations: 4 kB / 0.8766 GB, free: 47.7 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003097/1.277, allocations: 2.538 MB / 0.8791 GB, free: 45.13 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01254/1.29, allocations: 3.4 MB / 0.8824 GB, free: 41.86 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/1.306, allocations: 13.88 MB / 0.896 GB, free: 27.95 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002852/1.309, allocations: 4.628 MB / 0.9005 GB, free: 23.29 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.004842/1.314, allocations: 2.084 MB / 0.9025 GB, free: 21.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.315, allocations: 463.2 kB / 0.903 GB, free: 20.75 MB / 0.5763 GB Notification: Performance of SimCode: time 4.91e-07/1.315, allocations: 3.938 kB / 0.903 GB, free: 20.74 MB / 0.5763 GB Notification: Performance of Templates: time 0.4134/1.729, allocations: 114.8 MB / 1.015 GB, free: 198.6 MB / 0.6388 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)