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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.796/0.796, allocations: 143.4 MB / 159.2 MB, free: 4.863 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 188.4 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.759/1.759, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 91.2 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001933/0.001933, allocations: 280.1 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 87.86 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4123, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04367/0.456, allocations: 48.97 MB / 0.8157 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01973/0.4758, allocations: 13.78 MB / 0.8292 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003336/0.4791, allocations: 63.62 kB / 0.8293 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.4824, allocations: 0.6525 MB / 0.8299 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.008356/0.4908, allocations: 2.076 MB / 0.8319 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.4944, allocations: 1.185 MB / 0.8331 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.02481/0.5192, allocations: 25.64 MB / 0.8581 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01104/0.5303, allocations: 8.098 MB / 0.866 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.5416, allocations: 5.039 MB / 0.871 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01115/0.5528, allocations: 5.602 MB / 0.8764 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.002919/0.5557, allocations: 420 kB / 0.8768 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007448/0.5632, allocations: 1.1 MB / 0.8779 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.004955/0.5682, allocations: 1.619 MB / 0.8795 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.01187/0.5801, allocations: 3.733 MB / 0.8831 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01904/0.5992, allocations: 11.53 MB / 0.8944 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.5993, allocations: 0 / 0.8944 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5993, allocations: 0 / 0.8944 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005848/0.5999, allocations: 0 / 0.8944 GB, free: 9.668 MB / 0.5573 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.02599/0.6259, allocations: 7.663 MB / 0.9019 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.6259, allocations: 11.97 kB / 0.9019 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005101/0.6311, allocations: 0.7776 MB / 0.9026 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3642/0.9953, allocations: 6.115 MB / 0.9086 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008554/0.9962, allocations: 417.3 kB / 0.909 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003617/0.9999, allocations: 0.5407 MB / 0.9095 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/1.022, allocations: 8.067 MB / 0.9174 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/1.022, allocations: 23.36 kB / 0.9174 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007727/1.023, allocations: 235.2 kB / 0.9177 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002963/1.023, allocations: 163.2 kB / 0.9178 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/1.035, allocations: 6.529 MB / 0.9242 GB, free: 112.3 MB / 0.5573 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.04123/1.076, allocations: 31.08 MB / 0.9545 GB, free: 80.46 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00511/1.081, allocations: 3.654 MB / 0.9581 GB, free: 76.81 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/1.085, allocations: 2.81 MB / 0.9609 GB, free: 74 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008195/1.085, allocations: 0.8228 MB / 0.9617 GB, free: 73.02 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.5e-05/1.085, allocations: 72.67 kB / 0.9617 GB, free: 72.94 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=267): time 5.22e-06/1.085, allocations: 4 kB / 0.9617 GB, free: 72.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=267): time 0.01045/1.096, allocations: 5.759 MB / 0.9674 GB, free: 67.08 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/1.096, allocations: 77.52 kB / 0.9674 GB, free: 66.99 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00994/1.106, allocations: 4.947 MB / 0.9723 GB, free: 62.05 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007897/1.107, allocations: 81.7 kB / 0.9723 GB, free: 61.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00241/1.109, allocations: 2.844 MB / 0.9751 GB, free: 59.11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001569/1.111, allocations: 0.9363 MB / 0.976 GB, free: 58.17 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/1.113, allocations: 0.7152 MB / 0.9767 GB, free: 57.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.352e-05/1.113, allocations: 301.1 kB / 0.977 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002699/1.116, allocations: 1.674 MB / 0.9786 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00321/1.119, allocations: 2.932 MB / 0.9815 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005784/1.125, allocations: 4.97 MB / 0.9864 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.032e-05/1.125, allocations: 12 kB / 0.9864 GB, free: 46.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009314/1.134, allocations: 5.434 MB / 0.9917 GB, free: 40.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/1.134, allocations: 21.78 kB / 0.9917 GB, free: 40.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.615e-05/1.134, allocations: 44 kB / 0.9917 GB, free: 40.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/1.135, allocations: 418.2 kB / 0.9921 GB, free: 40.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/1.138, allocations: 0.858 MB / 0.993 GB, free: 39.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004863/1.143, allocations: 5.26 MB / 0.9981 GB, free: 34.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005577/1.149, allocations: 0.651 MB / 0.9988 GB, free: 33.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006603/1.149, allocations: 180 kB / 0.9989 GB, free: 33.25 MB / 0.5573 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.00446/1.154, allocations: 2.263 MB / 1.001 GB, free: 30.97 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002083/1.156, allocations: 478.3 kB / 1.002 GB, free: 30.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007614/1.163, allocations: 4.186 MB / 1.006 GB, free: 26.26 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/1.164, allocations: 28 kB / 1.006 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/1.164, allocations: 4 kB / 1.006 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004636/1.168, allocations: 3.631 MB / 1.009 GB, free: 22.48 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02186/1.19, allocations: 10.19 MB / 1.019 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.19, allocations: 8.062 kB / 1.019 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/1.192, allocations: 0.4954 MB / 1.02 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008219/1.193, allocations: 371.3 kB / 1.02 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003731/1.193, allocations: 79.95 kB / 1.02 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004396/1.198, allocations: 5.206 MB / 1.025 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.198, allocations: 12 kB / 1.025 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07588/1.274, allocations: 35.24 MB / 1.06 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004153/1.278, allocations: 1.072 MB / 1.061 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001855/1.28, allocations: 63.92 kB / 1.061 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004535/1.284, allocations: 329.7 kB / 1.061 GB, free: 344 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005933/1.285, allocations: 173.6 kB / 1.061 GB, free: 172 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005446/1.286, allocations: 135.9 kB / 1.061 GB, free: 36 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.007543/1.293, allocations: 3.622 MB / 1.065 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/1.293, allocations: 0 / 1.065 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.013/1.306, allocations: 2.596 MB / 1.067 GB, free: 9.844 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.001793/1.308, allocations: 490.1 kB / 1.068 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008078/1.316, allocations: 4.241 MB / 1.072 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/1.316, allocations: 4.5 kB / 1.072 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003474/1.32, allocations: 2.047 MB / 1.074 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01895/1.339, allocations: 3.285 MB / 1.077 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02896/1.368, allocations: 17.01 MB / 1.094 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007571/1.375, allocations: 4.342 MB / 1.098 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01051/1.386, allocations: 1.975 MB / 1.1 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002654/1.389, allocations: 439.3 kB / 1.1 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of SimCode: time 9.81e-07/1.389, allocations: 0 / 1.1 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of Templates: time 0.5489/1.937, allocations: 122.8 MB / 1.22 GB, free: 207.4 MB / 0.698 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)