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.007002/0.007002, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001584/0.001585, allocations: 196.1 kB / 16.68 MB, free: 5.934 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.8437/0.8437, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 64.59 kB / 0.595 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1352, allocations: 82.04 MB / 0.6752 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0432/0.1785, allocations: 49.29 MB / 0.7233 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.1951, allocations: 13.83 MB / 0.7368 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.197, allocations: 67.62 kB / 0.7369 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.1988, allocations: 0.8305 MB / 0.7377 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005023/0.2038, allocations: 2.363 MB / 0.74 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.2065, allocations: 1.3 MB / 0.7412 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3501/0.5566, allocations: 19.62 MB / 0.7604 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/0.5687, allocations: 9.91 MB / 0.7701 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01425/0.583, allocations: 6.601 MB / 0.7765 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009803/0.5928, allocations: 5.753 MB / 0.7821 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002105/0.5949, allocations: 0.8442 MB / 0.783 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005745/0.6007, allocations: 1.61 MB / 0.7845 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.603, allocations: 2.116 MB / 0.7866 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007186/0.6102, allocations: 4.286 MB / 0.7908 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.6223, allocations: 12.73 MB / 0.8032 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6224, allocations: 0 / 0.8032 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6224, allocations: 1.062 kB / 0.8032 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002919/0.6227, allocations: 0 / 0.8032 GB, free: 11.46 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.01552/0.6382, allocations: 7.931 MB / 0.811 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.6383, allocations: 12.03 kB / 0.811 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/0.6394, allocations: 0.7664 MB / 0.8117 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.6418, allocations: 0.8243 MB / 0.8125 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.6538, allocations: 6.361 MB / 0.8188 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.6542, allocations: 417.5 kB / 0.8192 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.6555, allocations: 0.5381 MB / 0.8197 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.6694, allocations: 8.076 MB / 0.8276 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.6695, allocations: 18.42 kB / 0.8276 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005868/0.6701, allocations: 237.9 kB / 0.8278 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.6703, allocations: 166.4 kB / 0.828 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.6803, allocations: 6.528 MB / 0.8343 GB, free: 12.46 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.04016/0.7205, allocations: 31.28 MB / 0.8649 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005473/0.726, allocations: 3.649 MB / 0.8685 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003862/0.7299, allocations: 2.802 MB / 0.8712 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009152/0.7308, allocations: 0.8254 MB / 0.872 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.253e-05/0.7309, allocations: 68.67 kB / 0.8721 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=267): time 3.968e-06/0.7309, allocations: 4 kB / 0.8721 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of matching and sorting (n=267): time 0.01082/0.7417, allocations: 5.783 MB / 0.8777 GB, free: 14.59 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.7418, allocations: 80.42 kB / 0.8778 GB, free: 14.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009251/0.7511, allocations: 5.239 MB / 0.8829 GB, free: 9.258 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006216/0.7517, allocations: 77.27 kB / 0.883 GB, free: 9.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002753/0.7545, allocations: 2.946 MB / 0.8859 GB, free: 6.227 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001615/0.7561, allocations: 0.9748 MB / 0.8868 GB, free: 5.262 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00207/0.7582, allocations: 0.7156 MB / 0.8875 GB, free: 4.539 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.7583, allocations: 301.1 kB / 0.8878 GB, free: 4.242 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/0.7613, allocations: 1.678 MB / 0.8894 GB, free: 2.562 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003716/0.765, allocations: 2.932 MB / 0.8923 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006589/0.7716, allocations: 4.971 MB / 0.8972 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.441e-05/0.7717, allocations: 8 kB / 0.8972 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009842/0.7815, allocations: 5.469 MB / 0.9025 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.7816, allocations: 24.03 kB / 0.9025 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/0.7816, allocations: 40 kB / 0.9026 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.7827, allocations: 419.9 kB / 0.903 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/0.7857, allocations: 0.858 MB / 0.9038 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00572/0.7914, allocations: 5.698 MB / 0.9094 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004099/0.7955, allocations: 0.5275 MB / 0.9099 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004928/0.796, allocations: 192 kB / 0.9101 GB, free: 12.38 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.005297/0.8013, allocations: 2.284 MB / 0.9123 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002016/0.8034, allocations: 0.507 MB / 0.9128 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007542/0.8109, allocations: 4.181 MB / 0.9169 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-05/0.811, allocations: 28 kB / 0.9169 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.811, allocations: 7.938 kB / 0.9169 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005339/0.8163, allocations: 3.625 MB / 0.9204 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/0.8371, allocations: 10.29 MB / 0.9305 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.8372, allocations: 4 kB / 0.9305 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/0.8394, allocations: 0.4998 MB / 0.931 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008629/0.8403, allocations: 381.2 kB / 0.9313 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/0.8405, allocations: 75.95 kB / 0.9314 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005627/0.8461, allocations: 5.64 MB / 0.9369 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.8462, allocations: 11.94 kB / 0.9369 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00956/0.8557, allocations: 6.275 MB / 0.9431 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003152/0.8589, allocations: 1.126 MB / 0.9442 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001294/0.8602, allocations: 59.98 kB / 0.9442 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003471/0.8637, allocations: 179.7 kB / 0.9444 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/0.864, allocations: 173.6 kB / 0.9446 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003398/0.8644, allocations: 135.6 kB / 0.9447 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.007263/0.8716, allocations: 3.835 MB / 0.9484 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8717, allocations: 4 kB / 0.9484 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007324/0.879, allocations: 1.813 MB / 0.9502 GB, free: 2.527 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.0115/0.8905, allocations: 7.213 MB / 0.9573 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00667/0.8972, allocations: 4.287 MB / 0.9614 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.8972, allocations: 0 / 0.9614 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002924/0.9002, allocations: 2.053 MB / 0.9634 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01718/0.9173, allocations: 3.456 MB / 0.9668 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08049/0.9979, allocations: 47.12 MB / 1.013 GB, free: 0.668 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005392/1.003, allocations: 4.307 MB / 1.017 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005982/1.009, allocations: 1.857 MB / 1.019 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004312/1.014, allocations: 2.452 MB / 1.021 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of SimCode: time 7.51e-07/1.014, allocations: 0 / 1.021 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5038/1.517, allocations: 154.5 MB / 1.172 GB, free: 234.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.73/20.25, allocations: 19.89 kB / 1.172 GB, free: 234.3 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)