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.001008/0.001008, allocations: 91.53 kB / 16.02 MB, free: 80 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.001143/0.001143, allocations: 177.9 kB / 16.92 MB, free: 6.652 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.297 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.052/1.052, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.00046, allocations: 8 kB / 0.517 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1927, allocations: 83.41 MB / 0.5985 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3779/0.5706, allocations: 54.52 MB / 0.6517 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0224/0.5931, allocations: 17.74 MB / 0.6691 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004327/0.5975, allocations: 64.06 kB / 0.6691 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.601, allocations: 0.722 MB / 0.6698 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.611, allocations: 2.331 MB / 0.6721 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.6157, allocations: 1.378 MB / 0.6735 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.03758/0.6533, allocations: 27.82 MB / 0.7006 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01412/0.6675, allocations: 8.427 MB / 0.7088 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.681, allocations: 5.201 MB / 0.7139 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01216/0.6932, allocations: 5.795 MB / 0.7196 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002218/0.6955, allocations: 344 kB / 0.7199 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006739/0.7022, allocations: 1.033 MB / 0.7209 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003464/0.7057, allocations: 1.587 MB / 0.7225 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01004/0.7158, allocations: 3.889 MB / 0.7263 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.7329, allocations: 11.04 MB / 0.7371 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.733, allocations: 3.938 kB / 0.7371 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.226e-06/0.733, allocations: 0 / 0.7371 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004985/0.7335, allocations: 0 / 0.7371 GB, free: 14.11 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.01772/0.7512, allocations: 6.892 MB / 0.7438 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.7513, allocations: 12.03 kB / 0.7438 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004388/0.7557, allocations: 0.8547 MB / 0.7446 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0131/0.7688, allocations: 6.635 MB / 0.7511 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004358/0.7693, allocations: 464.6 kB / 0.7516 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/0.7711, allocations: 0.6052 MB / 0.7521 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.7921, allocations: 9.025 MB / 0.761 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.7923, allocations: 15.88 kB / 0.761 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001112/0.7935, allocations: 264 kB / 0.7612 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/0.7937, allocations: 183.9 kB / 0.7614 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/0.8101, allocations: 7.457 MB / 0.7687 GB, free: 13.23 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.05945/0.8696, allocations: 36 MB / 0.8038 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00811/0.8778, allocations: 4.287 MB / 0.808 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005977/0.8838, allocations: 3.332 MB / 0.8113 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/0.8855, allocations: 0.9817 MB / 0.8122 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005047/0.8905, allocations: 2.394 MB / 0.8146 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003634/0.8942, allocations: 447.8 kB / 0.815 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 1.502e-05/0.8943, allocations: 3.938 kB / 0.815 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01671/0.911, allocations: 7.133 MB / 0.822 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.9111, allocations: 85.91 kB / 0.8221 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/0.9222, allocations: 5.463 MB / 0.8274 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0009001/0.9232, allocations: 89.69 kB / 0.8275 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00393/0.9271, allocations: 3.192 MB / 0.8306 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001938/0.9291, allocations: 1.113 MB / 0.8317 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.9303, allocations: 371.3 kB / 0.832 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9305, allocations: 305.1 kB / 0.8323 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004304/0.9348, allocations: 2.16 MB / 0.8344 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005342/0.9401, allocations: 3.693 MB / 0.838 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009787/0.95, allocations: 6.304 MB / 0.8442 GB, free: 12.03 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.339e-05/0.9501, allocations: 16 kB / 0.8442 GB, free: 12.01 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01539/0.9655, allocations: 6.764 MB / 0.8508 GB, free: 5.195 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.9656, allocations: 49.7 kB / 0.8509 GB, free: 5.141 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.765e-05/0.9657, allocations: 48 kB / 0.8509 GB, free: 5.094 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.9669, allocations: 443.2 kB / 0.8513 GB, free: 4.656 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004284/0.9712, allocations: 1.01 MB / 0.8523 GB, free: 3.645 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6581/1.629, allocations: 5.258 MB / 0.8575 GB, free: 186 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005678/1.635, allocations: 475.3 kB / 0.8579 GB, free: 186 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008364/1.636, allocations: 213.9 kB / 0.8581 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.00474/1.641, allocations: 2.486 MB / 0.8605 GB, free: 185.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.642, allocations: 0.5251 MB / 0.8611 GB, free: 185.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008293/1.65, allocations: 5.263 MB / 0.8662 GB, free: 185.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/1.65, allocations: 29.06 kB / 0.8662 GB, free: 185.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.65, allocations: 7.938 kB / 0.8662 GB, free: 185.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005643/1.656, allocations: 4.536 MB / 0.8707 GB, free: 184.3 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.02072/1.677, allocations: 12 MB / 0.8824 GB, free: 179.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.677, allocations: 0 / 0.8824 GB, free: 179.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00276/1.68, allocations: 0.6511 MB / 0.883 GB, free: 179.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008755/1.681, allocations: 373 kB / 0.8834 GB, free: 179.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003799/1.681, allocations: 80.91 kB / 0.8834 GB, free: 179.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005027/1.686, allocations: 5.187 MB / 0.8885 GB, free: 175.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.686, allocations: 4.297 kB / 0.8885 GB, free: 175.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.699, allocations: 7.634 MB / 0.896 GB, free: 173 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003883/1.703, allocations: 1.221 MB / 0.8972 GB, free: 172.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001582/1.704, allocations: 65.84 kB / 0.8972 GB, free: 172.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004967/1.709, allocations: 474.7 kB / 0.8977 GB, free: 172.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006689/1.71, allocations: 204.2 kB / 0.8979 GB, free: 172.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004302/1.711, allocations: 145.7 kB / 0.898 GB, free: 172.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007798/1.718, allocations: 3.804 MB / 0.9017 GB, free: 170.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.91e-07/1.718, allocations: 5.281 kB / 0.9017 GB, free: 170.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007739/1.726, allocations: 1.981 MB / 0.9037 GB, free: 170.7 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.001639/1.728, allocations: 490.3 kB / 0.9041 GB, free: 170.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009745/1.738, allocations: 5.379 MB / 0.9094 GB, free: 168.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.738, allocations: 7.75 kB / 0.9094 GB, free: 168.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004745/1.742, allocations: 2.506 MB / 0.9118 GB, free: 167.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02036/1.763, allocations: 3.242 MB / 0.915 GB, free: 166.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02571/1.789, allocations: 16.73 MB / 0.9313 GB, free: 158 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003786/1.792, allocations: 4.557 MB / 0.9358 GB, free: 156.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/1.794, allocations: 486.1 kB / 0.9363 GB, free: 156.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.052e-06/1.794, allocations: 0 / 0.9363 GB, free: 156.4 MB / 0.67 GB Notification: Performance of Templates: time 0.5057/2.3, allocations: 185.2 MB / 1.117 GB, free: 207 MB / 0.7013 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)