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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5544/0.5544, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.5 MB / 343.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001308, allocations: 99.88 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.815e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1552, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.293, allocations: 368.1 MB / 0.9131 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/1.293, allocations: 90.88 kB / 0.9132 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.832/9.125, allocations: 2.126 GB / 3.039 GB, free: 82.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/9.125, allocations: 0 / 3.039 GB, free: 82.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00109/9.126, allocations: 187.6 kB / 3.039 GB, free: 82.93 MB / 0.6198 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.02101/9.147, allocations: 5.528 MB / 3.044 GB, free: 79.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/9.147, allocations: 7.656 kB / 3.044 GB, free: 79.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005491/9.153, allocations: 0.7812 MB / 3.045 GB, free: 79.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/9.171, allocations: 7.482 MB / 3.053 GB, free: 72.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/9.172, allocations: 176 kB / 3.053 GB, free: 72.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/9.174, allocations: 323.9 kB / 3.053 GB, free: 72.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0139/9.188, allocations: 5.5 MB / 3.058 GB, free: 66.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02032/9.209, allocations: 6.6 MB / 3.065 GB, free: 60.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003724/9.209, allocations: 19.86 kB / 3.065 GB, free: 59.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/9.211, allocations: 16 kB / 3.065 GB, free: 59.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/9.211, allocations: 222.4 kB / 3.065 GB, free: 59.75 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.04438/9.256, allocations: 28.57 MB / 3.093 GB, free: 30.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005005/9.261, allocations: 3.392 MB / 3.096 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003529/9.264, allocations: 2.649 MB / 3.099 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008406/9.265, allocations: 0.8226 MB / 3.1 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.42e-05/9.265, allocations: 73.36 kB / 3.1 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=267): time 5.089e-06/9.265, allocations: 0 / 3.1 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=267): time 0.008077/9.273, allocations: 3.537 MB / 3.103 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/9.273, allocations: 81.52 kB / 3.103 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009039/9.282, allocations: 3.972 MB / 3.107 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0008201/9.283, allocations: 32.88 kB / 3.107 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002567/9.286, allocations: 2.852 MB / 3.11 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001617/9.287, allocations: 0.9008 MB / 3.111 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005993/9.288, allocations: 4 kB / 3.111 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000376/9.288, allocations: 465.9 kB / 3.111 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/9.291, allocations: 1.53 MB / 3.113 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/9.294, allocations: 2.775 MB / 3.116 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/9.297, allocations: 2.226 MB / 3.118 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/9.297, allocations: 12 kB / 3.118 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.4658/9.763, allocations: 4.922 MB / 3.123 GB, free: 84.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.032e-05/9.763, allocations: 22.72 kB / 3.123 GB, free: 84.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.547e-05/9.763, allocations: 39.47 kB / 3.123 GB, free: 84.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/9.764, allocations: 418.1 kB / 3.123 GB, free: 84.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/9.768, allocations: 0.8571 MB / 3.124 GB, free: 84.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005733/9.774, allocations: 5.146 MB / 3.129 GB, free: 82.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005584/9.78, allocations: 0.5262 MB / 3.129 GB, free: 82.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007958/9.781, allocations: 183 kB / 3.13 GB, free: 82.37 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008877/9.782, allocations: 220 kB / 3.13 GB, free: 82.27 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007207/9.789, allocations: 3.535 MB / 3.133 GB, free: 82.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/9.79, allocations: 433.5 kB / 3.134 GB, free: 81.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007261/9.797, allocations: 3.872 MB / 3.137 GB, free: 81.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/9.797, allocations: 26.92 kB / 3.137 GB, free: 81.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/9.797, allocations: 3.625 kB / 3.137 GB, free: 81.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005042/9.803, allocations: 3.444 MB / 3.141 GB, free: 81.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/9.822, allocations: 9.367 MB / 3.15 GB, free: 80.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/9.822, allocations: 3.812 kB / 3.15 GB, free: 80.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002037/9.824, allocations: 0.5022 MB / 3.15 GB, free: 80.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008172/9.825, allocations: 361.5 kB / 3.151 GB, free: 80.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002041/9.825, allocations: 48.81 kB / 3.151 GB, free: 80.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004406/9.83, allocations: 5.092 MB / 3.156 GB, free: 77.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/9.83, allocations: 3.719 kB / 3.156 GB, free: 77.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009521/9.839, allocations: 6.437 MB / 3.162 GB, free: 76.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003384/9.843, allocations: 1.125 MB / 3.163 GB, free: 76.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/9.844, allocations: 20.86 kB / 3.163 GB, free: 76.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003153/9.847, allocations: 251.7 kB / 3.163 GB, free: 76.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/9.847, allocations: 175.4 kB / 3.164 GB, free: 76.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000257/9.847, allocations: 134.7 kB / 3.164 GB, free: 76.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.004528/9.852, allocations: 3.028 MB / 3.167 GB, free: 76.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/9.852, allocations: 0 / 3.167 GB, free: 76.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00782/9.86, allocations: 1.848 MB / 3.169 GB, free: 75.91 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009985/9.87, allocations: 8.547 MB / 3.177 GB, free: 73.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005341/9.875, allocations: 3.929 MB / 3.181 GB, free: 72.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/9.875, allocations: 7.75 kB / 3.181 GB, free: 72.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/9.877, allocations: 1.914 MB / 3.183 GB, free: 72.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01242/9.89, allocations: 2.361 MB / 3.185 GB, free: 72.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/9.913, allocations: 12.05 MB / 3.197 GB, free: 70.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00475/9.917, allocations: 4.41 MB / 3.201 GB, free: 85.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00554/9.923, allocations: 1.678 MB / 3.203 GB, free: 85.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003431/9.926, allocations: 2.415 MB / 3.205 GB, free: 85.56 MB / 0.6355 GB Notification: Performance of SimCode: time 2.815e-06/9.926, allocations: 0 / 3.205 GB, free: 85.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1829/10.11, allocations: 131.4 MB / 3.333 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/10.11, allocations: 191.8 kB / 3.333 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.566/15.68, allocations: 0 / 3.333 GB, free: 14.76 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)