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.001131/0.001131, 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.00114/0.00114, allocations: 193.1 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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 1.052/1.052, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1641, allocations: 82.04 MB / 0.5944 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3285/0.4926, allocations: 49.27 MB / 0.6425 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.5075, allocations: 13.83 MB / 0.656 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.5101, allocations: 68.09 kB / 0.6561 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.5121, allocations: 0.8006 MB / 0.6569 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00544/0.5176, allocations: 2.262 MB / 0.6591 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.5203, allocations: 1.304 MB / 0.6603 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01994/0.5403, allocations: 19.59 MB / 0.6795 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01362/0.5539, allocations: 9.905 MB / 0.6891 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0158/0.5697, allocations: 6.492 MB / 0.6955 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01206/0.5818, allocations: 5.754 MB / 0.7011 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003781/0.5856, allocations: 0.8505 MB / 0.7019 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009821/0.5955, allocations: 1.605 MB / 0.7035 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00696/0.6025, allocations: 2.109 MB / 0.7056 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01199/0.6145, allocations: 4.294 MB / 0.7097 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.631, allocations: 12.54 MB / 0.722 GB, free: 10.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.631, allocations: 0 / 0.722 GB, free: 10.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.631, allocations: 0 / 0.722 GB, free: 10.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.00041/0.6314, allocations: 0 / 0.722 GB, free: 10.8 MB / 0.545 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.02107/0.6525, allocations: 7.747 MB / 0.7296 GB, free: 2.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.6526, allocations: 8.031 kB / 0.7296 GB, free: 2.973 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003087/0.6557, allocations: 0.7603 MB / 0.7303 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/0.6597, allocations: 0.793 MB / 0.7311 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.6725, allocations: 6.072 MB / 0.737 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004136/0.6729, allocations: 415.4 kB / 0.7374 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001987/0.675, allocations: 0.5506 MB / 0.7379 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/0.6955, allocations: 8.068 MB / 0.7458 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000275/0.6958, allocations: 19.84 kB / 0.7458 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001833/0.6977, allocations: 232 kB / 0.7461 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002045/0.6979, allocations: 163.9 kB / 0.7462 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.7137, allocations: 6.532 MB / 0.7526 GB, free: 11.06 MB / 0.5762 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.04854/0.7623, allocations: 31.46 MB / 0.7833 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006243/0.7686, allocations: 3.644 MB / 0.7869 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004604/0.7732, allocations: 2.805 MB / 0.7896 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.7743, allocations: 0.8319 MB / 0.7904 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.407e-05/0.7744, allocations: 76.59 kB / 0.7905 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 5.04e-06/0.7745, allocations: 0 / 0.7905 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.01381/0.7883, allocations: 5.763 MB / 0.7961 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.7884, allocations: 81.52 kB / 0.7962 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/0.7992, allocations: 5.224 MB / 0.8013 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006415/0.7999, allocations: 77.7 kB / 0.8014 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002681/0.8025, allocations: 2.876 MB / 0.8042 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/0.804, allocations: 0.932 MB / 0.8051 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/0.8056, allocations: 0.7113 MB / 0.8058 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.8057, allocations: 305.1 kB / 0.8061 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002803/0.8085, allocations: 1.678 MB / 0.8077 GB, free: 424 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/0.8121, allocations: 2.936 MB / 0.8106 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007004/0.8191, allocations: 4.967 MB / 0.8154 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.85e-05/0.8192, allocations: 12 kB / 0.8155 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009839/0.829, allocations: 5.438 MB / 0.8208 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.8291, allocations: 24 kB / 0.8208 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.33e-05/0.8292, allocations: 40.78 kB / 0.8208 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.8302, allocations: 417.4 kB / 0.8212 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003082/0.8333, allocations: 0.8618 MB / 0.8221 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/0.8392, allocations: 5.707 MB / 0.8276 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/0.8435, allocations: 0.5184 MB / 0.8282 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005367/0.8441, allocations: 184 kB / 0.8283 GB, free: 9.844 MB / 0.6544 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.004304/0.8484, allocations: 2.276 MB / 0.8306 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002/0.8504, allocations: 490.1 kB / 0.831 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008249/0.8587, allocations: 4.185 MB / 0.8351 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/0.8587, allocations: 32 kB / 0.8351 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.8588, allocations: 4 kB / 0.8351 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005489/0.8642, allocations: 3.637 MB / 0.8387 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/0.8869, allocations: 10.3 MB / 0.8487 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.8869, allocations: 4 kB / 0.8488 GB, free: 4.574 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002374/0.8893, allocations: 0.4998 MB / 0.8492 GB, free: 4.074 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008912/0.8902, allocations: 380.1 kB / 0.8496 GB, free: 3.699 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/0.8906, allocations: 75.95 kB / 0.8497 GB, free: 3.625 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3422/1.233, allocations: 5.63 MB / 0.8552 GB, free: 190.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.233, allocations: 11.19 kB / 0.8552 GB, free: 190.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008921/1.242, allocations: 6.248 MB / 0.8613 GB, free: 190 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002902/1.245, allocations: 1.097 MB / 0.8624 GB, free: 189.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/1.246, allocations: 60.7 kB / 0.8624 GB, free: 189.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.249, allocations: 175.6 kB / 0.8626 GB, free: 189.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/1.249, allocations: 173.8 kB / 0.8627 GB, free: 189.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002725/1.249, allocations: 136.1 kB / 0.8629 GB, free: 189.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006416/1.256, allocations: 3.837 MB / 0.8666 GB, free: 188.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.12e-07/1.256, allocations: 0 / 0.8666 GB, free: 188.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007352/1.263, allocations: 1.804 MB / 0.8684 GB, free: 188 MB / 0.67 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.01058/1.274, allocations: 7.191 MB / 0.8754 GB, free: 184.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01529/1.289, allocations: 8.07 MB / 0.8833 GB, free: 183.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/1.289, allocations: 6.781 kB / 0.8833 GB, free: 183.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002818/1.292, allocations: 2.039 MB / 0.8853 GB, free: 182.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01594/1.308, allocations: 3.477 MB / 0.8887 GB, free: 181.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08935/1.397, allocations: 57.86 MB / 0.9452 GB, free: 142.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003277/1.401, allocations: 4.303 MB / 0.9494 GB, free: 138.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005914/1.406, allocations: 1.855 MB / 0.9512 GB, free: 137.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002942/1.409, allocations: 2.44 MB / 0.9536 GB, free: 135.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.001e-06/1.409, allocations: 0 / 0.9536 GB, free: 135.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3578/1.767, allocations: 158.5 MB / 1.108 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/14.41, allocations: 7.797 kB / 1.108 GB, free: 11.54 MB / 0.7012 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)