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.001028/0.001028, allocations: 92.62 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000998/0.0009981, allocations: 178.8 kB / 16.58 MB, free: 6.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.367/1.367, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7048/0.7048, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 12 kB / 495.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 77.52 MB / 0.5593 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.292/0.4275, allocations: 51.52 MB / 0.6096 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02089/0.4484, allocations: 16.82 MB / 0.626 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00271/0.4512, allocations: 67.59 kB / 0.6261 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.4535, allocations: 0.6287 MB / 0.6267 GB, free: 9.547 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006383/0.4599, allocations: 1.985 MB / 0.6287 GB, free: 8.402 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00352/0.4634, allocations: 1.091 MB / 0.6297 GB, free: 7.629 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02191/0.4853, allocations: 23.62 MB / 0.6528 GB, free: 7.348 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009785/0.4952, allocations: 7.159 MB / 0.6598 GB, free: 128 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01005/0.5053, allocations: 5.296 MB / 0.665 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009521/0.5148, allocations: 5.477 MB / 0.6703 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001517/0.5164, allocations: 344 kB / 0.6706 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004758/0.5211, allocations: 0.7802 MB / 0.6714 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002324/0.5235, allocations: 1.522 MB / 0.6729 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003504/0.527, allocations: 1.611 MB / 0.6745 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.5394, allocations: 10.33 MB / 0.6845 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.5395, allocations: 0 / 0.6845 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5395, allocations: 4 kB / 0.6845 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004922/0.54, allocations: 0 / 0.6845 GB, free: 6.68 MB / 0.4981 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.01596/0.556, allocations: 6.956 MB / 0.6913 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.556, allocations: 8.031 kB / 0.6913 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/0.5598, allocations: 0.8538 MB / 0.6922 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.5729, allocations: 6.456 MB / 0.6985 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00046/0.5734, allocations: 464.2 kB / 0.6989 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001801/0.5752, allocations: 0.6015 MB / 0.6995 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02055/0.5957, allocations: 8.978 MB / 0.7083 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003349/0.5961, allocations: 27.72 kB / 0.7083 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001786/0.5979, allocations: 267.9 kB / 0.7086 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002387/0.5982, allocations: 176 kB / 0.7087 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/0.6152, allocations: 7.418 MB / 0.716 GB, free: 6.004 MB / 0.5294 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.04983/0.6651, allocations: 35.96 MB / 0.7511 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007245/0.6724, allocations: 4.284 MB / 0.7553 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005279/0.6777, allocations: 3.379 MB / 0.7586 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/0.679, allocations: 0.9895 MB / 0.7595 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004248/0.6833, allocations: 2.379 MB / 0.7619 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003055/0.6864, allocations: 447.8 kB / 0.7623 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 1.394e-05/0.6864, allocations: 0 / 0.7623 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.0153/0.7017, allocations: 7.089 MB / 0.7692 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.7018, allocations: 85.91 kB / 0.7693 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008961/0.7108, allocations: 5.416 MB / 0.7746 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004669/0.7113, allocations: 93.7 kB / 0.7747 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00331/0.7146, allocations: 3.196 MB / 0.7778 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001502/0.7161, allocations: 1.117 MB / 0.7789 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/0.7165, allocations: 91.94 kB / 0.779 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003597/0.7169, allocations: 487.6 kB / 0.7794 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/0.7207, allocations: 2.144 MB / 0.7815 GB, free: 416 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/0.7255, allocations: 3.674 MB / 0.7851 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004688/0.7302, allocations: 2.9 MB / 0.788 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-05/0.7303, allocations: 16 kB / 0.788 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01182/0.7421, allocations: 6.732 MB / 0.7945 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.39e-05/0.7422, allocations: 53.7 kB / 0.7946 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.237e-05/0.7423, allocations: 51.98 kB / 0.7946 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.7433, allocations: 440 kB / 0.7951 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003757/0.7471, allocations: 1.014 MB / 0.7961 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005632/0.7528, allocations: 5.25 MB / 0.8012 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004851/0.7576, allocations: 466.8 kB / 0.8016 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006235/0.7583, allocations: 224 kB / 0.8018 GB, free: 10.56 MB / 0.6231 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.004413/0.7627, allocations: 2.479 MB / 0.8043 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/0.7641, allocations: 0.5249 MB / 0.8048 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009555/0.7737, allocations: 5.237 MB / 0.8099 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-05/0.7737, allocations: 36 kB / 0.8099 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.7738, allocations: 4 kB / 0.8099 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006877/0.7807, allocations: 4.508 MB / 0.8143 GB, free: 13.61 MB / 0.6387 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.02409/0.8048, allocations: 11.98 MB / 0.826 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.8048, allocations: 0 / 0.826 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002943/0.8078, allocations: 0.6555 MB / 0.8267 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000857/0.8086, allocations: 367.6 kB / 0.827 GB, free: 420 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00034/0.809, allocations: 87.95 kB / 0.8271 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2618/1.071, allocations: 5.159 MB / 0.8321 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.071, allocations: 2.641 kB / 0.8321 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.083, allocations: 7.599 MB / 0.8396 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/1.087, allocations: 1.212 MB / 0.8407 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009428/1.088, allocations: 69.55 kB / 0.8408 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003637/1.091, allocations: 469.6 kB / 0.8413 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004595/1.092, allocations: 205.4 kB / 0.8415 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003371/1.092, allocations: 138 kB / 0.8416 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006418/1.098, allocations: 3.768 MB / 0.8453 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.41e-07/1.098, allocations: 0 / 0.8453 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005938/1.104, allocations: 1.982 MB / 0.8472 GB, free: 204.4 MB / 0.6387 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.001094/1.105, allocations: 473.7 kB / 0.8477 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007911/1.113, allocations: 5.357 MB / 0.8529 GB, free: 202.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/1.113, allocations: 4.219 kB / 0.8529 GB, free: 202.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003327/1.117, allocations: 2.502 MB / 0.8553 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01327/1.13, allocations: 3.234 MB / 0.8585 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/1.149, allocations: 16.14 MB / 0.8743 GB, free: 192.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003725/1.153, allocations: 4.631 MB / 0.8788 GB, free: 188.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006146/1.159, allocations: 1.994 MB / 0.8807 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/1.161, allocations: 459.2 kB / 0.8812 GB, free: 186.3 MB / 0.6387 GB Notification: Performance of SimCode: time 8.62e-07/1.161, allocations: 0 / 0.8812 GB, free: 186.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.1417/1.302, allocations: 112 MB / 0.9906 GB, free: 75.29 MB / 0.6387 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)