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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002456/0.002456, allocations: 291.7 kB / 312.7 MB, free: 2.816 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.163/1.163, allocations: 180.6 MB / 0.5369 GB, free: 12.99 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002863/0.002863, allocations: 94.61 kB / 0.7396 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.189, allocations: 95.39 MB / 0.8327 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05701/0.246, allocations: 50.34 MB / 0.8819 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02223/0.2682, allocations: 13.97 MB / 0.8955 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003138/0.2714, allocations: 95.25 kB / 0.8956 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.2741, allocations: 0.846 MB / 0.8964 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007359/0.2815, allocations: 2.402 MB / 0.8988 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004498/0.286, allocations: 1.383 MB / 0.9001 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02472/0.3107, allocations: 20.1 MB / 0.9198 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00992/0.3206, allocations: 6.459 MB / 0.9261 GB, free: 8.684 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01428/0.3349, allocations: 6.676 MB / 0.9326 GB, free: 2.027 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.3468, allocations: 6.039 MB / 0.9385 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003335/0.3501, allocations: 0.8438 MB / 0.9393 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007844/0.3579, allocations: 1.682 MB / 0.941 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003997/0.3619, allocations: 2.208 MB / 0.9431 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008651/0.3706, allocations: 4.295 MB / 0.9473 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.3855, allocations: 12.16 MB / 0.9592 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3855, allocations: 0 / 0.9592 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3855, allocations: 0 / 0.9592 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003162/0.3858, allocations: 0 / 0.9592 GB, free: 6.711 MB / 0.7012 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.01582/0.4016, allocations: 7.857 MB / 0.9669 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.4017, allocations: 13.34 kB / 0.9669 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001305/0.403, allocations: 0.7603 MB / 0.9676 GB, free: 14 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.4063, allocations: 0.8829 MB / 0.9685 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/0.4216, allocations: 6.378 MB / 0.9747 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004675/0.4221, allocations: 419.2 kB / 0.9751 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002106/0.4242, allocations: 0.539 MB / 0.9756 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4081/0.8323, allocations: 8.075 MB / 0.9835 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/0.8324, allocations: 14.69 kB / 0.9835 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007788/0.8332, allocations: 237.6 kB / 0.9838 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002367/0.8335, allocations: 161.7 kB / 0.9839 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.8487, allocations: 6.526 MB / 0.9903 GB, free: 129.3 MB / 0.7169 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.04876/0.8975, allocations: 31.18 MB / 1.021 GB, free: 106 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/0.9024, allocations: 3.438 MB / 1.024 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.9055, allocations: 2.569 MB / 1.027 GB, free: 103 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006162/0.9062, allocations: 159.4 kB / 1.027 GB, free: 103 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.9062, allocations: 73.58 kB / 1.027 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 5.761e-06/0.9062, allocations: 3.984 kB / 1.027 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.008906/0.9151, allocations: 5.629 MB / 1.032 GB, free: 99.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.9152, allocations: 81.2 kB / 1.032 GB, free: 99.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007808/0.923, allocations: 5.243 MB / 1.038 GB, free: 94.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007384/0.9237, allocations: 81.7 kB / 1.038 GB, free: 94.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001918/0.9256, allocations: 2.932 MB / 1.04 GB, free: 91.63 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.9268, allocations: 0.9742 MB / 1.041 GB, free: 90.79 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008847/0.9277, allocations: 0.7234 MB / 1.042 GB, free: 90.06 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.593e-05/0.9278, allocations: 309.1 kB / 1.042 GB, free: 89.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.9298, allocations: 1.682 MB / 1.044 GB, free: 88.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.9322, allocations: 2.927 MB / 1.047 GB, free: 84.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/0.9368, allocations: 4.97 MB / 1.052 GB, free: 79.04 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/0.9368, allocations: 12 kB / 1.052 GB, free: 79.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007247/0.944, allocations: 5.442 MB / 1.057 GB, free: 73.53 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.9441, allocations: 24.19 kB / 1.057 GB, free: 73.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/0.9441, allocations: 44 kB / 1.057 GB, free: 73.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008214/0.9449, allocations: 421.1 kB / 1.058 GB, free: 73.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.9475, allocations: 0.8619 MB / 1.058 GB, free: 72.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004129/0.9516, allocations: 5.495 MB / 1.064 GB, free: 66.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004747/0.9563, allocations: 0.5282 MB / 1.064 GB, free: 66.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005435/0.9569, allocations: 180 kB / 1.064 GB, free: 65.92 MB / 0.7169 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.004019/0.9609, allocations: 2.283 MB / 1.067 GB, free: 63.63 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/0.9624, allocations: 0.5123 MB / 1.067 GB, free: 63.12 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005699/0.9681, allocations: 4.175 MB / 1.071 GB, free: 58.89 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.9681, allocations: 24 kB / 1.071 GB, free: 58.87 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.9681, allocations: 4 kB / 1.071 GB, free: 58.86 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003876/0.972, allocations: 3.625 MB / 1.075 GB, free: 55.12 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.9886, allocations: 10.29 MB / 1.085 GB, free: 44.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.9886, allocations: 4 kB / 1.085 GB, free: 44.72 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/0.9905, allocations: 0.4998 MB / 1.085 GB, free: 44.22 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007291/0.9913, allocations: 373.3 kB / 1.086 GB, free: 43.85 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.9914, allocations: 75.95 kB / 1.086 GB, free: 43.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004214/0.9956, allocations: 5.437 MB / 1.091 GB, free: 38.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.9957, allocations: 10.67 kB / 1.091 GB, free: 38.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00795/1.004, allocations: 6.268 MB / 1.097 GB, free: 31.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003129/1.007, allocations: 1.076 MB / 1.098 GB, free: 30.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/1.008, allocations: 59.98 kB / 1.098 GB, free: 30.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/1.011, allocations: 179.3 kB / 1.099 GB, free: 30.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/1.011, allocations: 181.5 kB / 1.099 GB, free: 30.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/1.012, allocations: 135.9 kB / 1.099 GB, free: 30.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005576/1.017, allocations: 3.839 MB / 1.103 GB, free: 26.24 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/1.017, allocations: 0 / 1.103 GB, free: 26.24 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00711/1.024, allocations: 1.821 MB / 1.104 GB, free: 24.42 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.01011/1.034, allocations: 7.182 MB / 1.111 GB, free: 17.08 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00544/1.04, allocations: 4.144 MB / 1.115 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.04, allocations: 0 / 1.115 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002253/1.042, allocations: 1.927 MB / 1.117 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01521/1.057, allocations: 3.449 MB / 1.121 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08169/1.139, allocations: 47.21 MB / 1.167 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005277/1.144, allocations: 4.307 MB / 1.171 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.006011/1.15, allocations: 1.85 MB / 1.173 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004602/1.155, allocations: 2.452 MB / 1.175 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of SimCode: time 1.654e-06/1.155, allocations: 0 / 1.175 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2713/1.426, allocations: 157.8 MB / 1.329 GB, free: 1.449 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.5/21.92, allocations: 8 kB / 1.329 GB, free: 1.441 MB / 0.92 GB " [Timeout remaining time 638] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.463413898] Failed to read output from testmodel.py, exit status != 0: 22.418163614998775 22.429535382 22.041416407 Calling exit ...