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.001768/0.001768, allocations: 115.4 kB / 17.08 MB, free: 5.98 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.002004/0.002004, allocations: 191 kB / 18.02 MB, free: 5.066 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.452/1.452, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8203/0.8203, allocations: 126.4 MB / 418.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 70.86 kB / 0.5742 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1537, allocations: 78.78 MB / 0.6511 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06228/0.216, allocations: 56.09 MB / 0.7059 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02556/0.2416, allocations: 17.95 MB / 0.7234 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002728/0.2444, allocations: 79.56 kB / 0.7235 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.2473, allocations: 0.9274 MB / 0.7244 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008029/0.2554, allocations: 2.612 MB / 0.7269 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004517/0.26, allocations: 1.535 MB / 0.7284 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3924/0.6524, allocations: 21.3 MB / 0.7492 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01712/0.6696, allocations: 10.67 MB / 0.7596 GB, free: 21.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01694/0.6866, allocations: 7.407 MB / 0.7669 GB, free: 20.58 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0126/0.6992, allocations: 6.292 MB / 0.773 GB, free: 19.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003881/0.7031, allocations: 0.9366 MB / 0.7739 GB, free: 19.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008271/0.7114, allocations: 1.698 MB / 0.7756 GB, free: 19.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005159/0.7166, allocations: 2.347 MB / 0.7779 GB, free: 19.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01037/0.727, allocations: 4.726 MB / 0.7825 GB, free: 18.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01556/0.7426, allocations: 13.26 MB / 0.7955 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7427, allocations: 0 / 0.7955 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.775e-06/0.7427, allocations: 0 / 0.7955 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004236/0.7431, allocations: 3.938 kB / 0.7955 GB, free: 16.66 MB / 0.5919 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.0248/0.7679, allocations: 8.721 MB / 0.804 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.768, allocations: 10.56 kB / 0.804 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005187/0.7732, allocations: 0.9005 MB / 0.8049 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/0.788, allocations: 6.749 MB / 0.8115 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004792/0.7885, allocations: 468.9 kB / 0.8119 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002653/0.7912, allocations: 0.5967 MB / 0.8125 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02757/0.8188, allocations: 9.028 MB / 0.8213 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003207/0.8192, allocations: 14.66 kB / 0.8213 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002524/0.8217, allocations: 263 kB / 0.8216 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002334/0.8219, allocations: 183.5 kB / 0.8217 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/0.8408, allocations: 7.449 MB / 0.829 GB, free: 9.254 MB / 0.6075 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.06663/0.9075, allocations: 36.1 MB / 0.8643 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008637/0.9162, allocations: 4.282 MB / 0.8685 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006432/0.9226, allocations: 3.289 MB / 0.8717 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/0.9243, allocations: 0.9617 MB / 0.8726 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005389/0.9297, allocations: 2.401 MB / 0.875 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002973/0.9327, allocations: 377 kB / 0.8753 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=317): time 1.226e-05/0.9327, allocations: 0 / 0.8753 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317): time 0.01718/0.9499, allocations: 7.159 MB / 0.8823 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.95, allocations: 81.91 kB / 0.8824 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/0.9634, allocations: 5.675 MB / 0.8879 GB, free: 11.28 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001005/0.9644, allocations: 85.7 kB / 0.888 GB, free: 11.19 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.004915/0.9694, allocations: 3.273 MB / 0.8912 GB, free: 7.91 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002288/0.9717, allocations: 1.171 MB / 0.8923 GB, free: 6.754 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003001/0.9747, allocations: 0.8585 MB / 0.8932 GB, free: 5.883 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.9749, allocations: 309.1 kB / 0.8935 GB, free: 5.578 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004776/0.9797, allocations: 2.16 MB / 0.8956 GB, free: 3.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006221/0.9859, allocations: 3.705 MB / 0.8992 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.997, allocations: 6.324 MB / 0.9054 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-05/0.9971, allocations: 16 kB / 0.9054 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01501/1.012, allocations: 6.795 MB / 0.912 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.012, allocations: 60.19 kB / 0.9121 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.864e-05/1.012, allocations: 52.12 kB / 0.9121 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/1.014, allocations: 435.5 kB / 0.9126 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/1.018, allocations: 1.009 MB / 0.9135 GB, free: 164 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006978/1.025, allocations: 5.699 MB / 0.9191 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005218/1.03, allocations: 283.5 kB / 0.9194 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009492/1.031, allocations: 220 kB / 0.9196 GB, free: 9.75 MB / 0.7012 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.005741/1.037, allocations: 2.481 MB / 0.922 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002217/1.039, allocations: 0.5473 MB / 0.9225 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/1.051, allocations: 5.266 MB / 0.9277 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/1.051, allocations: 36 kB / 0.9277 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.347e-05/1.051, allocations: 7.984 kB / 0.9277 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008164/1.059, allocations: 4.534 MB / 0.9322 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02826/1.087, allocations: 11.99 MB / 0.9439 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.087, allocations: 0 / 0.9439 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003257/1.091, allocations: 0.6414 MB / 0.9445 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/1.092, allocations: 373.8 kB / 0.9448 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007826/1.093, allocations: 87.52 kB / 0.9449 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007081/1.1, allocations: 5.629 MB / 0.9504 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.1, allocations: 8.062 kB / 0.9504 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/1.116, allocations: 7.779 MB / 0.958 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003956/1.12, allocations: 1.181 MB / 0.9592 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001984/1.122, allocations: 75.92 kB / 0.9593 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004341/1.127, allocations: 195.3 kB / 0.9594 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008211/1.127, allocations: 205.5 kB / 0.9596 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007224/1.128, allocations: 135.9 kB / 0.9598 GB, free: 200 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.009573/1.138, allocations: 3.959 MB / 0.9636 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.91e-07/1.138, allocations: 0 / 0.9636 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.009448/1.147, allocations: 2.031 MB / 0.9656 GB, free: 10.22 MB / 0.7481 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.001928/1.149, allocations: 0.4922 MB / 0.9661 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.161, allocations: 5.45 MB / 0.9714 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.161, allocations: 4 kB / 0.9714 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.005163/1.166, allocations: 2.541 MB / 0.9739 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0213/1.187, allocations: 3.396 MB / 0.9772 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03486/1.222, allocations: 14.08 MB / 0.991 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009467/1.232, allocations: 4.632 MB / 0.9955 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.008369/1.24, allocations: 2.08 MB / 0.9975 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002386/1.242, allocations: 470 kB / 0.998 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of SimCode: time 1.052e-06/1.242, allocations: 0 / 0.998 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of Templates: time 0.5251/1.768, allocations: 117.1 MB / 1.112 GB, free: 286.5 MB / 0.8262 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)