Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_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.001166/0.001166, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001191/0.001191, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7186/0.7186, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 64.56 kB / 0.5679 GB, free: 29.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1285, allocations: 77.94 MB / 0.6441 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04512/0.1737, allocations: 49.27 MB / 0.6922 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01668/0.1904, allocations: 13.84 MB / 0.7057 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.1925, allocations: 67.62 kB / 0.7057 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.1945, allocations: 0.8266 MB / 0.7066 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005295/0.1998, allocations: 2.344 MB / 0.7088 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.2028, allocations: 1.323 MB / 0.7101 GB, free: 5.762 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01691/0.2197, allocations: 19.63 MB / 0.7293 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01032/0.2301, allocations: 9.902 MB / 0.739 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.2412, allocations: 6.584 MB / 0.7454 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3005/0.5416, allocations: 5.758 MB / 0.751 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003001/0.5447, allocations: 0.8441 MB / 0.7519 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006183/0.5509, allocations: 1.605 MB / 0.7534 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002622/0.5535, allocations: 2.111 MB / 0.7555 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007963/0.5615, allocations: 4.29 MB / 0.7597 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.5755, allocations: 12.11 MB / 0.7715 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.5755, allocations: 0 / 0.7715 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5755, allocations: 2.375 kB / 0.7715 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003086/0.5758, allocations: 0 / 0.7715 GB, free: 16.37 MB / 0.5762 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.01712/0.593, allocations: 7.925 MB / 0.7792 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.593, allocations: 11.44 kB / 0.7792 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001326/0.5943, allocations: 0.7679 MB / 0.78 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/0.5969, allocations: 0.818 MB / 0.7808 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.6084, allocations: 6.344 MB / 0.787 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.6087, allocations: 410.4 kB / 0.7874 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.6098, allocations: 0.5388 MB / 0.7879 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.6225, allocations: 8.072 MB / 0.7958 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.6226, allocations: 19.45 kB / 0.7958 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000626/0.6233, allocations: 245.5 kB / 0.796 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.6234, allocations: 163.3 kB / 0.7962 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009295/0.6327, allocations: 6.526 MB / 0.8026 GB, free: 6.02 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.03752/0.6702, allocations: 31.26 MB / 0.8331 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005084/0.6754, allocations: 3.647 MB / 0.8367 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003619/0.679, allocations: 2.801 MB / 0.8394 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009023/0.6799, allocations: 0.8272 MB / 0.8402 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.449e-05/0.68, allocations: 76.61 kB / 0.8403 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 5.18e-06/0.68, allocations: 0 / 0.8403 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.01066/0.6907, allocations: 5.787 MB / 0.8459 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.6907, allocations: 81.5 kB / 0.846 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008291/0.699, allocations: 5.228 MB / 0.8511 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004364/0.6995, allocations: 81.7 kB / 0.8512 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002526/0.702, allocations: 2.936 MB / 0.8541 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/0.7032, allocations: 0.9774 MB / 0.855 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.7042, allocations: 0.7195 MB / 0.8557 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.7043, allocations: 309.1 kB / 0.856 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/0.7067, allocations: 1.678 MB / 0.8577 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003164/0.7099, allocations: 2.93 MB / 0.8605 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00594/0.7158, allocations: 4.972 MB / 0.8654 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.323e-05/0.7159, allocations: 12 kB / 0.8654 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009127/0.725, allocations: 5.464 MB / 0.8707 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.7251, allocations: 20 kB / 0.8707 GB, free: 5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.027e-05/0.7251, allocations: 40 kB / 0.8708 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.7261, allocations: 420.9 kB / 0.8712 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/0.7292, allocations: 0.8612 MB / 0.872 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/0.7354, allocations: 5.709 MB / 0.8776 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/0.74, allocations: 0.5315 MB / 0.8781 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004097/0.7404, allocations: 176 kB / 0.8783 GB, free: 13.11 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.004392/0.7448, allocations: 2.29 MB / 0.8805 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/0.7466, allocations: 0.4969 MB / 0.881 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007542/0.7541, allocations: 4.186 MB / 0.8851 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/0.7542, allocations: 27.98 kB / 0.8851 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.7542, allocations: 4 kB / 0.8851 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005314/0.7595, allocations: 3.636 MB / 0.8887 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/0.781, allocations: 10.27 MB / 0.8987 GB, free: 8.043 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.7811, allocations: 4 kB / 0.8987 GB, free: 8.039 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/0.7833, allocations: 0.5015 MB / 0.8992 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009512/0.7843, allocations: 375.7 kB / 0.8995 GB, free: 7.191 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002708/0.7846, allocations: 75.97 kB / 0.8996 GB, free: 7.117 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00589/0.7905, allocations: 5.648 MB / 0.9051 GB, free: 1.238 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.7905, allocations: 6.438 kB / 0.9051 GB, free: 1.234 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/0.8009, allocations: 6.279 MB / 0.9113 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003408/0.8043, allocations: 1.117 MB / 0.9124 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/0.8058, allocations: 67.92 kB / 0.9124 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00372/0.8095, allocations: 179.7 kB / 0.9126 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/0.8098, allocations: 169 kB / 0.9128 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/0.8102, allocations: 131.9 kB / 0.9129 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.007131/0.8174, allocations: 3.839 MB / 0.9166 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8174, allocations: 3.938 kB / 0.9166 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006437/0.8238, allocations: 1.813 MB / 0.9184 GB, free: 3.492 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.01125/0.8351, allocations: 7.206 MB / 0.9254 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006566/0.8416, allocations: 4.289 MB / 0.9296 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.8417, allocations: 5 kB / 0.9296 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00289/0.8446, allocations: 2.041 MB / 0.9316 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01685/0.8614, allocations: 3.455 MB / 0.935 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07819/0.9396, allocations: 47.13 MB / 0.981 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005081/0.9448, allocations: 4.307 MB / 0.9852 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005653/0.9504, allocations: 1.85 MB / 0.9871 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003985/0.9544, allocations: 2.448 MB / 0.9894 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of SimCode: time 8.52e-07/0.9545, allocations: 0 / 0.9894 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4617/1.416, allocations: 154.1 MB / 1.14 GB, free: 245.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.23/20.65, allocations: 15.48 kB / 1.14 GB, free: 245.6 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)