Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.621/1.621, allocations: 288.2 MB / 303.2 MB, free: 8.113 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.001395/0.001395, allocations: 189 kB / 371.8 MB, free: 10.27 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.633/1.633, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 97.09 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004185, allocations: 19.56 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2388, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9858/1.225, allocations: 404.7 MB / 1.375 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.225, allocations: 88.52 kB / 1.375 GB, free: 8.199 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.418/9.643, allocations: 2.074 GB / 3.448 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.895e-06/9.643, allocations: 0 / 3.448 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00128/9.645, allocations: 170.1 kB / 3.449 GB, free: 136.2 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.02964/9.674, allocations: 6.504 MB / 3.455 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.877e-05/9.674, allocations: 8.031 kB / 3.455 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004792/9.679, allocations: 0.7708 MB / 3.456 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005678/9.685, allocations: 0.7766 MB / 3.456 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02059/9.706, allocations: 7.292 MB / 3.464 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/9.706, allocations: 419 kB / 3.464 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002776/9.709, allocations: 0.5425 MB / 3.464 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02322/9.732, allocations: 7.489 MB / 3.472 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004057/9.733, allocations: 15.84 kB / 3.472 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002491/9.735, allocations: 239.4 kB / 3.472 GB, free: 112 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/9.735, allocations: 171.9 kB / 3.472 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/9.749, allocations: 5.97 MB / 3.478 GB, free: 105.8 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.0501/9.8, allocations: 29.67 MB / 3.507 GB, free: 75.05 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006624/9.806, allocations: 3.588 MB / 3.51 GB, free: 71.49 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/9.807, allocations: 0.8348 MB / 3.511 GB, free: 70.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/9.808, allocations: 64.67 kB / 3.511 GB, free: 70.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=267): time 8.706e-06/9.808, allocations: 0 / 3.511 GB, free: 70.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=267): time 0.01308/9.821, allocations: 5.747 MB / 3.517 GB, free: 64.58 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/9.821, allocations: 77.52 kB / 3.517 GB, free: 64.49 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/9.832, allocations: 4.817 MB / 3.522 GB, free: 59.68 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0009913/9.833, allocations: 81.7 kB / 3.522 GB, free: 59.59 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003353/9.837, allocations: 2.815 MB / 3.525 GB, free: 56.76 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001927/9.839, allocations: 0.9408 MB / 3.525 GB, free: 55.83 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007203/9.839, allocations: 72 kB / 3.526 GB, free: 55.76 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004461/9.84, allocations: 461.9 kB / 3.526 GB, free: 55.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/9.843, allocations: 1.658 MB / 3.528 GB, free: 53.64 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/9.847, allocations: 2.923 MB / 3.53 GB, free: 50.16 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/9.85, allocations: 2.28 MB / 3.533 GB, free: 47.86 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-05/9.85, allocations: 12 kB / 3.533 GB, free: 47.85 MB / 0.9636 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008638/9.858, allocations: 5.391 MB / 3.538 GB, free: 42.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/9.859, allocations: 25.44 kB / 3.538 GB, free: 42.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.291e-05/9.859, allocations: 44 kB / 3.538 GB, free: 42.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000856/9.859, allocations: 423.4 kB / 3.538 GB, free: 41.92 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/9.862, allocations: 0.8579 MB / 3.539 GB, free: 41.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/9.867, allocations: 5.414 MB / 3.545 GB, free: 35.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006651/9.874, allocations: 0.6703 MB / 3.545 GB, free: 34.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009114/9.875, allocations: 180 kB / 3.545 GB, free: 34.54 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.005249/9.88, allocations: 2.268 MB / 3.548 GB, free: 32.26 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001738/9.882, allocations: 486.2 kB / 3.548 GB, free: 31.78 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00672/9.888, allocations: 4.15 MB / 3.552 GB, free: 27.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/9.888, allocations: 35.92 kB / 3.552 GB, free: 27.53 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/9.888, allocations: 4 kB / 3.552 GB, free: 27.53 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004061/9.892, allocations: 3.612 MB / 3.556 GB, free: 23.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/9.912, allocations: 10.02 MB / 3.565 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/9.912, allocations: 8.062 kB / 3.565 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/9.914, allocations: 0.4915 MB / 3.566 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007519/9.914, allocations: 371.4 kB / 3.566 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/9.915, allocations: 79.95 kB / 3.566 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004328/9.919, allocations: 5.332 MB / 3.572 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/9.919, allocations: 15.88 kB / 3.572 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6936/10.61, allocations: 6.864 MB / 3.578 GB, free: 161.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005839/10.62, allocations: 1.204 MB / 3.579 GB, free: 161.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002261/10.62, allocations: 65.14 kB / 3.58 GB, free: 161.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005625/10.63, allocations: 305.9 kB / 3.58 GB, free: 161.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008391/10.63, allocations: 181.4 kB / 3.58 GB, free: 161.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005592/10.63, allocations: 131.9 kB / 3.58 GB, free: 161.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01118/10.64, allocations: 3.924 MB / 3.584 GB, free: 160.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.01e-07/10.64, allocations: 1.312 kB / 3.584 GB, free: 160.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01088/10.65, allocations: 1.851 MB / 3.586 GB, free: 160.9 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.01611/10.67, allocations: 8.89 MB / 3.594 GB, free: 158.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00981/10.68, allocations: 4.261 MB / 3.599 GB, free: 158.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/10.68, allocations: 4.25 kB / 3.599 GB, free: 158.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00413/10.68, allocations: 2.033 MB / 3.601 GB, free: 157.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02257/10.7, allocations: 3.241 MB / 3.604 GB, free: 157.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1408/10.84, allocations: 72.82 MB / 3.675 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008301/10.85, allocations: 4.381 MB / 3.679 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01098/10.86, allocations: 1.88 MB / 3.681 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006664/10.87, allocations: 2.44 MB / 3.683 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.493e-06/10.87, allocations: 0 / 3.683 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2739/11.14, allocations: 164.9 MB / 3.844 GB, free: 58.84 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/11.14, allocations: 264.8 kB / 3.845 GB, free: 58.48 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/18.66, allocations: 3.281 kB / 3.845 GB, free: 58.48 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)