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.001126/0.001126, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001099/0.001099, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 284 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8794/0.8794, allocations: 169.3 MB / 0.4989 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 94.16 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.167, allocations: 86.98 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3141/0.4811, allocations: 49.27 MB / 0.7297 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01989/0.5011, allocations: 13.83 MB / 0.7432 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.5039, allocations: 68.25 kB / 0.7433 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.5064, allocations: 0.7998 MB / 0.7441 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006604/0.5131, allocations: 2.255 MB / 0.7463 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.5164, allocations: 1.315 MB / 0.7475 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01847/0.5349, allocations: 19.59 MB / 0.7667 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01154/0.5464, allocations: 9.912 MB / 0.7764 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01389/0.5604, allocations: 6.528 MB / 0.7827 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009664/0.57, allocations: 5.743 MB / 0.7883 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002341/0.5724, allocations: 0.8477 MB / 0.7892 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005852/0.5783, allocations: 1.604 MB / 0.7907 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004424/0.5827, allocations: 2.115 MB / 0.7928 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01044/0.5932, allocations: 4.291 MB / 0.797 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.6084, allocations: 12.07 MB / 0.8088 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.6085, allocations: 4 kB / 0.8088 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6085, allocations: 0 / 0.8088 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004195/0.6089, allocations: 0 / 0.8088 GB, free: 12.41 MB / 0.5762 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.02069/0.6296, allocations: 7.73 MB / 0.8163 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6297, allocations: 12.03 kB / 0.8163 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.6327, allocations: 0.7891 MB / 0.8171 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.6445, allocations: 6.303 MB / 0.8233 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.6448, allocations: 419.6 kB / 0.8237 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.6464, allocations: 0.5427 MB / 0.8242 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/0.6617, allocations: 8.08 MB / 0.8321 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/0.6619, allocations: 15.94 kB / 0.8321 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006172/0.6625, allocations: 239.9 kB / 0.8323 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.6626, allocations: 164 kB / 0.8325 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.6745, allocations: 6.524 MB / 0.8389 GB, free: 13.21 MB / 0.6075 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.04207/0.7166, allocations: 31.19 MB / 0.8693 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005201/0.7218, allocations: 3.655 MB / 0.8729 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003622/0.7254, allocations: 2.804 MB / 0.8756 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008923/0.7264, allocations: 0.8241 MB / 0.8764 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.62e-05/0.7264, allocations: 76.61 kB / 0.8765 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 4.489e-06/0.7265, allocations: 3.938 kB / 0.8765 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01048/0.7369, allocations: 5.759 MB / 0.8821 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.737, allocations: 89.5 kB / 0.8822 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007545/0.7446, allocations: 5.231 MB / 0.8873 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006045/0.7452, allocations: 81.64 kB / 0.8874 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002195/0.7474, allocations: 2.856 MB / 0.8902 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.7487, allocations: 0.9398 MB / 0.8911 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009572/0.7496, allocations: 0.7152 MB / 0.8918 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.7497, allocations: 305.1 kB / 0.8921 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/0.7522, allocations: 1.674 MB / 0.8937 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/0.7554, allocations: 2.936 MB / 0.8966 GB, free: 15.33 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00607/0.7614, allocations: 4.966 MB / 0.9015 GB, free: 9.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-05/0.7615, allocations: 12 kB / 0.9015 GB, free: 9.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008998/0.7705, allocations: 5.445 MB / 0.9068 GB, free: 4.258 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.7706, allocations: 24 kB / 0.9068 GB, free: 4.234 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.953e-05/0.7706, allocations: 40 kB / 0.9068 GB, free: 4.195 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009467/0.7716, allocations: 416.9 kB / 0.9072 GB, free: 3.785 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/0.7745, allocations: 0.8619 MB / 0.9081 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/0.78, allocations: 5.693 MB / 0.9136 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004239/0.7842, allocations: 0.5184 MB / 0.9141 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005354/0.7848, allocations: 184 kB / 0.9143 GB, free: 12.25 MB / 0.6856 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.003738/0.7885, allocations: 2.276 MB / 0.9165 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/0.7899, allocations: 490.1 kB / 0.917 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006459/0.7964, allocations: 4.188 MB / 0.9211 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.7964, allocations: 31.98 kB / 0.9211 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.7965, allocations: 4 kB / 0.9211 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004759/0.8012, allocations: 3.632 MB / 0.9247 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/0.8192, allocations: 10.26 MB / 0.9347 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/0.8192, allocations: 4 kB / 0.9347 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/0.8213, allocations: 0.5038 MB / 0.9352 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008007/0.8221, allocations: 384.3 kB / 0.9356 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.8223, allocations: 71.97 kB / 0.9356 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005229/0.8276, allocations: 5.634 MB / 0.9411 GB, free: 152 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.8276, allocations: 7.938 kB / 0.9411 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009552/0.8372, allocations: 6.246 MB / 0.9472 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003399/0.8406, allocations: 1.092 MB / 0.9483 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/0.8416, allocations: 75.84 kB / 0.9484 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002696/0.8443, allocations: 179.8 kB / 0.9486 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.8447, allocations: 181.6 kB / 0.9487 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002633/0.8449, allocations: 123.9 kB / 0.9488 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005772/0.8507, allocations: 3.843 MB / 0.9526 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8507, allocations: 0 / 0.9526 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005733/0.8565, allocations: 1.8 MB / 0.9544 GB, free: 2.422 MB / 0.7169 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.00146/0.8579, allocations: 496.5 kB / 0.9548 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.2769/1.135, allocations: 4.275 MB / 0.959 GB, free: 231.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/1.135, allocations: 3.625 kB / 0.959 GB, free: 231.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003455/1.138, allocations: 2.037 MB / 0.961 GB, free: 231 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01537/1.154, allocations: 3.448 MB / 0.9644 GB, free: 230.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/1.174, allocations: 12.48 MB / 0.9766 GB, free: 224.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004774/1.179, allocations: 4.3 MB / 0.9808 GB, free: 223.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006292/1.185, allocations: 1.851 MB / 0.9826 GB, free: 223.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/1.186, allocations: 425 kB / 0.983 GB, free: 223.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.162e-06/1.186, allocations: 0 / 0.983 GB, free: 223.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.1373/1.324, allocations: 111.8 MB / 1.092 GB, free: 126.7 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)