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.001121/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.001233/0.001233, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 0.9796/0.9796, allocations: 143 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 0.5141 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1649, allocations: 82.05 MB / 0.5943 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3269/0.4918, allocations: 55.97 MB / 0.6489 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01931/0.5112, allocations: 17.96 MB / 0.6665 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/0.514, allocations: 77.84 kB / 0.6665 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.5166, allocations: 0.8913 MB / 0.6674 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007069/0.5237, allocations: 2.508 MB / 0.6699 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004305/0.528, allocations: 1.517 MB / 0.6713 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02638/0.5544, allocations: 21.26 MB / 0.6921 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01969/0.5742, allocations: 10.67 MB / 0.7025 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01683/0.591, allocations: 7.148 MB / 0.7095 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01368/0.6047, allocations: 6.36 MB / 0.7157 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003694/0.6085, allocations: 0.9375 MB / 0.7166 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008675/0.6172, allocations: 1.694 MB / 0.7183 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005098/0.6223, allocations: 2.341 MB / 0.7206 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01248/0.6348, allocations: 4.711 MB / 0.7252 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01983/0.6547, allocations: 13.71 MB / 0.7386 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.6547, allocations: 0 / 0.7386 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6548, allocations: 0 / 0.7386 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000511/0.6553, allocations: 4 kB / 0.7386 GB, free: 9.75 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.02415/0.6794, allocations: 8.532 MB / 0.7469 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.6795, allocations: 8.031 kB / 0.7469 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/0.6846, allocations: 0.8508 MB / 0.7477 GB, free: 264 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/0.699, allocations: 6.458 MB / 0.754 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004987/0.6995, allocations: 456.6 kB / 0.7545 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/0.7021, allocations: 0.6014 MB / 0.7551 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02367/0.7258, allocations: 9.021 MB / 0.7639 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003133/0.7261, allocations: 19.78 kB / 0.7639 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001997/0.7281, allocations: 271.9 kB / 0.7641 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/0.7284, allocations: 175.9 kB / 0.7643 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/0.7455, allocations: 7.449 MB / 0.7716 GB, free: 7.434 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.0588/0.8044, allocations: 36.28 MB / 0.807 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007473/0.8119, allocations: 4.279 MB / 0.8112 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005273/0.8172, allocations: 3.312 MB / 0.8144 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/0.8186, allocations: 0.9544 MB / 0.8154 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004472/0.8231, allocations: 2.387 MB / 0.8177 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002727/0.8259, allocations: 371.8 kB / 0.818 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 1.136e-05/0.8259, allocations: 0 / 0.818 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01417/0.8401, allocations: 7.133 MB / 0.825 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.8402, allocations: 89.91 kB / 0.8251 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/0.851, allocations: 5.662 MB / 0.8306 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007916/0.8518, allocations: 85.7 kB / 0.8307 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003658/0.8555, allocations: 3.2 MB / 0.8338 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002089/0.8576, allocations: 1.113 MB / 0.8349 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/0.8602, allocations: 0.858 MB / 0.8358 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.8603, allocations: 305.1 kB / 0.836 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/0.8642, allocations: 2.16 MB / 0.8382 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004719/0.8689, allocations: 3.701 MB / 0.8418 GB, free: 12.42 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008455/0.8774, allocations: 6.319 MB / 0.8479 GB, free: 5.387 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.585e-05/0.8775, allocations: 16 kB / 0.848 GB, free: 5.371 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.269/1.146, allocations: 6.775 MB / 0.8546 GB, free: 189.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-05/1.147, allocations: 54.17 kB / 0.8546 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.558e-05/1.147, allocations: 49.34 kB / 0.8547 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008395/1.147, allocations: 431.2 kB / 0.8551 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/1.151, allocations: 1.01 MB / 0.8561 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/1.155, allocations: 5.691 MB / 0.8616 GB, free: 186.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004298/1.16, allocations: 289 kB / 0.8619 GB, free: 186.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004061/1.16, allocations: 220.2 kB / 0.8621 GB, free: 186.4 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.004828/1.165, allocations: 2.48 MB / 0.8645 GB, free: 186.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/1.167, allocations: 0.5298 MB / 0.8651 GB, free: 186.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.179, allocations: 5.263 MB / 0.8702 GB, free: 184.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/1.179, allocations: 38.91 kB / 0.8702 GB, free: 184.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/1.179, allocations: 3.062 kB / 0.8702 GB, free: 184.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01078/1.19, allocations: 4.531 MB / 0.8747 GB, free: 182.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03303/1.223, allocations: 12.05 MB / 0.8864 GB, free: 177.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/1.223, allocations: 4.969 kB / 0.8864 GB, free: 177.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00287/1.226, allocations: 0.6446 MB / 0.8871 GB, free: 177.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008437/1.227, allocations: 372.5 kB / 0.8874 GB, free: 177.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003233/1.227, allocations: 79.48 kB / 0.8875 GB, free: 177.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004924/1.232, allocations: 5.629 MB / 0.893 GB, free: 173.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.232, allocations: 2.141 kB / 0.893 GB, free: 173.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/1.245, allocations: 7.76 MB / 0.9006 GB, free: 170.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002999/1.248, allocations: 1.164 MB / 0.9017 GB, free: 170 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/1.249, allocations: 69.75 kB / 0.9018 GB, free: 169.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00357/1.253, allocations: 194.5 kB / 0.902 GB, free: 169.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005157/1.254, allocations: 196.4 kB / 0.9021 GB, free: 169.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000422/1.254, allocations: 146.1 kB / 0.9023 GB, free: 169.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007598/1.262, allocations: 3.962 MB / 0.9062 GB, free: 168.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/1.262, allocations: 0 / 0.9062 GB, free: 168.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006505/1.268, allocations: 2.008 MB / 0.9081 GB, free: 168.2 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.001495/1.27, allocations: 0.497 MB / 0.9086 GB, free: 168.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0218/1.291, allocations: 11.63 MB / 0.92 GB, free: 166 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.292, allocations: 6.75 kB / 0.92 GB, free: 166 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003864/1.295, allocations: 2.545 MB / 0.9225 GB, free: 165 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01623/1.312, allocations: 3.396 MB / 0.9258 GB, free: 164.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.334, allocations: 14.06 MB / 0.9395 GB, free: 153.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00449/1.338, allocations: 4.63 MB / 0.944 GB, free: 149.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00747/1.346, allocations: 2.077 MB / 0.946 GB, free: 148.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/1.348, allocations: 469.7 kB / 0.9465 GB, free: 147.8 MB / 0.67 GB Notification: Performance of SimCode: time 7.12e-07/1.348, allocations: 0 / 0.9465 GB, free: 147.8 MB / 0.67 GB Notification: Performance of Templates: time 0.1536/1.501, allocations: 122.3 MB / 1.066 GB, free: 27 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)