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.00138/0.00138, allocations: 103.5 kB / 16.41 MB, free: 6.484 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.001433/0.001433, allocations: 187 kB / 17.34 MB, free: 5.734 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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 0.9/0.9, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.86 kB / 0.5962 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1658, allocations: 82.04 MB / 0.6763 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06158/0.2274, allocations: 56.01 MB / 0.731 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02776/0.2552, allocations: 17.95 MB / 0.7485 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.259, allocations: 75.56 kB / 0.7486 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.466/0.7251, allocations: 0.8872 MB / 0.7495 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008821/0.7339, allocations: 2.509 MB / 0.7519 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00475/0.7387, allocations: 1.526 MB / 0.7534 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02738/0.7661, allocations: 21.26 MB / 0.7742 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01604/0.7822, allocations: 10.68 MB / 0.7846 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01787/0.8001, allocations: 7.237 MB / 0.7917 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01321/0.8134, allocations: 6.367 MB / 0.7979 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003787/0.8172, allocations: 0.9395 MB / 0.7988 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0101/0.8274, allocations: 1.699 MB / 0.8004 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005486/0.8329, allocations: 2.342 MB / 0.8027 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01335/0.8463, allocations: 4.706 MB / 0.8073 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02051/0.8668, allocations: 13.86 MB / 0.8209 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.8669, allocations: 0 / 0.8209 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8669, allocations: 3.938 kB / 0.8209 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000484/0.8674, allocations: 0 / 0.8209 GB, free: 6.102 MB / 0.6075 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.02485/0.8923, allocations: 8.523 MB / 0.8292 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.8923, allocations: 8.031 kB / 0.8292 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004636/0.897, allocations: 0.8586 MB / 0.83 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/0.9122, allocations: 6.714 MB / 0.8366 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004543/0.9127, allocations: 459.5 kB / 0.837 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002299/0.915, allocations: 0.6051 MB / 0.8376 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02198/0.937, allocations: 9.029 MB / 0.8464 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003229/0.9374, allocations: 19.88 kB / 0.8465 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002257/0.9396, allocations: 262.4 kB / 0.8467 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002841/0.9399, allocations: 183.9 kB / 0.8469 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.9577, allocations: 7.441 MB / 0.8542 GB, free: 3.73 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 preOpt removeSimpleEquations (simulation): time 0.0653/1.023, allocations: 36.02 MB / 0.8893 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007833/1.031, allocations: 4.278 MB / 0.8935 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005979/1.037, allocations: 3.303 MB / 0.8967 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/1.039, allocations: 0.9613 MB / 0.8977 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005095/1.044, allocations: 2.379 MB / 0.9 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003214/1.047, allocations: 367.3 kB / 0.9003 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.512e-05/1.047, allocations: 3.938 kB / 0.9003 GB, free: 2.469 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01634/1.064, allocations: 7.135 MB / 0.9073 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/1.064, allocations: 85.91 kB / 0.9074 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/1.075, allocations: 5.674 MB / 0.9129 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0008743/1.076, allocations: 85.7 kB / 0.913 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003449/1.08, allocations: 3.196 MB / 0.9161 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001819/1.081, allocations: 1.117 MB / 0.9172 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001465/1.083, allocations: 0.8542 MB / 0.9181 GB, free: 228 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.083, allocations: 301.1 kB / 0.9184 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003549/1.087, allocations: 2.167 MB / 0.9205 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004447/1.091, allocations: 3.694 MB / 0.9241 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008479/1.1, allocations: 6.319 MB / 0.9302 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.152e-05/1.1, allocations: 12 kB / 0.9303 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01298/1.113, allocations: 6.784 MB / 0.9369 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.09e-05/1.113, allocations: 53.7 kB / 0.9369 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-05/1.113, allocations: 51.98 kB / 0.937 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/1.114, allocations: 436 kB / 0.9374 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/1.118, allocations: 1.002 MB / 0.9384 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005921/1.124, allocations: 5.718 MB / 0.944 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005692/1.13, allocations: 279.5 kB / 0.9442 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.131, allocations: 220 kB / 0.9444 GB, free: 3.48 MB / 0.7325 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.005163/1.136, allocations: 2.48 MB / 0.9469 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/1.138, allocations: 0.5248 MB / 0.9474 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009236/1.147, allocations: 5.28 MB / 0.9525 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-05/1.147, allocations: 32 kB / 0.9526 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.147, allocations: 4 kB / 0.9526 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006675/1.154, allocations: 4.532 MB / 0.957 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02522/1.179, allocations: 11.98 MB / 0.9687 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/1.179, allocations: 128 / 0.9687 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002796/1.182, allocations: 0.6476 MB / 0.9693 GB, free: 9.801 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009087/1.183, allocations: 373.3 kB / 0.9697 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/1.183, allocations: 87.95 kB / 0.9698 GB, free: 9.344 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005748/1.189, allocations: 5.611 MB / 0.9752 GB, free: 3.469 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.189, allocations: 4 kB / 0.9752 GB, free: 3.465 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/1.202, allocations: 7.768 MB / 0.9828 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004519/1.207, allocations: 1.158 MB / 0.984 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001918/1.209, allocations: 71.98 kB / 0.984 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004475/1.213, allocations: 191.5 kB / 0.9842 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007395/1.214, allocations: 202.2 kB / 0.9844 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006989/1.215, allocations: 143.9 kB / 0.9845 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.009575/1.224, allocations: 3.959 MB / 0.9884 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.61e-07/1.224, allocations: 0 / 0.9884 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.009482/1.234, allocations: 2.003 MB / 0.9904 GB, free: 3.875 MB / 0.7794 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.002261/1.236, allocations: 0.5032 MB / 0.9909 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0109/1.247, allocations: 5.448 MB / 0.9962 GB, free: 13.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.247, allocations: 4 kB / 0.9962 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.005115/1.252, allocations: 2.529 MB / 0.9987 GB, free: 11.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02088/1.273, allocations: 3.395 MB / 1.002 GB, free: 8.035 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0345/1.308, allocations: 13.94 MB / 1.016 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007732/1.315, allocations: 4.559 MB / 1.02 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002838/1.318, allocations: 495.3 kB / 1.021 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of SimCode: time 1.182e-06/1.318, allocations: 0 / 1.021 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of Templates: time 0.5964/1.915, allocations: 189.3 MB / 1.205 GB, free: 184.9 MB / 0.8419 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)