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.00131/0.00131, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.001194/0.001194, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8281/0.8281, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.41 kB / 0.5735 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1362, allocations: 78.86 MB / 0.6505 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05323/0.1895, allocations: 49.37 MB / 0.6988 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.209, allocations: 13.82 MB / 0.7122 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.2109, allocations: 67.62 kB / 0.7123 GB, free: 4.137 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.2128, allocations: 0.8071 MB / 0.7131 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00534/0.2182, allocations: 2.246 MB / 0.7153 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.2213, allocations: 1.314 MB / 0.7166 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0216/0.2429, allocations: 19.65 MB / 0.7358 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.2558, allocations: 9.91 MB / 0.7454 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3365/0.5923, allocations: 6.695 MB / 0.752 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0113/0.6036, allocations: 5.695 MB / 0.7575 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00384/0.6075, allocations: 0.8435 MB / 0.7584 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008476/0.616, allocations: 1.602 MB / 0.7599 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004697/0.6207, allocations: 2.119 MB / 0.762 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01141/0.6322, allocations: 4.306 MB / 0.7662 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01707/0.6493, allocations: 12.15 MB / 0.7781 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.6493, allocations: 0 / 0.7781 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.113e-06/0.6494, allocations: 1.469 kB / 0.7781 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004391/0.6498, allocations: 0 / 0.7781 GB, free: 11.31 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.01933/0.6691, allocations: 7.919 MB / 0.7858 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.6692, allocations: 11 kB / 0.7858 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001715/0.6709, allocations: 0.7678 MB / 0.7866 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.6736, allocations: 0.8178 MB / 0.7874 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.6852, allocations: 6.36 MB / 0.7936 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000292/0.6855, allocations: 420.4 kB / 0.794 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/0.6871, allocations: 0.5442 MB / 0.7945 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.7004, allocations: 8.07 MB / 0.8024 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.7006, allocations: 15.91 kB / 0.8024 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006283/0.7012, allocations: 237.6 kB / 0.8026 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.7013, allocations: 161 kB / 0.8028 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00994/0.7113, allocations: 6.53 MB / 0.8092 GB, free: 15.06 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.04502/0.7563, allocations: 31.31 MB / 0.8397 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006105/0.7625, allocations: 3.648 MB / 0.8433 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004253/0.7667, allocations: 2.795 MB / 0.846 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.7679, allocations: 0.8312 MB / 0.8469 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.78e-05/0.768, allocations: 65.7 kB / 0.8469 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=267): time 4.759e-06/0.768, allocations: 4 kB / 0.8469 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=267): time 0.01226/0.7803, allocations: 5.786 MB / 0.8526 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.7804, allocations: 85.52 kB / 0.8526 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008915/0.7893, allocations: 5.232 MB / 0.8578 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006022/0.7899, allocations: 81.7 kB / 0.8578 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002839/0.7928, allocations: 2.936 MB / 0.8607 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001431/0.7942, allocations: 0.9866 MB / 0.8617 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/0.7954, allocations: 0.7131 MB / 0.8624 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7955, allocations: 309.1 kB / 0.8627 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/0.7984, allocations: 1.681 MB / 0.8643 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003779/0.8021, allocations: 2.933 MB / 0.8672 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006808/0.809, allocations: 4.966 MB / 0.872 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-05/0.809, allocations: 12 kB / 0.872 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009734/0.8187, allocations: 5.458 MB / 0.8774 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.8188, allocations: 24 kB / 0.8774 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.653e-05/0.8189, allocations: 40.91 kB / 0.8774 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.8199, allocations: 421.3 kB / 0.8778 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/0.823, allocations: 0.8563 MB / 0.8787 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0065/0.8295, allocations: 5.698 MB / 0.8842 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/0.834, allocations: 0.5314 MB / 0.8847 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004137/0.8344, allocations: 180 kB / 0.8849 GB, free: 2.113 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.004668/0.8391, allocations: 2.292 MB / 0.8871 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/0.8407, allocations: 0.5047 MB / 0.8876 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007824/0.8485, allocations: 4.185 MB / 0.8917 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/0.8486, allocations: 24 kB / 0.8917 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.8486, allocations: 4 kB / 0.8918 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005642/0.8542, allocations: 3.632 MB / 0.8953 GB, free: 7.375 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02039/0.8747, allocations: 10.27 MB / 0.9053 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.8747, allocations: 4 kB / 0.9053 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/0.8769, allocations: 0.5074 MB / 0.9058 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009163/0.8779, allocations: 373.1 kB / 0.9062 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002086/0.8781, allocations: 79.33 kB / 0.9063 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/0.8843, allocations: 5.647 MB / 0.9118 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.8843, allocations: 11.22 kB / 0.9118 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/0.8947, allocations: 6.275 MB / 0.9179 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002899/0.8976, allocations: 1.126 MB / 0.919 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008061/0.8984, allocations: 66.8 kB / 0.9191 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002631/0.9011, allocations: 173.5 kB / 0.9192 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/0.9014, allocations: 181.1 kB / 0.9194 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000273/0.9017, allocations: 123.9 kB / 0.9195 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.006567/0.9083, allocations: 3.843 MB / 0.9233 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9083, allocations: 0 / 0.9233 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.006247/0.9146, allocations: 1.821 MB / 0.9251 GB, free: 8.484 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.01125/0.9258, allocations: 7.208 MB / 0.9321 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007027/0.9329, allocations: 4.289 MB / 0.9363 GB, free: 13 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.9329, allocations: 4 kB / 0.9363 GB, free: 13 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003023/0.9359, allocations: 2.044 MB / 0.9383 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01574/0.9517, allocations: 3.454 MB / 0.9417 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07975/1.031, allocations: 47.13 MB / 0.9877 GB, free: 7.102 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004593/1.036, allocations: 4.307 MB / 0.9919 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005591/1.042, allocations: 1.844 MB / 0.9937 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004192/1.046, allocations: 2.45 MB / 0.9961 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of SimCode: time 8.11e-07/1.046, allocations: 0 / 0.9961 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4873/1.533, allocations: 154.1 MB / 1.147 GB, free: 262.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.95/21.49, allocations: 13 kB / 1.147 GB, free: 262.3 MB / 0.8262 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)