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.001233/0.001233, allocations: 109.5 kB / 16.41 MB, free: 6.496 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.0009668/0.0009668, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6756/0.6756, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 65.14 kB / 0.5577 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1483, allocations: 76.19 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0532/0.2015, allocations: 55.97 MB / 0.6867 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0235/0.2251, allocations: 17.95 MB / 0.7043 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003624/0.2287, allocations: 75.62 kB / 0.7043 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003023/0.2319, allocations: 0.8963 MB / 0.7052 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00776/0.2396, allocations: 2.51 MB / 0.7077 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.2442, allocations: 1.533 MB / 0.7092 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02097/0.2652, allocations: 21.25 MB / 0.7299 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01377/0.279, allocations: 10.69 MB / 0.7403 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3764/0.6555, allocations: 7.226 MB / 0.7474 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01442/0.6699, allocations: 6.357 MB / 0.7536 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003925/0.6739, allocations: 0.9367 MB / 0.7545 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008759/0.6827, allocations: 1.697 MB / 0.7562 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004971/0.6877, allocations: 2.344 MB / 0.7585 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01378/0.7014, allocations: 4.709 MB / 0.7631 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01855/0.72, allocations: 13.19 MB / 0.776 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7201, allocations: 0 / 0.776 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7201, allocations: 0 / 0.776 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004509/0.7205, allocations: 0.5 kB / 0.776 GB, free: 12.87 MB / 0.5762 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.02328/0.7438, allocations: 8.514 MB / 0.7843 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.7439, allocations: 8.594 kB / 0.7843 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/0.7468, allocations: 0.8532 MB / 0.7851 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.7588, allocations: 6.698 MB / 0.7916 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/0.7592, allocations: 462.7 kB / 0.7921 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002241/0.7614, allocations: 0.5991 MB / 0.7927 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.7807, allocations: 9.031 MB / 0.8015 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.7809, allocations: 17.75 kB / 0.8015 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007658/0.7817, allocations: 260.5 kB / 0.8018 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/0.7818, allocations: 184.4 kB / 0.8019 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.7953, allocations: 7.448 MB / 0.8092 GB, free: 1.012 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.05974/0.8551, allocations: 35.99 MB / 0.8444 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007266/0.8624, allocations: 4.294 MB / 0.8486 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005159/0.8676, allocations: 3.296 MB / 0.8518 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/0.869, allocations: 0.9549 MB / 0.8527 GB, free: 6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004582/0.8736, allocations: 2.385 MB / 0.855 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002907/0.8765, allocations: 371.8 kB / 0.8554 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.131e-05/0.8766, allocations: 0 / 0.8554 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01403/0.8906, allocations: 7.139 MB / 0.8624 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.8907, allocations: 81.91 kB / 0.8624 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/0.9018, allocations: 5.674 MB / 0.868 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007679/0.9026, allocations: 91.98 kB / 0.8681 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003672/0.9063, allocations: 3.188 MB / 0.8712 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001646/0.9079, allocations: 1.119 MB / 0.8723 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002118/0.9101, allocations: 0.8541 MB / 0.8731 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.9102, allocations: 309.1 kB / 0.8734 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/0.9138, allocations: 2.16 MB / 0.8755 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004639/0.9184, allocations: 3.698 MB / 0.8791 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008658/0.9271, allocations: 6.318 MB / 0.8853 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.808e-05/0.9272, allocations: 16 kB / 0.8853 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01242/0.9396, allocations: 6.777 MB / 0.8919 GB, free: 12.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.9397, allocations: 54.33 kB / 0.892 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/0.9398, allocations: 48.84 kB / 0.892 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.9409, allocations: 433.3 kB / 0.8924 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003752/0.9446, allocations: 1.006 MB / 0.8934 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005978/0.9506, allocations: 5.713 MB / 0.899 GB, free: 5.367 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00539/0.956, allocations: 287.4 kB / 0.8993 GB, free: 5.086 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009544/0.957, allocations: 216 kB / 0.8995 GB, free: 4.875 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 (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.005438/0.9625, allocations: 2.481 MB / 0.9019 GB, free: 2.453 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002251/0.9647, allocations: 0.5249 MB / 0.9024 GB, free: 1.922 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/0.9753, allocations: 5.268 MB / 0.9076 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/0.9754, allocations: 32 kB / 0.9076 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/0.9754, allocations: 4 kB / 0.9076 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006848/0.9822, allocations: 4.536 MB / 0.912 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02822/1.01, allocations: 11.97 MB / 0.9237 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/1.011, allocations: 0 / 0.9237 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003121/1.014, allocations: 0.6474 MB / 0.9243 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000964/1.015, allocations: 372.7 kB / 0.9247 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004732/1.015, allocations: 83.95 kB / 0.9248 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00584/1.021, allocations: 5.617 MB / 0.9303 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.021, allocations: 4 kB / 0.9303 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/1.034, allocations: 7.768 MB / 0.9379 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00323/1.037, allocations: 1.154 MB / 0.939 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/1.039, allocations: 64 kB / 0.939 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003995/1.043, allocations: 209 kB / 0.9392 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005236/1.044, allocations: 194.2 kB / 0.9394 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004468/1.044, allocations: 143.9 kB / 0.9396 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00771/1.052, allocations: 3.959 MB / 0.9434 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/1.052, allocations: 0 / 0.9434 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.008034/1.06, allocations: 2.007 MB / 0.9454 GB, free: 5.461 MB / 0.7169 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.001708/1.062, allocations: 492.1 kB / 0.9459 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.072, allocations: 5.451 MB / 0.9512 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.072, allocations: 8.188 kB / 0.9512 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004369/1.076, allocations: 2.535 MB / 0.9537 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01878/1.095, allocations: 3.396 MB / 0.957 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03062/1.126, allocations: 13.88 MB / 0.9705 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006266/1.132, allocations: 4.628 MB / 0.9751 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.007258/1.139, allocations: 2.072 MB / 0.9771 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/1.141, allocations: 470.7 kB / 0.9775 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of SimCode: time 8.11e-07/1.141, allocations: 0 / 0.9775 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of Templates: time 0.4796/1.621, allocations: 116.6 MB / 1.091 GB, free: 296.6 MB / 0.8106 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)