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.001851/0.001851, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002279/0.002279, allocations: 193.5 kB / 16.14 MB, free: 6.715 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.507/1.507, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002603/0.002603, allocations: 282.9 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 99.88 kB / 0.6057 GB, free: 25.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1858, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05137/0.2372, allocations: 48.98 MB / 0.7406 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01989/0.2572, allocations: 13.83 MB / 0.7541 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002782/0.26, allocations: 67.62 kB / 0.7542 GB, free: 5.762 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.2624, allocations: 0.6564 MB / 0.7548 GB, free: 5.102 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006306/0.2687, allocations: 2.084 MB / 0.7569 GB, free: 3.008 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.2721, allocations: 1.188 MB / 0.758 GB, free: 1.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3798/0.6519, allocations: 25.63 MB / 0.783 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01483/0.6668, allocations: 8.088 MB / 0.7909 GB, free: 24.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01376/0.6805, allocations: 4.995 MB / 0.7958 GB, free: 23.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01283/0.6934, allocations: 5.601 MB / 0.8013 GB, free: 22.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002142/0.6956, allocations: 422.5 kB / 0.8017 GB, free: 22.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006398/0.702, allocations: 1.105 MB / 0.8028 GB, free: 22.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002407/0.7044, allocations: 1.612 MB / 0.8043 GB, free: 21.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007999/0.7124, allocations: 3.76 MB / 0.808 GB, free: 19.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.7267, allocations: 11.57 MB / 0.8193 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7268, allocations: 7.594 kB / 0.8193 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7268, allocations: 0 / 0.8193 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004837/0.7273, allocations: 0 / 0.8193 GB, free: 11.97 MB / 0.5606 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.01903/0.7463, allocations: 7.717 MB / 0.8269 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7463, allocations: 12.03 kB / 0.8269 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/0.7491, allocations: 0.7813 MB / 0.8276 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.7613, allocations: 6.238 MB / 0.8337 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000349/0.7617, allocations: 414.1 kB / 0.8341 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.763, allocations: 0.5447 MB / 0.8347 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/0.7786, allocations: 8.071 MB / 0.8425 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.7788, allocations: 23.83 kB / 0.8426 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006728/0.7795, allocations: 239.9 kB / 0.8428 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001723/0.7797, allocations: 160 kB / 0.8429 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.7919, allocations: 6.524 MB / 0.8493 GB, free: 13.21 MB / 0.5919 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.04818/0.8401, allocations: 31.12 MB / 0.8797 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006544/0.8467, allocations: 3.646 MB / 0.8833 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004516/0.8513, allocations: 2.809 MB / 0.886 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.8524, allocations: 0.8249 MB / 0.8868 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.036e-05/0.8525, allocations: 72.61 kB / 0.8869 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=267): time 4.348e-06/0.8525, allocations: 3.938 kB / 0.8869 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of matching and sorting (n=267): time 0.01193/0.8645, allocations: 5.762 MB / 0.8925 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.8646, allocations: 77.52 kB / 0.8926 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/0.8748, allocations: 5.032 MB / 0.8975 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001462/0.8763, allocations: 81.64 kB / 0.8976 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00363/0.8799, allocations: 2.871 MB / 0.9004 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002456/0.8824, allocations: 0.9331 MB / 0.9013 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/0.8837, allocations: 0.7113 MB / 0.902 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8838, allocations: 309.1 kB / 0.9023 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/0.8868, allocations: 1.674 MB / 0.9039 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00404/0.8909, allocations: 2.931 MB / 0.9068 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007926/0.8988, allocations: 4.964 MB / 0.9116 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.166e-05/0.8989, allocations: 16 kB / 0.9116 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01196/0.9109, allocations: 5.434 MB / 0.917 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.911, allocations: 25.09 kB / 0.917 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-05/0.911, allocations: 47.91 kB / 0.917 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.9121, allocations: 423.1 kB / 0.9174 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/0.9153, allocations: 0.8619 MB / 0.9183 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00646/0.9218, allocations: 5.267 MB / 0.9234 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00596/0.9277, allocations: 0.6432 MB / 0.924 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007821/0.9286, allocations: 180 kB / 0.9242 GB, free: 13.22 MB / 0.67 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.005136/0.9337, allocations: 2.284 MB / 0.9264 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/0.9355, allocations: 490.1 kB / 0.9269 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007944/0.9434, allocations: 4.181 MB / 0.931 GB, free: 6.211 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/0.9435, allocations: 28 kB / 0.931 GB, free: 6.184 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.9435, allocations: 4 kB / 0.931 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005863/0.9494, allocations: 3.64 MB / 0.9346 GB, free: 2.426 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02487/0.9743, allocations: 10.21 MB / 0.9445 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.9744, allocations: 4 kB / 0.9445 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/0.9767, allocations: 0.4993 MB / 0.945 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009394/0.9776, allocations: 375.9 kB / 0.9454 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002289/0.9779, allocations: 79.95 kB / 0.9455 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00612/0.984, allocations: 5.202 MB / 0.9506 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.984, allocations: 4 kB / 0.9506 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/0.9955, allocations: 6.247 MB / 0.9567 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003561/0.9991, allocations: 1.076 MB / 0.9577 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001574/1.001, allocations: 67.92 kB / 0.9578 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004136/1.005, allocations: 334.8 kB / 0.9581 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/1.005, allocations: 177.6 kB / 0.9583 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003732/1.006, allocations: 123.9 kB / 0.9584 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.007375/1.013, allocations: 3.691 MB / 0.962 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.5e-07/1.013, allocations: 0 / 0.962 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.007494/1.021, allocations: 1.781 MB / 0.9637 GB, free: 4.02 MB / 0.7012 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.00205/1.023, allocations: 491.2 kB / 0.9642 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008158/1.031, allocations: 4.254 MB / 0.9683 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/1.031, allocations: 8 kB / 0.9684 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003787/1.035, allocations: 2.035 MB / 0.9703 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01933/1.054, allocations: 3.271 MB / 0.9735 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02826/1.082, allocations: 14.89 MB / 0.9881 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005716/1.088, allocations: 4.307 MB / 0.9923 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.006779/1.095, allocations: 1.839 MB / 0.9941 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/1.096, allocations: 411.2 kB / 0.9945 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/1.096, allocations: 4 kB / 0.9945 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of Templates: time 0.5043/1.601, allocations: 110.9 MB / 1.103 GB, free: 250.2 MB / 0.7794 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)