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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005999/0.005999, allocations: 100 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.38/1.38, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003452/0.003452, allocations: 286.7 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9476/0.9476, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 103.8 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1727, allocations: 86.97 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.4121/0.5848, allocations: 49.27 MB / 0.8145 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.6056, allocations: 13.82 MB / 0.828 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0039/0.6095, allocations: 67.72 kB / 0.828 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003883/0.6135, allocations: 0.8057 MB / 0.8288 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007691/0.6212, allocations: 2.253 MB / 0.831 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.6249, allocations: 1.318 MB / 0.8323 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02611/0.6511, allocations: 19.59 MB / 0.8515 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01964/0.6707, allocations: 9.904 MB / 0.8611 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01519/0.686, allocations: 6.599 MB / 0.8676 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009701/0.6957, allocations: 5.762 MB / 0.8732 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002669/0.6984, allocations: 0.8438 MB / 0.874 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006364/0.7048, allocations: 1.6 MB / 0.8756 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004332/0.7091, allocations: 2.119 MB / 0.8777 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008295/0.7174, allocations: 4.295 MB / 0.8818 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.7304, allocations: 12.08 MB / 0.8936 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7305, allocations: 0 / 0.8936 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7305, allocations: 0 / 0.8936 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003329/0.7308, allocations: 0 / 0.8936 GB, free: 0.6836 MB / 0.6387 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.01622/0.747, allocations: 7.733 MB / 0.9012 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.7471, allocations: 8.031 kB / 0.9012 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/0.7497, allocations: 0.7852 MB / 0.902 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/0.7634, allocations: 6.314 MB / 0.9081 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/0.7638, allocations: 411.6 kB / 0.9085 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/0.7653, allocations: 0.5505 MB / 0.9091 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/0.7796, allocations: 8.068 MB / 0.9169 GB, free: 8.434 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.7797, allocations: 15.83 kB / 0.917 GB, free: 8.418 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006058/0.7803, allocations: 236 kB / 0.9172 GB, free: 8.188 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/0.7805, allocations: 167.9 kB / 0.9173 GB, free: 8.023 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.7929, allocations: 6.524 MB / 0.9237 GB, free: 1.488 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 preOpt removeSimpleEquations (simulation): time 0.04829/0.8412, allocations: 31.21 MB / 0.9542 GB, free: 452 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006759/0.848, allocations: 3.65 MB / 0.9578 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004669/0.8528, allocations: 2.788 MB / 0.9605 GB, free: 10 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.8539, allocations: 0.8397 MB / 0.9613 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.997e-05/0.854, allocations: 72.61 kB / 0.9614 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 7.604e-06/0.854, allocations: 0 / 0.9614 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01292/0.867, allocations: 5.763 MB / 0.967 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.867, allocations: 81.52 kB / 0.9671 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/0.8773, allocations: 5.224 MB / 0.9722 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005964/0.8779, allocations: 81.7 kB / 0.9722 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003097/0.8811, allocations: 2.872 MB / 0.9751 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001594/0.8827, allocations: 0.9359 MB / 0.976 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001689/0.8844, allocations: 0.7113 MB / 0.9767 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.8845, allocations: 313.1 kB / 0.977 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/0.8873, allocations: 1.678 MB / 0.9786 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003445/0.8908, allocations: 2.928 MB / 0.9815 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006162/0.8969, allocations: 4.966 MB / 0.9863 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.861e-05/0.897, allocations: 12 kB / 0.9863 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009148/0.9062, allocations: 5.433 MB / 0.9916 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.9062, allocations: 26.03 kB / 0.9917 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-05/0.9063, allocations: 40.91 kB / 0.9917 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.9073, allocations: 417.3 kB / 0.9921 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002901/0.9102, allocations: 0.8619 MB / 0.9929 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.9159, allocations: 5.699 MB / 0.9985 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004004/0.9199, allocations: 0.5144 MB / 0.999 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004105/0.9203, allocations: 180 kB / 0.9992 GB, free: 0.543 MB / 0.7481 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.003912/0.9242, allocations: 2.285 MB / 1.001 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/0.9259, allocations: 486.1 kB / 1.002 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00747/0.9334, allocations: 4.188 MB / 1.006 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.9334, allocations: 28 kB / 1.006 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.9334, allocations: 4 kB / 1.006 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005114/0.9386, allocations: 3.639 MB / 1.01 GB, free: 5.738 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/0.9579, allocations: 10.26 MB / 1.02 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.958, allocations: 4 kB / 1.02 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/0.9601, allocations: 0.4954 MB / 1.02 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008289/0.9609, allocations: 377.5 kB / 1.02 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/0.9612, allocations: 71.95 kB / 1.02 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005897/0.9671, allocations: 5.645 MB / 1.026 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/0.9671, allocations: 7.938 kB / 1.026 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009955/0.9771, allocations: 6.247 MB / 1.032 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003213/0.9803, allocations: 1.096 MB / 1.033 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/0.9818, allocations: 67.92 kB / 1.033 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003313/0.9852, allocations: 171.5 kB / 1.033 GB, free: 12.65 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/0.9855, allocations: 181.6 kB / 1.034 GB, free: 12.47 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003636/0.9859, allocations: 123.9 kB / 1.034 GB, free: 12.35 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.007765/0.9937, allocations: 3.847 MB / 1.037 GB, free: 8.52 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9937, allocations: 0 / 1.037 GB, free: 8.52 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007463/1.001, allocations: 1.8 MB / 1.039 GB, free: 6.715 MB / 0.795 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.001524/1.003, allocations: 496.8 kB / 1.04 GB, free: 6.234 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007457/1.01, allocations: 4.29 MB / 1.044 GB, free: 1.906 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.01, allocations: 0 / 1.044 GB, free: 1.906 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002968/1.013, allocations: 2.035 MB / 1.046 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01756/1.031, allocations: 3.44 MB / 1.049 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/1.056, allocations: 12.49 MB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004532/1.06, allocations: 4.303 MB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005588/1.066, allocations: 1.853 MB / 1.067 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.067, allocations: 423.2 kB / 1.068 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of SimCode: time 1.402e-06/1.067, allocations: 0 / 1.068 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of Templates: time 0.5592/1.626, allocations: 114.6 MB / 1.18 GB, free: 220.1 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)