Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 99.3 kB / 16.27 MB, free: 5.93 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.001035/0.001036, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.246/1.246, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7133/0.7133, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2752, allocations: 77.93 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03669/0.3119, allocations: 49.28 MB / 0.6154 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01721/0.3291, allocations: 13.82 MB / 0.6289 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.3311, allocations: 67.62 kB / 0.629 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.3332, allocations: 0.8031 MB / 0.6298 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.3383, allocations: 2.258 MB / 0.632 GB, free: 8.441 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.3411, allocations: 1.306 MB / 0.6332 GB, free: 7.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01717/0.3583, allocations: 19.58 MB / 0.6524 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.3693, allocations: 9.906 MB / 0.662 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009975/0.3793, allocations: 6.497 MB / 0.6684 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007656/0.387, allocations: 5.751 MB / 0.674 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001984/0.389, allocations: 0.8477 MB / 0.6748 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00457/0.3935, allocations: 1.596 MB / 0.6764 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002682/0.3962, allocations: 2.123 MB / 0.6785 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005699/0.4019, allocations: 4.287 MB / 0.6826 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.4125, allocations: 11.94 MB / 0.6943 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4125, allocations: 0 / 0.6943 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4125, allocations: 0 / 0.6943 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001795/0.4127, allocations: 0 / 0.6943 GB, free: 8.387 MB / 0.5294 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.0134/0.4261, allocations: 7.731 MB / 0.7019 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4261, allocations: 12.62 kB / 0.7019 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001149/0.4273, allocations: 0.7642 MB / 0.7026 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.4296, allocations: 0.793 MB / 0.7034 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.4397, allocations: 6.041 MB / 0.7093 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.44, allocations: 419.2 kB / 0.7097 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008702/0.4409, allocations: 0.5429 MB / 0.7102 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.4527, allocations: 8.069 MB / 0.7181 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.4528, allocations: 19.78 kB / 0.7181 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005583/0.4534, allocations: 240 kB / 0.7183 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.4535, allocations: 164 kB / 0.7185 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.4638, allocations: 6.528 MB / 0.7249 GB, free: 8.676 MB / 0.5606 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.2322/0.696, allocations: 31.43 MB / 0.7556 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00543/0.7015, allocations: 3.649 MB / 0.7591 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003516/0.705, allocations: 2.809 MB / 0.7619 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007398/0.7058, allocations: 0.8287 MB / 0.7627 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.7058, allocations: 67.88 kB / 0.7627 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 4.739e-06/0.7059, allocations: 1.031 kB / 0.7627 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.009432/0.7153, allocations: 5.766 MB / 0.7684 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.7153, allocations: 82.8 kB / 0.7685 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006152/0.7215, allocations: 5.235 MB / 0.7736 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002746/0.7218, allocations: 80.61 kB / 0.7736 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.7234, allocations: 2.87 MB / 0.7764 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006799/0.7241, allocations: 0.9368 MB / 0.7774 GB, free: 134.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000808/0.7249, allocations: 0.7118 MB / 0.7781 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.073e-05/0.725, allocations: 301.1 kB / 0.7783 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.7269, allocations: 1.677 MB / 0.78 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.7293, allocations: 2.933 MB / 0.7828 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/0.7339, allocations: 4.967 MB / 0.7877 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.734, allocations: 13.16 kB / 0.7877 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006788/0.7407, allocations: 5.439 MB / 0.793 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.7408, allocations: 21.47 kB / 0.793 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.26e-05/0.7408, allocations: 44.41 kB / 0.7931 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007729/0.7416, allocations: 417.2 kB / 0.7935 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.7442, allocations: 0.8606 MB / 0.7943 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.7482, allocations: 5.71 MB / 0.7999 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/0.7516, allocations: 0.5183 MB / 0.8004 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.7519, allocations: 178.2 kB / 0.8006 GB, free: 117.7 MB / 0.5762 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.002661/0.7545, allocations: 2.292 MB / 0.8028 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000826/0.7554, allocations: 486.1 kB / 0.8033 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/0.7604, allocations: 4.177 MB / 0.8074 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.7604, allocations: 31.92 kB / 0.8074 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7605, allocations: 7.719 kB / 0.8074 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003765/0.7642, allocations: 3.624 MB / 0.8109 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.7765, allocations: 10.29 MB / 0.821 GB, free: 96.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.7765, allocations: 4 kB / 0.821 GB, free: 96.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/0.7784, allocations: 0.4992 MB / 0.8215 GB, free: 96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006539/0.7791, allocations: 382.4 kB / 0.8218 GB, free: 95.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.7792, allocations: 75.97 kB / 0.8219 GB, free: 95.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003879/0.7831, allocations: 5.648 MB / 0.8274 GB, free: 89.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.7831, allocations: 7.938 kB / 0.8274 GB, free: 89.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006837/0.79, allocations: 6.243 MB / 0.8335 GB, free: 83.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/0.7918, allocations: 1.092 MB / 0.8346 GB, free: 82.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006368/0.7924, allocations: 55.98 kB / 0.8346 GB, free: 82.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/0.7948, allocations: 179.5 kB / 0.8348 GB, free: 81.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.7951, allocations: 173.6 kB / 0.835 GB, free: 81.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/0.7953, allocations: 131.9 kB / 0.8351 GB, free: 81.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003921/0.7992, allocations: 3.843 MB / 0.8389 GB, free: 77.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7992, allocations: 0 / 0.8389 GB, free: 77.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003575/0.8028, allocations: 1.798 MB / 0.8406 GB, free: 75.98 MB / 0.5762 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.007252/0.81, allocations: 7.195 MB / 0.8476 GB, free: 68.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01103/0.8211, allocations: 8.068 MB / 0.8555 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.8211, allocations: 4 kB / 0.8555 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/0.8232, allocations: 2.039 MB / 0.8575 GB, free: 58.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01184/0.835, allocations: 3.476 MB / 0.8609 GB, free: 55.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04988/0.8849, allocations: 57.87 MB / 0.9174 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003564/0.8885, allocations: 4.303 MB / 0.9216 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005095/0.8936, allocations: 1.847 MB / 0.9234 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003049/0.8967, allocations: 2.449 MB / 0.9258 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.8967, allocations: 0 / 0.9258 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4035/1.3, allocations: 158.1 MB / 1.08 GB, free: 173.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/13.23, allocations: 0 / 1.08 GB, free: 173.7 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)