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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.004811/0.004811, allocations: 100.9 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.001317/0.001317, allocations: 197.1 kB / 16.68 MB, free: 5.965 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.009/1.009, allocations: 143.3 MB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003071/0.003071, allocations: 59.91 kB / 0.5953 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3527, allocations: 82.02 MB / 0.6754 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0527/0.4054, allocations: 49.3 MB / 0.7235 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01999/0.4255, allocations: 13.83 MB / 0.737 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.4277, allocations: 67.62 kB / 0.7371 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.43, allocations: 0.8031 MB / 0.7379 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00612/0.4361, allocations: 2.25 MB / 0.7401 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.4396, allocations: 1.319 MB / 0.7414 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02202/0.4616, allocations: 19.59 MB / 0.7605 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01293/0.4746, allocations: 9.902 MB / 0.7702 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/0.4875, allocations: 6.518 MB / 0.7765 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01084/0.4983, allocations: 5.758 MB / 0.7822 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002599/0.5009, allocations: 0.8438 MB / 0.783 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006091/0.5071, allocations: 1.6 MB / 0.7846 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003677/0.5108, allocations: 2.123 MB / 0.7866 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009406/0.5202, allocations: 4.287 MB / 0.7908 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01738/0.5376, allocations: 12.71 MB / 0.8032 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.5376, allocations: 4 kB / 0.8032 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5377, allocations: 7.938 kB / 0.8032 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000353/0.538, allocations: 0 / 0.8032 GB, free: 2.836 MB / 0.6231 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.01907/0.5571, allocations: 7.933 MB / 0.811 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5572, allocations: 12.03 kB / 0.811 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002108/0.5593, allocations: 0.7681 MB / 0.8118 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.5623, allocations: 0.8204 MB / 0.8126 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.5744, allocations: 6.364 MB / 0.8188 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004983/0.5749, allocations: 418.6 kB / 0.8192 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.5759, allocations: 0.5351 MB / 0.8197 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.5922, allocations: 8.072 MB / 0.8276 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/0.5924, allocations: 27.81 kB / 0.8276 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006673/0.5931, allocations: 232 kB / 0.8278 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/0.5933, allocations: 164 kB / 0.828 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.6064, allocations: 6.524 MB / 0.8343 GB, free: 2.578 MB / 0.6544 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.04543/0.6518, allocations: 31.3 MB / 0.8649 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3152/0.9671, allocations: 3.64 MB / 0.8685 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004108/0.9712, allocations: 2.79 MB / 0.8712 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008363/0.9721, allocations: 0.8288 MB / 0.872 GB, free: 165.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.927e-05/0.9722, allocations: 77.44 kB / 0.8721 GB, free: 165.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=267): time 4.9e-06/0.9722, allocations: 0 / 0.8721 GB, free: 165.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267): time 0.01108/0.9833, allocations: 5.785 MB / 0.8777 GB, free: 164 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.9833, allocations: 79.27 kB / 0.8778 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006988/0.9903, allocations: 5.236 MB / 0.8829 GB, free: 162.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004972/0.9908, allocations: 81.55 kB / 0.883 GB, free: 162.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.9925, allocations: 2.934 MB / 0.8859 GB, free: 160.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009407/0.9935, allocations: 0.9839 MB / 0.8868 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008842/0.9944, allocations: 0.7181 MB / 0.8875 GB, free: 159.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.615e-05/0.9944, allocations: 305 kB / 0.8878 GB, free: 159.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.9966, allocations: 1.675 MB / 0.8894 GB, free: 158.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.999, allocations: 2.939 MB / 0.8923 GB, free: 156.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004682/1.004, allocations: 4.959 MB / 0.8972 GB, free: 152.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/1.004, allocations: 14.62 kB / 0.8972 GB, free: 152.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007163/1.011, allocations: 5.461 MB / 0.9025 GB, free: 149.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/1.011, allocations: 26.34 kB / 0.9025 GB, free: 149.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/1.011, allocations: 37.28 kB / 0.9026 GB, free: 149.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008309/1.012, allocations: 424.4 kB / 0.903 GB, free: 149.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/1.014, allocations: 0.8544 MB / 0.9038 GB, free: 149.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004142/1.019, allocations: 5.716 MB / 0.9094 GB, free: 144.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003829/1.022, allocations: 0.5313 MB / 0.9099 GB, free: 143.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/1.023, allocations: 176.8 kB / 0.9101 GB, free: 143.5 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.002963/1.026, allocations: 2.288 MB / 0.9123 GB, free: 141.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.027, allocations: 0.5007 MB / 0.9128 GB, free: 140.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005195/1.032, allocations: 4.181 MB / 0.9169 GB, free: 136.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.032, allocations: 28 kB / 0.9169 GB, free: 136.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.032, allocations: 4 kB / 0.9169 GB, free: 136.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003777/1.036, allocations: 3.643 MB / 0.9205 GB, free: 132.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/1.049, allocations: 10.28 MB / 0.9305 GB, free: 122.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/1.049, allocations: 4 kB / 0.9305 GB, free: 122.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/1.051, allocations: 0.4997 MB / 0.931 GB, free: 121.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006898/1.052, allocations: 368.1 kB / 0.9313 GB, free: 121.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/1.052, allocations: 86.69 kB / 0.9314 GB, free: 121.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003941/1.056, allocations: 5.65 MB / 0.9369 GB, free: 115.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.056, allocations: 4 kB / 0.9369 GB, free: 115.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007295/1.063, allocations: 6.279 MB / 0.9431 GB, free: 109.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00218/1.066, allocations: 1.121 MB / 0.9442 GB, free: 108 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000766/1.066, allocations: 63.98 kB / 0.9442 GB, free: 107.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/1.069, allocations: 165.7 kB / 0.9444 GB, free: 107.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/1.069, allocations: 177.6 kB / 0.9446 GB, free: 107.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/1.069, allocations: 135.9 kB / 0.9447 GB, free: 107.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.004314/1.074, allocations: 3.839 MB / 0.9484 GB, free: 103.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.51e-07/1.074, allocations: 96 / 0.9484 GB, free: 103.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004213/1.078, allocations: 1.819 MB / 0.9502 GB, free: 101.9 MB / 0.6856 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.00778/1.086, allocations: 7.21 MB / 0.9573 GB, free: 94.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005107/1.091, allocations: 4.29 MB / 0.9614 GB, free: 90.19 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.091, allocations: 8.125 kB / 0.9615 GB, free: 90.18 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/1.093, allocations: 2.039 MB / 0.9634 GB, free: 88.12 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01437/1.107, allocations: 3.458 MB / 0.9668 GB, free: 84.77 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05656/1.164, allocations: 47.13 MB / 1.013 GB, free: 35.96 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002923/1.167, allocations: 4.311 MB / 1.017 GB, free: 31.62 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004661/1.172, allocations: 1.851 MB / 1.019 GB, free: 29.79 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00281/1.174, allocations: 2.448 MB / 1.021 GB, free: 27.34 MB / 0.6856 GB Notification: Performance of SimCode: time 7.61e-07/1.174, allocations: 0.875 kB / 1.021 GB, free: 27.34 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.25/1.424, allocations: 154.5 MB / 1.172 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.63/21.05, allocations: 15.3 kB / 1.172 GB, free: 2.113 MB / 0.8106 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)