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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7026/0.7026, allocations: 128.7 MB / 144.5 MB, free: 1.402 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 179.4 kB / 174.2 MB, free: 5.93 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205 MB / 408.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 106.1 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 59.73 kB / 0.558 GB, free: 97.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1238, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05451/0.1784, allocations: 63.19 MB / 0.6934 GB, free: 1.602 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.02126/0.1997, allocations: 17.8 MB / 0.7108 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.2024, allocations: 67.62 kB / 0.7108 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003712/0.2062, allocations: 0.7185 MB / 0.7115 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00787/0.2141, allocations: 2.286 MB / 0.7138 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004691/0.2188, allocations: 1.252 MB / 0.715 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.3389/0.5578, allocations: 27.4 MB / 0.7417 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.5688, allocations: 8.567 MB / 0.7501 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.5798, allocations: 5.462 MB / 0.7554 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01067/0.5905, allocations: 6.128 MB / 0.7614 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002524/0.593, allocations: 469.4 kB / 0.7619 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00647/0.5995, allocations: 1.153 MB / 0.763 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003539/0.6031, allocations: 1.717 MB / 0.7647 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.01076/0.6139, allocations: 4.034 MB / 0.7686 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.02125/0.6351, allocations: 13 MB / 0.7813 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6352, allocations: 3.688 kB / 0.7813 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6352, allocations: 0 / 0.7813 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006594/0.6359, allocations: 0 / 0.7813 GB, free: 1.043 MB / 0.5105 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.02776/0.6637, allocations: 8.319 MB / 0.7894 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6637, allocations: 13.84 kB / 0.7895 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/0.6686, allocations: 0.8351 MB / 0.7903 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.6818, allocations: 6.004 MB / 0.7961 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000423/0.6823, allocations: 462.9 kB / 0.7966 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004029/0.6863, allocations: 0.6027 MB / 0.7972 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0245/0.7108, allocations: 8.855 MB / 0.8058 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004207/0.7113, allocations: 19.84 kB / 0.8058 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002194/0.7135, allocations: 251.2 kB / 0.8061 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002062/0.7137, allocations: 182.3 kB / 0.8062 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/0.7293, allocations: 7.437 MB / 0.8135 GB, free: 8.117 MB / 0.5261 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.05965/0.7889, allocations: 35.25 MB / 0.8479 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007209/0.7962, allocations: 4.301 MB / 0.8521 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005553/0.8018, allocations: 3.297 MB / 0.8554 GB, free: 13.35 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.8032, allocations: 0.9631 MB / 0.8563 GB, free: 12.22 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004662/0.8079, allocations: 2.301 MB / 0.8585 GB, free: 9.887 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003313/0.8113, allocations: 447.5 kB / 0.859 GB, free: 9.445 MB / 0.573 GB Notification: Performance of pre-optimization done (n=325): time 1.054e-05/0.8113, allocations: 0 / 0.859 GB, free: 9.445 MB / 0.573 GB Notification: Performance of matching and sorting (n=325): time 0.01466/0.826, allocations: 7.105 MB / 0.8659 GB, free: 2.266 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.8261, allocations: 85.97 kB / 0.866 GB, free: 2.168 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/0.8378, allocations: 5.256 MB / 0.8711 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0009006/0.8387, allocations: 81.7 kB / 0.8712 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.003677/0.8424, allocations: 3.129 MB / 0.8743 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001943/0.8444, allocations: 1.155 MB / 0.8754 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002789/0.8472, allocations: 0.8544 MB / 0.8762 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.8473, allocations: 305.1 kB / 0.8765 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003794/0.8511, allocations: 2.136 MB / 0.8786 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004917/0.856, allocations: 3.699 MB / 0.8822 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.8663, allocations: 6.323 MB / 0.8884 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.313e-05/0.8664, allocations: 16 kB / 0.8884 GB, free: 10 MB / 0.6042 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01354/0.8799, allocations: 6.753 MB / 0.895 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.228e-05/0.88, allocations: 49.7 kB / 0.895 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-05/0.8801, allocations: 56 kB / 0.8951 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.8812, allocations: 430.9 kB / 0.8955 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004169/0.8854, allocations: 1.015 MB / 0.8965 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005592/0.891, allocations: 5.264 MB / 0.9016 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/0.8967, allocations: 430.8 kB / 0.902 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007311/0.8975, allocations: 220 kB / 0.9023 GB, free: 11.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 226 * 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 (547): * Single equations (assignments): 544 * 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.004783/0.9023, allocations: 2.451 MB / 0.9046 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/0.9037, allocations: 0.5094 MB / 0.9051 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008679/0.9124, allocations: 5.269 MB / 0.9103 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/0.9124, allocations: 39.69 kB / 0.9103 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.9125, allocations: 4 kB / 0.9103 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006202/0.9187, allocations: 4.541 MB / 0.9148 GB, free: 15.04 MB / 0.6355 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.02258/0.9413, allocations: 11.67 MB / 0.9262 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.9413, allocations: 0 / 0.9262 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002706/0.944, allocations: 0.637 MB / 0.9268 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008241/0.9449, allocations: 373.3 kB / 0.9271 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/0.9451, allocations: 83.95 kB / 0.9272 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005315/0.9504, allocations: 5.174 MB / 0.9323 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9505, allocations: 0 / 0.9323 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1028/1.053, allocations: 48.43 MB / 0.9796 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003547/1.057, allocations: 1.076 MB / 0.9806 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/1.058, allocations: 75.98 kB / 0.9807 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003779/1.062, allocations: 399.2 kB / 0.9811 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000549/1.062, allocations: 205.6 kB / 0.9813 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002964/1.063, allocations: 119.9 kB / 0.9814 GB, free: 10.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006329/1.069, allocations: 3.655 MB / 0.985 GB, free: 6.477 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/1.069, allocations: 0 / 0.985 GB, free: 6.477 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01172/1.081, allocations: 2.858 MB / 0.9877 GB, free: 3.613 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (304): * Single equations (assignments): 297 * 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.001456/1.082, allocations: 495.9 kB / 0.9882 GB, free: 3.188 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007959/1.09, allocations: 5.38 MB / 0.9935 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.09, allocations: 320 / 0.9935 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003537/1.094, allocations: 2.512 MB / 0.9959 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0155/1.109, allocations: 3.186 MB / 0.999 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2733/1.383, allocations: 19.02 MB / 1.018 GB, free: 269.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006452/1.389, allocations: 4.669 MB / 1.022 GB, free: 268.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.008575/1.398, allocations: 2.204 MB / 1.024 GB, free: 268.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/1.401, allocations: 488.7 kB / 1.025 GB, free: 268.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/1.401, allocations: 1.969 kB / 1.025 GB, free: 268.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.1655/1.566, allocations: 127.8 MB / 1.15 GB, free: 165.4 MB / 0.7136 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)