Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.6 MB / 307.5 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001466, allocations: 185 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 0.6366 GB, free: 9.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009337/0.0009339, allocations: 90.41 kB / 0.7509 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2961, allocations: 116.3 MB / 0.9884 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.609/1.905, allocations: 405.7 MB / 1.385 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.905, allocations: 91.44 kB / 1.385 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.037/8.942, allocations: 2.074 GB / 3.458 GB, free: 93.38 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.375e-06/8.942, allocations: 0 / 3.458 GB, free: 93.38 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001315/8.944, allocations: 175.3 kB / 3.458 GB, free: 93.22 MB / 0.9636 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.0268/8.97, allocations: 6.514 MB / 3.465 GB, free: 86.69 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/8.97, allocations: 11.97 kB / 3.465 GB, free: 86.68 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004413/8.975, allocations: 0.7704 MB / 3.466 GB, free: 85.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005805/8.981, allocations: 0.7766 MB / 3.466 GB, free: 85.12 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02075/9.002, allocations: 7.296 MB / 3.473 GB, free: 77.88 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004426/9.002, allocations: 418.7 kB / 3.474 GB, free: 77.47 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/9.004, allocations: 0.5423 MB / 3.474 GB, free: 76.93 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/9.023, allocations: 7.489 MB / 3.482 GB, free: 69.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/9.023, allocations: 19.78 kB / 3.482 GB, free: 69.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009232/9.024, allocations: 236 kB / 3.482 GB, free: 68.96 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/9.024, allocations: 171.9 kB / 3.482 GB, free: 68.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/9.037, allocations: 5.97 MB / 3.488 GB, free: 62.82 MB / 0.9636 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.04684/9.084, allocations: 29.66 MB / 3.517 GB, free: 32.05 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005716/9.09, allocations: 3.581 MB / 3.52 GB, free: 28.49 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/9.091, allocations: 0.8337 MB / 3.521 GB, free: 27.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.411e-05/9.091, allocations: 68.61 kB / 3.521 GB, free: 27.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=267): time 5.811e-06/9.091, allocations: 0 / 3.521 GB, free: 27.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=267): time 0.01185/9.103, allocations: 5.74 MB / 3.527 GB, free: 21.58 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/9.103, allocations: 81.45 kB / 3.527 GB, free: 21.49 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009373/9.113, allocations: 4.817 MB / 3.532 GB, free: 16.68 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0009271/9.114, allocations: 81.7 kB / 3.532 GB, free: 16.59 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002178/9.116, allocations: 2.819 MB / 3.534 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/9.117, allocations: 0.9375 MB / 3.535 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/9.118, allocations: 76 kB / 3.535 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002176/9.118, allocations: 461.9 kB / 3.536 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002288/9.12, allocations: 1.658 MB / 3.538 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/9.123, allocations: 2.915 MB / 3.54 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/9.126, allocations: 2.277 MB / 3.543 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-05/9.126, allocations: 16 kB / 3.543 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.624/9.75, allocations: 5.389 MB / 3.548 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/9.75, allocations: 22.09 kB / 3.548 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.877e-05/9.75, allocations: 39.19 kB / 3.548 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/9.751, allocations: 423.3 kB / 3.548 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/9.755, allocations: 0.8558 MB / 3.549 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/9.761, allocations: 5.405 MB / 3.554 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006998/9.768, allocations: 0.6724 MB / 3.555 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/9.769, allocations: 182.8 kB / 3.555 GB, free: 124.9 MB / 0.9636 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.005648/9.775, allocations: 2.261 MB / 3.557 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/9.777, allocations: 484.1 kB / 3.558 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009258/9.786, allocations: 4.159 MB / 3.562 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.536e-05/9.786, allocations: 27.02 kB / 3.562 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/9.786, allocations: 8.188 kB / 3.562 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00578/9.792, allocations: 3.617 MB / 3.566 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02692/9.819, allocations: 10.03 MB / 3.575 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.432e-05/9.819, allocations: 3.125 kB / 3.575 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002315/9.821, allocations: 0.4982 MB / 3.576 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008999/9.822, allocations: 371 kB / 3.576 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/9.822, allocations: 74.61 kB / 3.576 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005347/9.828, allocations: 5.348 MB / 3.582 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/9.828, allocations: 5.75 kB / 3.582 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/9.84, allocations: 6.879 MB / 3.588 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005108/9.845, allocations: 1.207 MB / 3.589 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001871/9.847, allocations: 62.8 kB / 3.589 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004742/9.852, allocations: 307.7 kB / 3.59 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003538/9.852, allocations: 171.9 kB / 3.59 GB, free: 119 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003614/9.852, allocations: 134.9 kB / 3.59 GB, free: 119 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0075/9.86, allocations: 3.924 MB / 3.594 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.01e-07/9.86, allocations: 2.75 kB / 3.594 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.008972/9.869, allocations: 1.848 MB / 3.596 GB, free: 118.7 MB / 0.9636 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.01249/9.881, allocations: 8.892 MB / 3.604 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006825/9.888, allocations: 4.256 MB / 3.609 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/9.888, allocations: 9.688 kB / 3.609 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002707/9.891, allocations: 2.033 MB / 3.611 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0174/9.908, allocations: 3.242 MB / 3.614 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1296/10.04, allocations: 72.81 MB / 3.685 GB, free: 70.13 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008931/10.05, allocations: 4.379 MB / 3.689 GB, free: 69.29 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.009357/10.06, allocations: 1.89 MB / 3.691 GB, free: 69.24 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005677/10.06, allocations: 2.428 MB / 3.693 GB, free: 69.23 MB / 0.9636 GB Notification: Performance of SimCode: time 1.383e-06/10.06, allocations: 0 / 3.693 GB, free: 69.23 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2548/10.32, allocations: 164.9 MB / 3.854 GB, free: 21.24 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/10.32, allocations: 261.7 kB / 3.855 GB, free: 20.89 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/18.14, allocations: 4 kB / 3.855 GB, free: 20.89 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)