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.001244/0.001245, allocations: 182.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.515/0.515, allocations: 91.98 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001124, allocations: 96.33 kB / 427.4 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1796, allocations: 72.29 MB / 0.5689 GB, free: 1.855 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.181/1.361, allocations: 368.8 MB / 0.9291 GB, free: 97.77 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.361, allocations: 98.89 kB / 0.9292 GB, free: 97.72 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.78/9.141, allocations: 2.142 GB / 3.071 GB, free: 59.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.973e-06/9.141, allocations: 0 / 3.071 GB, free: 59.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00137/9.142, allocations: 179.6 kB / 3.071 GB, free: 58.89 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.02974/9.172, allocations: 6.577 MB / 3.078 GB, free: 52.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/9.172, allocations: 8.031 kB / 3.078 GB, free: 52.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005945/9.178, allocations: 0.7619 MB / 3.078 GB, free: 51.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007814/9.186, allocations: 0.7882 MB / 3.079 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02442/9.21, allocations: 7.519 MB / 3.086 GB, free: 43.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005796/9.211, allocations: 413.7 kB / 3.087 GB, free: 42.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002913/9.214, allocations: 0.5488 MB / 3.087 GB, free: 42.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/9.235, allocations: 7.489 MB / 3.095 GB, free: 34.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/9.236, allocations: 15.94 kB / 3.095 GB, free: 34.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008359/9.236, allocations: 242 kB / 3.095 GB, free: 34.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/9.237, allocations: 222.5 kB / 3.095 GB, free: 34.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/9.249, allocations: 5.97 MB / 3.101 GB, free: 28.2 MB / 0.6198 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.05544/9.304, allocations: 29.69 MB / 3.13 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007357/9.312, allocations: 3.577 MB / 3.134 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/9.313, allocations: 0.8305 MB / 3.134 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/9.313, allocations: 68.45 kB / 3.134 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=267): time 5.05e-06/9.313, allocations: 3.062 kB / 3.134 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=267): time 0.01491/9.328, allocations: 5.751 MB / 3.14 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/9.328, allocations: 89.45 kB / 3.14 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5402/9.868, allocations: 4.879 MB / 3.145 GB, free: 94.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/9.869, allocations: 80.02 kB / 3.145 GB, free: 94.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00432/9.874, allocations: 2.847 MB / 3.148 GB, free: 93.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.002165/9.876, allocations: 0.9362 MB / 3.149 GB, free: 93.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/9.876, allocations: 74.72 kB / 3.149 GB, free: 93.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0004047/9.877, allocations: 460.6 kB / 3.149 GB, free: 93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003566/9.88, allocations: 1.659 MB / 3.151 GB, free: 93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004472/9.885, allocations: 2.917 MB / 3.154 GB, free: 91.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004614/9.889, allocations: 2.272 MB / 3.156 GB, free: 91.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-05/9.889, allocations: 11.44 kB / 3.156 GB, free: 91.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0113/9.901, allocations: 5.41 MB / 3.161 GB, free: 91.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/9.901, allocations: 26.38 kB / 3.161 GB, free: 91.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.677e-05/9.901, allocations: 36.44 kB / 3.161 GB, free: 91.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/9.902, allocations: 424 kB / 3.162 GB, free: 91.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/9.906, allocations: 0.8573 MB / 3.162 GB, free: 91.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006925/9.913, allocations: 5.406 MB / 3.168 GB, free: 88.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007823/9.921, allocations: 0.6674 MB / 3.168 GB, free: 88.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/9.922, allocations: 183.3 kB / 3.169 GB, free: 88.24 MB / 0.6355 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 (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.008589/9.931, allocations: 2.29 MB / 3.171 GB, free: 88.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003361/9.934, allocations: 487.3 kB / 3.171 GB, free: 87.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/9.946, allocations: 4.17 MB / 3.175 GB, free: 87.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.694e-05/9.946, allocations: 31.09 kB / 3.175 GB, free: 87.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/9.946, allocations: 3.625 kB / 3.175 GB, free: 87.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005996/9.952, allocations: 3.612 MB / 3.179 GB, free: 87.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02761/9.98, allocations: 10.05 MB / 3.189 GB, free: 86.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/9.98, allocations: 3.312 kB / 3.189 GB, free: 86.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002604/9.982, allocations: 0.492 MB / 3.189 GB, free: 86.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009102/9.983, allocations: 375.5 kB / 3.19 GB, free: 86.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005477/9.984, allocations: 76.55 kB / 3.19 GB, free: 86.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005405/9.989, allocations: 5.345 MB / 3.195 GB, free: 83.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/9.989, allocations: 3.031 kB / 3.195 GB, free: 83.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/10, allocations: 6.896 MB / 3.202 GB, free: 82.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006013/10.01, allocations: 1.209 MB / 3.203 GB, free: 81.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003232/10.01, allocations: 62.52 kB / 3.203 GB, free: 81.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006003/10.02, allocations: 307.4 kB / 3.203 GB, free: 81.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007277/10.02, allocations: 181 kB / 3.203 GB, free: 81.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00075/10.02, allocations: 130 kB / 3.203 GB, free: 81.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.01007/10.03, allocations: 3.98 MB / 3.207 GB, free: 81.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.51e-07/10.03, allocations: 3.219 kB / 3.207 GB, free: 81.53 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01145/10.04, allocations: 1.856 MB / 3.209 GB, free: 81.3 MB / 0.6355 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 (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.0147/10.06, allocations: 8.9 MB / 3.218 GB, free: 78.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007523/10.06, allocations: 4.265 MB / 3.222 GB, free: 78.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/10.06, allocations: 3.438 kB / 3.222 GB, free: 78.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003491/10.07, allocations: 2.031 MB / 3.224 GB, free: 77.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01828/10.08, allocations: 3.247 MB / 3.227 GB, free: 77.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1366/10.22, allocations: 73.47 MB / 3.299 GB, free: 31.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007754/10.23, allocations: 4.415 MB / 3.303 GB, free: 30.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.009274/10.24, allocations: 1.906 MB / 3.305 GB, free: 30.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005723/10.24, allocations: 2.457 MB / 3.307 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of SimCode: time 1.593e-06/10.24, allocations: 0 / 3.307 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.28/11.52, allocations: 165.7 MB / 3.469 GB, free: 76.23 MB / 0.6512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/11.52, allocations: 252.4 kB / 3.469 GB, free: 75.89 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/19.01, allocations: 4 kB / 3.469 GB, free: 75.89 MB / 0.6512 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)