Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.001472/0.001472, 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.001852/0.001852, allocations: 169 kB / 23.49 MB, free: 1.062 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.9785/0.9785, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.002117/0.002117, allocations: 236.5 kB / 260.5 MB, free: 12.87 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.7271/0.7271, allocations: 138.4 MB / 455.4 MB, free: 1.504 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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.745e-05/4.018e-05, allocations: 5.828 kB / 0.555 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2948/0.2948, allocations: 51.05 MB / 0.6049 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01622/0.311, allocations: 14.36 MB / 0.6189 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.3132, allocations: 90.66 kB / 0.619 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.315, allocations: 0.8203 MB / 0.6198 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005475/0.3205, allocations: 2.463 MB / 0.6222 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.3235, allocations: 1.399 MB / 0.6236 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01775/0.3412, allocations: 20.57 MB / 0.6436 GB, free: 49.86 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.3514, allocations: 6.738 MB / 0.6502 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02134/0.3728, allocations: 9.345 MB / 0.6594 GB, free: 42.52 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01143/0.3842, allocations: 5.972 MB / 0.6652 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003175/0.3874, allocations: 0.8446 MB / 0.666 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00657/0.3939, allocations: 1.509 MB / 0.6675 GB, free: 38.57 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003728/0.3977, allocations: 2.279 MB / 0.6697 GB, free: 36.42 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.008285/0.4059, allocations: 3.053 MB / 0.6727 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.4171, allocations: 7.56 MB / 0.6801 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.4171, allocations: 0 / 0.6801 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4171, allocations: 0 / 0.6801 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003655/0.4174, allocations: 4 kB / 0.6801 GB, free: 26.36 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01032/0.4278, allocations: 8.285 MB / 0.6882 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4278, allocations: 8.75 kB / 0.6882 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.4303, allocations: 1.396 MB / 0.6895 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00707/0.4374, allocations: 5.738 MB / 0.6951 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.4375, allocations: 417.2 kB / 0.6955 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005535/0.4381, allocations: 0.5616 MB / 0.6961 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006512/0.4446, allocations: 5.891 MB / 0.7018 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.4447, allocations: 23.77 kB / 0.7019 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004659/0.4452, allocations: 234.3 kB / 0.7021 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.4453, allocations: 167.9 kB / 0.7022 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005295/0.4506, allocations: 2.083 MB / 0.7043 GB, free: 1.258 MB / 0.5105 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.03201/0.4826, allocations: 23.24 MB / 0.727 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/0.4862, allocations: 1.689 MB / 0.7286 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/0.4886, allocations: 1.369 MB / 0.73 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/0.4891, allocations: 150 kB / 0.7301 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.4893, allocations: 75.48 kB / 0.7302 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=267): time 6.542e-06/0.4893, allocations: 0 / 0.7302 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of matching and sorting (n=267): time 0.007128/0.4964, allocations: 2.879 MB / 0.733 GB, free: 3.566 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4965, allocations: 81.52 kB / 0.7331 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006015/0.5025, allocations: 3.805 MB / 0.7368 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004503/0.503, allocations: 73.7 kB / 0.7369 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002421/0.5054, allocations: 3.172 MB / 0.74 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.5066, allocations: 1.028 MB / 0.741 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.5076, allocations: 0.7821 MB / 0.7417 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5077, allocations: 476.8 kB / 0.7422 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009909/0.5087, allocations: 0.5108 MB / 0.7427 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.5105, allocations: 2.452 MB / 0.7451 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/0.5135, allocations: 3.179 MB / 0.7482 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.661e-05/0.5135, allocations: 12 kB / 0.7482 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.005153/0.5187, allocations: 3.158 MB / 0.7513 GB, free: 15.14 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.5187, allocations: 24 kB / 0.7513 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/0.5188, allocations: 40 kB / 0.7513 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.52, allocations: 404.1 kB / 0.7517 GB, free: 14.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.5216, allocations: 0.858 MB / 0.7526 GB, free: 13.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/0.5253, allocations: 5.287 MB / 0.7577 GB, free: 8.309 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/0.5283, allocations: 472.7 kB / 0.7582 GB, free: 7.848 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000487/0.5288, allocations: 177 kB / 0.7583 GB, free: 7.676 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.001993/0.5308, allocations: 419.2 kB / 0.7587 GB, free: 7.254 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/0.5322, allocations: 0.5245 MB / 0.7592 GB, free: 6.727 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/0.5357, allocations: 2.143 MB / 0.7613 GB, free: 4.531 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.5357, allocations: 31.98 kB / 0.7614 GB, free: 4.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.5357, allocations: 4 kB / 0.7614 GB, free: 4.496 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002221/0.5379, allocations: 1.718 MB / 0.7631 GB, free: 2.664 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.5498, allocations: 7.135 MB / 0.77 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.5498, allocations: 4.562 kB / 0.77 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.551, allocations: 0.5032 MB / 0.7705 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.5522, allocations: 353.2 kB / 0.7709 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/0.5524, allocations: 83.89 kB / 0.7709 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/0.5558, allocations: 5.223 MB / 0.776 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5559, allocations: 8 kB / 0.776 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005049/0.5609, allocations: 2.991 MB / 0.779 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002858/0.5638, allocations: 0.8949 MB / 0.7798 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00125/0.565, allocations: 63.98 kB / 0.7799 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/0.5673, allocations: 166.6 kB / 0.7801 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/0.5676, allocations: 189.5 kB / 0.7802 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000207/0.5678, allocations: 123.9 kB / 0.7804 GB, free: 416 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002797/0.5706, allocations: 1.984 MB / 0.7823 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.5706, allocations: 0 / 0.7823 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004635/0.5753, allocations: 1.894 MB / 0.7841 GB, free: 12.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0009494/0.5762, allocations: 484.2 kB / 0.7846 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003886/0.5801, allocations: 2.447 MB / 0.787 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.5801, allocations: 7.781 kB / 0.787 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.5816, allocations: 1.34 MB / 0.7883 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008552/0.5902, allocations: 2.66 MB / 0.7909 GB, free: 5.637 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.6052, allocations: 9.843 MB / 0.8005 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/0.6068, allocations: 1.624 MB / 0.8021 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003787/0.6106, allocations: 1.376 MB / 0.8034 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.6118, allocations: 380.3 kB / 0.8038 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of SimCode: time 2.134e-06/0.6118, allocations: 0 / 0.8038 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of Templates: time 0.3108/0.9225, allocations: 93.54 MB / 0.8952 GB, free: 198.8 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.997365545947105]