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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002426/0.002426, allocations: 275.1 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 98.8 kB / 0.6065 GB, free: 24.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.14, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05001/0.19, allocations: 49.29 MB / 0.7417 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.2078, allocations: 13.82 MB / 0.7552 GB, free: 4.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.209, allocations: 67.62 kB / 0.7553 GB, free: 4.836 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.2108, allocations: 0.811 MB / 0.7561 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004363/0.2151, allocations: 2.246 MB / 0.7583 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.2177, allocations: 1.313 MB / 0.7596 GB, free: 468 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.2572/0.4749, allocations: 19.58 MB / 0.7787 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.4864, allocations: 9.909 MB / 0.7883 GB, free: 24.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01181/0.4983, allocations: 6.495 MB / 0.7947 GB, free: 23.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007925/0.5062, allocations: 5.753 MB / 0.8003 GB, free: 21.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.5074, allocations: 0.8458 MB / 0.8011 GB, free: 21.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.511, allocations: 1.6 MB / 0.8027 GB, free: 20.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.5124, allocations: 2.12 MB / 0.8048 GB, free: 19.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004095/0.5165, allocations: 4.29 MB / 0.809 GB, free: 16.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009264/0.5257, allocations: 11.94 MB / 0.8206 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5258, allocations: 4 kB / 0.8206 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5258, allocations: 0 / 0.8206 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001442/0.5259, allocations: 0 / 0.8206 GB, free: 11.29 MB / 0.5606 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.01279/0.5387, allocations: 7.734 MB / 0.8282 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.5388, allocations: 8.031 kB / 0.8282 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001013/0.5398, allocations: 0.7603 MB / 0.8289 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.5419, allocations: 0.7852 MB / 0.8297 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009226/0.5511, allocations: 6.048 MB / 0.8356 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/0.5515, allocations: 414.9 kB / 0.836 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007888/0.5523, allocations: 0.5457 MB / 0.8365 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.5643, allocations: 8.077 MB / 0.8444 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.5644, allocations: 15.88 kB / 0.8444 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005431/0.565, allocations: 232 kB / 0.8446 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.5651, allocations: 164 kB / 0.8448 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.5754, allocations: 6.528 MB / 0.8512 GB, free: 11.89 MB / 0.5919 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.03658/0.6119, allocations: 31.44 MB / 0.8819 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005344/0.6173, allocations: 3.641 MB / 0.8854 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003932/0.6212, allocations: 2.801 MB / 0.8882 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009905/0.6223, allocations: 0.8338 MB / 0.889 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/0.6223, allocations: 76.53 kB / 0.8891 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=267): time 4.358e-06/0.6223, allocations: 0 / 0.8891 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of matching and sorting (n=267): time 0.01027/0.6326, allocations: 5.761 MB / 0.8947 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.6327, allocations: 85.45 kB / 0.8948 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006787/0.6395, allocations: 5.231 MB / 0.8999 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002172/0.6397, allocations: 81.7 kB / 0.9 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002488/0.6422, allocations: 2.869 MB / 0.9028 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009738/0.6432, allocations: 0.9326 MB / 0.9037 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.6442, allocations: 0.7113 MB / 0.9044 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6443, allocations: 309.1 kB / 0.9047 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/0.6469, allocations: 1.674 MB / 0.9063 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/0.6505, allocations: 2.93 MB / 0.9092 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006526/0.657, allocations: 4.965 MB / 0.914 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/0.6571, allocations: 12 kB / 0.914 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008563/0.6656, allocations: 5.437 MB / 0.9193 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.6657, allocations: 24 kB / 0.9193 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.296e-05/0.6657, allocations: 40.91 kB / 0.9194 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009237/0.6667, allocations: 424.1 kB / 0.9198 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/0.6696, allocations: 0.858 MB / 0.9206 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.6758, allocations: 5.706 MB / 0.9262 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/0.6791, allocations: 0.5144 MB / 0.9267 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002788/0.6793, allocations: 184 kB / 0.9269 GB, free: 11.05 MB / 0.67 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.003462/0.6828, allocations: 2.288 MB / 0.9291 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008534/0.6837, allocations: 486.1 kB / 0.9296 GB, free: 8.27 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006628/0.6903, allocations: 4.176 MB / 0.9337 GB, free: 4.039 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/0.6904, allocations: 32 kB / 0.9337 GB, free: 4.008 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.6904, allocations: 4 kB / 0.9337 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005289/0.6957, allocations: 3.634 MB / 0.9372 GB, free: 264 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.7116, allocations: 10.3 MB / 0.9473 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.7117, allocations: 4 kB / 0.9473 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/0.7138, allocations: 0.5031 MB / 0.9478 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008145/0.7146, allocations: 380 kB / 0.9482 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.7148, allocations: 75.95 kB / 0.9482 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00601/0.7208, allocations: 5.639 MB / 0.9537 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.7209, allocations: 11.94 kB / 0.9537 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009337/0.7302, allocations: 6.245 MB / 0.9598 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/0.7323, allocations: 1.096 MB / 0.9609 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006282/0.7329, allocations: 63.92 kB / 0.961 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/0.7354, allocations: 183.5 kB / 0.9612 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.7357, allocations: 169.6 kB / 0.9613 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/0.7359, allocations: 135.9 kB / 0.9614 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.005442/0.7414, allocations: 3.835 MB / 0.9652 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7414, allocations: 7.094 kB / 0.9652 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004301/0.7457, allocations: 1.796 MB / 0.967 GB, free: 1.273 MB / 0.7012 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.01008/0.7558, allocations: 7.192 MB / 0.974 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01412/0.7699, allocations: 8.059 MB / 0.9818 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.7699, allocations: 4 kB / 0.9818 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00285/0.7728, allocations: 2.046 MB / 0.9838 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/0.7858, allocations: 3.47 MB / 0.9872 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0712/0.857, allocations: 57.87 MB / 1.044 GB, free: 13.45 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004229/0.8613, allocations: 4.311 MB / 1.048 GB, free: 9.094 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005411/0.8667, allocations: 1.851 MB / 1.05 GB, free: 7.262 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003359/0.8701, allocations: 2.444 MB / 1.052 GB, free: 4.816 MB / 0.795 GB Notification: Performance of SimCode: time 7.22e-07/0.8701, allocations: 0 / 1.052 GB, free: 4.816 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4118/1.282, allocations: 158.2 MB / 1.207 GB, free: 183 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.61, allocations: 11.17 kB / 1.207 GB, free: 183 MB / 0.795 GB (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)