Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildSysPro_BuildSysPro_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.005187/0.005187, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001241/0.001241, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8223/0.8223, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 0.595 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1422, allocations: 82.03 MB / 0.6752 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05009/0.1923, allocations: 49.3 MB / 0.7233 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.2109, allocations: 13.83 MB / 0.7368 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.2133, allocations: 67.62 kB / 0.7369 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.2158, allocations: 0.8227 MB / 0.7377 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005949/0.2218, allocations: 2.363 MB / 0.74 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.2251, allocations: 1.308 MB / 0.7413 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3507/0.5757, allocations: 19.59 MB / 0.7604 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01239/0.5882, allocations: 9.887 MB / 0.77 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01329/0.6015, allocations: 6.589 MB / 0.7765 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01071/0.6122, allocations: 5.752 MB / 0.7821 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002136/0.6144, allocations: 0.8488 MB / 0.7829 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006135/0.6205, allocations: 1.612 MB / 0.7845 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002959/0.6235, allocations: 2.109 MB / 0.7866 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00818/0.6317, allocations: 4.296 MB / 0.7907 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.6442, allocations: 12.74 MB / 0.8032 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.6443, allocations: 6.625 kB / 0.8032 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6443, allocations: 2.812 kB / 0.8032 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002952/0.6446, allocations: 0 / 0.8032 GB, free: 11.52 MB / 0.5919 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.01445/0.659, allocations: 7.93 MB / 0.8109 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.6591, allocations: 12.03 kB / 0.811 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001078/0.6602, allocations: 0.7668 MB / 0.8117 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.6625, allocations: 0.8243 MB / 0.8125 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.6734, allocations: 6.363 MB / 0.8187 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.6737, allocations: 415 kB / 0.8191 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008924/0.6746, allocations: 0.5506 MB / 0.8197 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.689, allocations: 8.072 MB / 0.8275 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/0.6892, allocations: 13.44 kB / 0.8276 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007336/0.6899, allocations: 236 kB / 0.8278 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000174/0.6901, allocations: 166.6 kB / 0.8279 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.7014, allocations: 6.525 MB / 0.8343 GB, free: 12.49 MB / 0.6231 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.04225/0.7436, allocations: 31.29 MB / 0.8649 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006026/0.7497, allocations: 3.646 MB / 0.8684 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004135/0.7539, allocations: 2.795 MB / 0.8712 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009773/0.7549, allocations: 0.8241 MB / 0.872 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.108e-05/0.755, allocations: 80.61 kB / 0.872 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=267): time 5.279e-06/0.755, allocations: 0 / 0.872 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=267): time 0.01146/0.7664, allocations: 5.782 MB / 0.8777 GB, free: 14.62 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.7665, allocations: 81.52 kB / 0.8778 GB, free: 14.53 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009462/0.776, allocations: 5.237 MB / 0.8829 GB, free: 9.293 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005053/0.7765, allocations: 81.7 kB / 0.883 GB, free: 9.207 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00277/0.7793, allocations: 2.933 MB / 0.8858 GB, free: 6.266 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0013/0.7806, allocations: 0.981 MB / 0.8868 GB, free: 5.297 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/0.7822, allocations: 0.7195 MB / 0.8875 GB, free: 4.57 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.7823, allocations: 308.6 kB / 0.8878 GB, free: 4.27 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002757/0.785, allocations: 1.674 MB / 0.8894 GB, free: 2.594 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003538/0.7886, allocations: 2.937 MB / 0.8923 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006621/0.7952, allocations: 4.964 MB / 0.8971 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.654e-05/0.7953, allocations: 16 kB / 0.8971 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009612/0.8049, allocations: 5.458 MB / 0.9025 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/0.805, allocations: 23.98 kB / 0.9025 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.384e-05/0.805, allocations: 40 kB / 0.9025 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.8061, allocations: 424.3 kB / 0.9029 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/0.809, allocations: 0.858 MB / 0.9038 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005813/0.8149, allocations: 5.711 MB / 0.9093 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004149/0.819, allocations: 0.5276 MB / 0.9099 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005295/0.8196, allocations: 176 kB / 0.91 GB, free: 12.4 MB / 0.7012 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.004198/0.8238, allocations: 2.288 MB / 0.9123 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001762/0.8256, allocations: 0.4969 MB / 0.9128 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008363/0.8339, allocations: 4.186 MB / 0.9168 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/0.834, allocations: 24 kB / 0.9169 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/0.834, allocations: 11.98 kB / 0.9169 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005307/0.8393, allocations: 3.634 MB / 0.9204 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01971/0.859, allocations: 10.28 MB / 0.9305 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.8591, allocations: 4 kB / 0.9305 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/0.8613, allocations: 0.4998 MB / 0.931 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008677/0.8622, allocations: 377.3 kB / 0.9313 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/0.8625, allocations: 71.97 kB / 0.9314 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005786/0.8683, allocations: 5.651 MB / 0.9369 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.8683, allocations: 8 kB / 0.9369 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/0.8786, allocations: 6.281 MB / 0.943 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/0.8816, allocations: 1.122 MB / 0.9441 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/0.883, allocations: 63.92 kB / 0.9442 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003371/0.8864, allocations: 179.7 kB / 0.9444 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000355/0.8867, allocations: 169.6 kB / 0.9445 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003658/0.8871, allocations: 131.9 kB / 0.9447 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00732/0.8944, allocations: 3.843 MB / 0.9484 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8945, allocations: 3.75 kB / 0.9484 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005848/0.9003, allocations: 1.809 MB / 0.9502 GB, free: 2.551 MB / 0.7325 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.01116/0.9115, allocations: 7.225 MB / 0.9572 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006817/0.9183, allocations: 4.278 MB / 0.9614 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.9184, allocations: 8 kB / 0.9614 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002943/0.9213, allocations: 2.048 MB / 0.9634 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01723/0.9386, allocations: 3.455 MB / 0.9668 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08476/1.023, allocations: 47.13 MB / 1.013 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005687/1.029, allocations: 4.301 MB / 1.017 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.006483/1.036, allocations: 1.856 MB / 1.019 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004984/1.041, allocations: 2.444 MB / 1.021 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of SimCode: time 8.62e-07/1.041, allocations: 0 / 1.021 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.521/1.562, allocations: 154.5 MB / 1.172 GB, free: 234.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/20.48, allocations: 14.66 kB / 1.172 GB, free: 234.7 MB / 0.8419 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)