Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7883/0.7883, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 183.8 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.0008858, allocations: 99.97 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001885/0.001886, allocations: 285.1 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.094e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3851, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7104/1.096, allocations: 375.1 MB / 1.124 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.096, allocations: 87.52 kB / 1.124 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.395/8.491, allocations: 2.093 GB / 3.217 GB, free: 98.65 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.148e-06/8.491, allocations: 0 / 3.217 GB, free: 98.65 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001091/8.492, allocations: 170.9 kB / 3.217 GB, free: 98.62 MB / 0.7136 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.02096/8.513, allocations: 5.501 MB / 3.222 GB, free: 96.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/8.513, allocations: 7.688 kB / 3.222 GB, free: 96.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006159/8.52, allocations: 0.7808 MB / 3.223 GB, free: 96.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02095/8.541, allocations: 7.264 MB / 3.23 GB, free: 95.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004652/8.541, allocations: 176.5 kB / 3.23 GB, free: 95.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00272/8.544, allocations: 326.9 kB / 3.231 GB, free: 95.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01645/8.56, allocations: 5.494 MB / 3.236 GB, free: 93.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02525/8.586, allocations: 6.604 MB / 3.243 GB, free: 90.49 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005285/8.586, allocations: 19.75 kB / 3.243 GB, free: 90.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002833/8.589, allocations: 9.656 kB / 3.243 GB, free: 90.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003877/8.589, allocations: 225.2 kB / 3.243 GB, free: 90.47 MB / 0.7136 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.05674/8.646, allocations: 28.58 MB / 3.271 GB, free: 67.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006177/8.652, allocations: 3.386 MB / 3.274 GB, free: 63.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004257/8.657, allocations: 2.636 MB / 3.277 GB, free: 61.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009857/8.658, allocations: 0.8253 MB / 3.277 GB, free: 60.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.144e-05/8.658, allocations: 76.67 kB / 3.277 GB, free: 60.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=267): time 7.433e-06/8.658, allocations: 0 / 3.277 GB, free: 60.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=267): time 0.008992/8.667, allocations: 3.518 MB / 3.281 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/8.667, allocations: 81.52 kB / 3.281 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009488/8.676, allocations: 3.911 MB / 3.285 GB, free: 52.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009422/8.677, allocations: 32.88 kB / 3.285 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002951/8.68, allocations: 2.824 MB / 3.288 GB, free: 49.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001791/8.682, allocations: 0.9085 MB / 3.289 GB, free: 48.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006473/8.683, allocations: 0 / 3.289 GB, free: 48.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000405/8.683, allocations: 457.9 kB / 3.289 GB, free: 48.31 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/8.686, allocations: 1.538 MB / 3.29 GB, free: 46.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003742/8.69, allocations: 2.771 MB / 3.293 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004377/8.694, allocations: 2.234 MB / 3.295 GB, free: 41.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.295e-05/8.695, allocations: 8 kB / 3.295 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0111/8.706, allocations: 4.912 MB / 3.3 GB, free: 36.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/8.706, allocations: 23.98 kB / 3.3 GB, free: 36.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.713e-05/8.706, allocations: 43.95 kB / 3.3 GB, free: 36.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008775/8.707, allocations: 415.2 kB / 3.301 GB, free: 35.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003365/8.71, allocations: 0.8692 MB / 3.301 GB, free: 34.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005009/8.715, allocations: 5.149 MB / 3.306 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006316/8.721, allocations: 0.519 MB / 3.307 GB, free: 28.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009933/8.722, allocations: 184 kB / 3.307 GB, free: 28.8 MB / 0.7136 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.001421/8.724, allocations: 223.6 kB / 3.307 GB, free: 28.57 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007697/8.732, allocations: 3.526 MB / 3.311 GB, free: 24.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/8.734, allocations: 422.8 kB / 3.311 GB, free: 24.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007961/8.742, allocations: 3.881 MB / 3.315 GB, free: 20.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/8.742, allocations: 24 kB / 3.315 GB, free: 20.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/8.742, allocations: 8 kB / 3.315 GB, free: 20.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005183/8.747, allocations: 3.44 MB / 3.318 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/8.772, allocations: 9.341 MB / 3.328 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/8.772, allocations: 4 kB / 3.328 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/8.774, allocations: 0.4997 MB / 3.328 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008937/8.775, allocations: 375.4 kB / 3.328 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000536/8.776, allocations: 43.91 kB / 3.328 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005226/8.781, allocations: 5.079 MB / 3.333 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-05/8.781, allocations: 7.938 kB / 3.333 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5814/9.363, allocations: 6.415 MB / 3.34 GB, free: 96.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00446/9.367, allocations: 1.12 MB / 3.341 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00212/9.369, allocations: 19.59 kB / 3.341 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00513/9.374, allocations: 253.1 kB / 3.341 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006609/9.375, allocations: 177.4 kB / 3.341 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007705/9.376, allocations: 122.4 kB / 3.341 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.007484/9.383, allocations: 2.977 MB / 3.344 GB, free: 96.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.81e-07/9.383, allocations: 4.719 kB / 3.344 GB, free: 96.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01088/9.394, allocations: 1.841 MB / 3.346 GB, free: 96.55 MB / 0.7136 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.01758/9.412, allocations: 8.536 MB / 3.354 GB, free: 93.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009023/9.421, allocations: 3.941 MB / 3.358 GB, free: 93.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/9.421, allocations: 3.969 kB / 3.358 GB, free: 93.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003778/9.425, allocations: 1.909 MB / 3.36 GB, free: 93.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01497/9.44, allocations: 2.378 MB / 3.362 GB, free: 93.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03701/9.477, allocations: 11.96 MB / 3.374 GB, free: 91.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00816/9.485, allocations: 4.382 MB / 3.378 GB, free: 90.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.008553/9.494, allocations: 1.664 MB / 3.38 GB, free: 90.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00668/9.5, allocations: 2.388 MB / 3.382 GB, free: 90.25 MB / 0.7136 GB Notification: Performance of SimCode: time 1.312e-06/9.501, allocations: 2.625 kB / 3.382 GB, free: 90.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2283/9.729, allocations: 130.8 MB / 3.51 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/9.729, allocations: 196.2 kB / 3.51 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.071/15.8, allocations: 4 kB / 3.51 GB, free: 57.55 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)