Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0007885/0.0007884, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007245/0.007246, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.096/1.096, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005167/0.0005168, allocations: 11.98 kB / 0.5164 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.208, allocations: 83.42 MB / 0.5978 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3675/0.5755, allocations: 54.52 MB / 0.6511 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.5958, allocations: 17.73 MB / 0.6684 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/0.5996, allocations: 64.47 kB / 0.6685 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.6027, allocations: 0.7217 MB / 0.6692 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008342/0.611, allocations: 2.33 MB / 0.6714 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004123/0.6152, allocations: 1.383 MB / 0.6728 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.03145/0.6467, allocations: 27.81 MB / 0.7 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01322/0.6599, allocations: 8.422 MB / 0.7082 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01463/0.6746, allocations: 5.205 MB / 0.7133 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01139/0.686, allocations: 5.787 MB / 0.7189 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001952/0.688, allocations: 348 kB / 0.7192 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00608/0.6941, allocations: 1.037 MB / 0.7203 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003041/0.6972, allocations: 1.591 MB / 0.7218 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008871/0.7061, allocations: 3.889 MB / 0.7256 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01639/0.7225, allocations: 12.97 MB / 0.7383 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.7226, allocations: 4 kB / 0.7383 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7226, allocations: 3.938 kB / 0.7383 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004495/0.723, allocations: 4 kB / 0.7383 GB, free: 12.37 MB / 0.5606 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.01725/0.7403, allocations: 6.884 MB / 0.745 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.7403, allocations: 12.03 kB / 0.745 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/0.7452, allocations: 0.8508 MB / 0.7458 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.7581, allocations: 6.637 MB / 0.7523 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004363/0.7586, allocations: 464.6 kB / 0.7528 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002004/0.7606, allocations: 0.6089 MB / 0.7534 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/0.7811, allocations: 9.025 MB / 0.7622 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/0.7813, allocations: 19.88 kB / 0.7622 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/0.7825, allocations: 260 kB / 0.7624 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.7827, allocations: 183.9 kB / 0.7626 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01693/0.7996, allocations: 7.457 MB / 0.7699 GB, free: 11.5 MB / 0.5919 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.05966/0.8593, allocations: 36 MB / 0.8051 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007633/0.867, allocations: 4.288 MB / 0.8093 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005231/0.8723, allocations: 3.332 MB / 0.8125 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/0.8737, allocations: 0.9778 MB / 0.8135 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004495/0.8782, allocations: 2.394 MB / 0.8158 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003517/0.8818, allocations: 451.7 kB / 0.8162 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 1.292e-05/0.8818, allocations: 0 / 0.8162 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01431/0.8961, allocations: 7.13 MB / 0.8232 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.8962, allocations: 85.91 kB / 0.8233 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009063/0.9053, allocations: 5.467 MB / 0.8286 GB, free: 13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0008254/0.9061, allocations: 85.7 kB / 0.8287 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003107/0.9093, allocations: 3.196 MB / 0.8318 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001668/0.911, allocations: 1.117 MB / 0.8329 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005544/0.9115, allocations: 363.3 kB / 0.8333 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.9116, allocations: 313.1 kB / 0.8336 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/0.9151, allocations: 2.159 MB / 0.8357 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004291/0.9194, allocations: 3.689 MB / 0.8393 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008416/0.9278, allocations: 6.307 MB / 0.8454 GB, free: 10.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.664e-05/0.9279, allocations: 12 kB / 0.8454 GB, free: 10.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0133/0.9412, allocations: 6.768 MB / 0.852 GB, free: 3.465 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/0.9414, allocations: 49.7 kB / 0.8521 GB, free: 3.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.586e-05/0.9415, allocations: 52 kB / 0.8521 GB, free: 3.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.9426, allocations: 435.3 kB / 0.8526 GB, free: 2.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004295/0.9469, allocations: 1.014 MB / 0.8535 GB, free: 1.914 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3694/1.316, allocations: 5.263 MB / 0.8587 GB, free: 186 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00598/1.322, allocations: 470.9 kB / 0.8591 GB, free: 186 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/1.324, allocations: 213.6 kB / 0.8593 GB, free: 186 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.005527/1.329, allocations: 2.479 MB / 0.8618 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/1.331, allocations: 0.5308 MB / 0.8623 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008563/1.339, allocations: 5.262 MB / 0.8674 GB, free: 185.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/1.34, allocations: 34.2 kB / 0.8674 GB, free: 185.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.34, allocations: 3.031 kB / 0.8675 GB, free: 185.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005624/1.345, allocations: 4.535 MB / 0.8719 GB, free: 183.5 MB / 0.67 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.02361/1.369, allocations: 11.99 MB / 0.8836 GB, free: 179 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.369, allocations: 1.688 kB / 0.8836 GB, free: 179 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003509/1.372, allocations: 0.6573 MB / 0.8842 GB, free: 178.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/1.374, allocations: 370.6 kB / 0.8846 GB, free: 178.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006175/1.374, allocations: 81.31 kB / 0.8847 GB, free: 178.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005517/1.38, allocations: 5.184 MB / 0.8897 GB, free: 175.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/1.38, allocations: 1.344 kB / 0.8897 GB, free: 175.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/1.395, allocations: 7.634 MB / 0.8972 GB, free: 172.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004184/1.399, allocations: 1.224 MB / 0.8984 GB, free: 171.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/1.401, allocations: 70.19 kB / 0.8984 GB, free: 171.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004929/1.405, allocations: 468.5 kB / 0.8989 GB, free: 171.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000575/1.406, allocations: 204 kB / 0.8991 GB, free: 171.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003796/1.406, allocations: 139.3 kB / 0.8992 GB, free: 171.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007822/1.414, allocations: 3.809 MB / 0.9029 GB, free: 170.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.01e-07/1.414, allocations: 0.7656 kB / 0.9029 GB, free: 170.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007763/1.422, allocations: 1.986 MB / 0.9049 GB, free: 169.9 MB / 0.67 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.001468/1.424, allocations: 0.494 MB / 0.9054 GB, free: 169.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008838/1.432, allocations: 5.386 MB / 0.9106 GB, free: 167.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.433, allocations: 3.344 kB / 0.9106 GB, free: 167.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004237/1.437, allocations: 2.516 MB / 0.9131 GB, free: 166.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02129/1.458, allocations: 3.232 MB / 0.9162 GB, free: 166 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.484, allocations: 16.69 MB / 0.9325 GB, free: 157.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00387/1.488, allocations: 4.632 MB / 0.9371 GB, free: 155.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006679/1.495, allocations: 1.992 MB / 0.939 GB, free: 155 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/1.496, allocations: 454.8 kB / 0.9394 GB, free: 154.6 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/1.496, allocations: 0.5625 kB / 0.9394 GB, free: 154.6 MB / 0.67 GB Notification: Performance of Templates: time 0.1523/1.649, allocations: 115.3 MB / 1.052 GB, free: 41.3 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)