Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.954/0.954, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001832/0.001832, allocations: 237.6 kB / 260.5 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.785/0.785, allocations: 138.4 MB / 455.4 MB, free: 1.516 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.555 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.377e-05, allocations: 5.125 kB / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2979/0.2979, allocations: 58.02 MB / 0.6117 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01992/0.3178, allocations: 18.68 MB / 0.6299 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.3203, allocations: 101.2 kB / 0.63 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.3222, allocations: 0.9128 MB / 0.6309 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.3278, allocations: 2.74 MB / 0.6336 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.3311, allocations: 1.653 MB / 0.6352 GB, free: 56.65 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0172/0.3483, allocations: 22.22 MB / 0.6569 GB, free: 46.52 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008859/0.3571, allocations: 7.388 MB / 0.6641 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01683/0.374, allocations: 10.25 MB / 0.6741 GB, free: 36.44 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008451/0.3824, allocations: 6.565 MB / 0.6805 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001998/0.3844, allocations: 0.9375 MB / 0.6815 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/0.3883, allocations: 1.596 MB / 0.683 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.3897, allocations: 2.523 MB / 0.6855 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.005016/0.3947, allocations: 3.364 MB / 0.6888 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007267/0.4019, allocations: 8.281 MB / 0.6969 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4019, allocations: 0 / 0.6969 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4019, allocations: 3.938 kB / 0.6969 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002788/0.4022, allocations: 3.938 kB / 0.6969 GB, free: 13.12 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.009466/0.4117, allocations: 9.082 MB / 0.7057 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4117, allocations: 12.75 kB / 0.7057 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.4143, allocations: 1.518 MB / 0.7072 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00717/0.4214, allocations: 6.116 MB / 0.7132 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/0.4217, allocations: 464.5 kB / 0.7136 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006323/0.4223, allocations: 0.6136 MB / 0.7142 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008091/0.4304, allocations: 6.545 MB / 0.7206 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.4305, allocations: 23.83 kB / 0.7207 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004223/0.4309, allocations: 260 kB / 0.7209 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.4311, allocations: 179.9 kB / 0.7211 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/0.4358, allocations: 2.428 MB / 0.7234 GB, free: 1.035 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.02274/0.4585, allocations: 27.17 MB / 0.75 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.4609, allocations: 1.855 MB / 0.7518 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.4628, allocations: 1.525 MB / 0.7533 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005021/0.4633, allocations: 198.3 kB / 0.7535 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001935/0.4653, allocations: 2.219 MB / 0.7556 GB, free: 15.25 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001274/0.4665, allocations: 313.7 kB / 0.7559 GB, free: 14.94 MB / 0.573 GB Notification: Performance of pre-optimization done (n=317): time 7.204e-06/0.4665, allocations: 8 kB / 0.7559 GB, free: 14.93 MB / 0.573 GB Notification: Performance of matching and sorting (n=317): time 0.005388/0.4719, allocations: 3.38 MB / 0.7592 GB, free: 11.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.472, allocations: 93.89 kB / 0.7593 GB, free: 11.39 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00399/0.476, allocations: 4.203 MB / 0.7634 GB, free: 7.176 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.4761, allocations: 89.64 kB / 0.7635 GB, free: 7.082 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002126/0.4783, allocations: 3.5 MB / 0.7669 GB, free: 3.559 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007889/0.4791, allocations: 1.213 MB / 0.7681 GB, free: 2.336 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009039/0.48, allocations: 0.9299 MB / 0.769 GB, free: 1.391 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4801, allocations: 480.8 kB / 0.7695 GB, free: 0.918 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.4812, allocations: 0.6701 MB / 0.7701 GB, free: 240 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/0.4835, allocations: 3.039 MB / 0.7731 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003833/0.4874, allocations: 3.974 MB / 0.777 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.463e-05/0.4874, allocations: 16 kB / 0.777 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005442/0.4928, allocations: 3.886 MB / 0.7808 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.4929, allocations: 53.69 kB / 0.7809 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.76e-05/0.493, allocations: 52 kB / 0.7809 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.4942, allocations: 422 kB / 0.7813 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.4962, allocations: 0.9945 MB / 0.7823 GB, free: 1.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.4999, allocations: 5.278 MB / 0.7874 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.5023, allocations: 287.6 kB / 0.7877 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/0.5026, allocations: 216 kB / 0.7879 GB, free: 11.79 MB / 0.6042 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.001782/0.5043, allocations: 467.3 kB / 0.7884 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007651/0.5051, allocations: 0.5829 MB / 0.7889 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/0.5089, allocations: 2.648 MB / 0.7915 GB, free: 8.043 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/0.5089, allocations: 35.98 kB / 0.7915 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5089, allocations: 7.625 kB / 0.7916 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002684/0.5116, allocations: 2.051 MB / 0.7936 GB, free: 5.848 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.5221, allocations: 8.012 MB / 0.8014 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.5221, allocations: 0 / 0.8014 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.5235, allocations: 0.636 MB / 0.802 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009744/0.5245, allocations: 349.2 kB / 0.8023 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.5247, allocations: 83.95 kB / 0.8024 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.5277, allocations: 5.18 MB / 0.8075 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5277, allocations: 11.88 kB / 0.8075 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0049/0.5326, allocations: 3.497 MB / 0.8109 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.5341, allocations: 0.968 MB / 0.8118 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/0.5345, allocations: 63.98 kB / 0.8119 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.5358, allocations: 199.3 kB / 0.8121 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/0.5361, allocations: 206.1 kB / 0.8123 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/0.5363, allocations: 143.9 kB / 0.8124 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002336/0.5386, allocations: 2.166 MB / 0.8145 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5386, allocations: 4 kB / 0.8145 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004171/0.5428, allocations: 2.089 MB / 0.8166 GB, free: 13.79 MB / 0.6355 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.0008086/0.5436, allocations: 480.8 kB / 0.817 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003839/0.5474, allocations: 3.042 MB / 0.82 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5474, allocations: 4 kB / 0.82 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.549, allocations: 1.559 MB / 0.8215 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005868/0.5549, allocations: 2.832 MB / 0.8243 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.5676, allocations: 10.82 MB / 0.8349 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.5689, allocations: 1.774 MB / 0.8366 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003552/0.5725, allocations: 1.528 MB / 0.8381 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.5735, allocations: 432.3 kB / 0.8385 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/0.5735, allocations: 0 / 0.8385 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of Templates: time 0.3067/0.8802, allocations: 102.5 MB / 0.9386 GB, free: 155.4 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.187725387979299]