Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.548/2.548, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001551/0.001551, allocations: 182.9 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001145/0.001144, allocations: 94.86 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006631/0.0006632, allocations: 11.62 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2336, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.525, allocations: 404.6 MB / 1.373 GB, free: 9.215 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/1.526, allocations: 93.88 kB / 1.373 GB, free: 9.164 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 11.5/13.03, allocations: 2.074 GB / 3.447 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.956e-06/13.03, allocations: 0 / 3.447 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001171/13.03, allocations: 171.7 kB / 3.447 GB, free: 140.5 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.02869/13.06, allocations: 6.508 MB / 3.454 GB, free: 134 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/13.06, allocations: 12.03 kB / 3.454 GB, free: 134 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003963/13.06, allocations: 0.7627 MB / 3.454 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005783/13.07, allocations: 0.7805 MB / 3.455 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02516/13.09, allocations: 7.297 MB / 3.462 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000627/13.09, allocations: 413.2 kB / 3.463 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002745/13.09, allocations: 0.5453 MB / 3.463 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02686/13.12, allocations: 7.493 MB / 3.47 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003944/13.12, allocations: 15.84 kB / 3.47 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002381/13.12, allocations: 234.7 kB / 3.471 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/13.12, allocations: 171.9 kB / 3.471 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02021/13.14, allocations: 5.97 MB / 3.477 GB, free: 110.2 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.06336/13.21, allocations: 29.67 MB / 3.506 GB, free: 79.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009485/13.22, allocations: 3.582 MB / 3.509 GB, free: 75.85 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/13.22, allocations: 0.8291 MB / 3.51 GB, free: 74.87 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.92e-05/13.22, allocations: 72.66 kB / 3.51 GB, free: 74.79 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=267): time 6.332e-06/13.22, allocations: 2.297 kB / 3.51 GB, free: 74.79 MB / 0.9636 GB Notification: Performance of matching and sorting (n=267): time 0.02001/13.24, allocations: 5.743 MB / 3.516 GB, free: 68.94 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/13.24, allocations: 77.52 kB / 3.516 GB, free: 68.85 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01416/13.25, allocations: 4.817 MB / 3.52 GB, free: 64.04 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/13.25, allocations: 81.7 kB / 3.52 GB, free: 63.95 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00371/13.26, allocations: 2.826 MB / 3.523 GB, free: 61.11 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001836/13.26, allocations: 0.9334 MB / 3.524 GB, free: 60.19 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005202/13.26, allocations: 76 kB / 3.524 GB, free: 60.11 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003644/13.26, allocations: 465.8 kB / 3.525 GB, free: 59.65 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004766/13.27, allocations: 1.658 MB / 3.526 GB, free: 57.99 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005911/13.27, allocations: 2.923 MB / 3.529 GB, free: 54.51 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006045/13.28, allocations: 2.264 MB / 3.531 GB, free: 52.23 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-05/13.28, allocations: 12 kB / 3.531 GB, free: 52.21 MB / 0.9636 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01673/13.29, allocations: 5.403 MB / 3.537 GB, free: 46.76 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/13.29, allocations: 20.78 kB / 3.537 GB, free: 46.74 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.922e-05/13.29, allocations: 40 kB / 3.537 GB, free: 46.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/13.3, allocations: 422.1 kB / 3.537 GB, free: 46.28 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006375/13.3, allocations: 0.858 MB / 3.538 GB, free: 45.42 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008247/13.31, allocations: 5.414 MB / 3.543 GB, free: 39.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008562/13.32, allocations: 0.678 MB / 3.544 GB, free: 39.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/13.32, allocations: 176 kB / 3.544 GB, free: 38.91 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.006899/13.33, allocations: 2.272 MB / 3.546 GB, free: 36.62 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002032/13.33, allocations: 478.2 kB / 3.547 GB, free: 36.15 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/13.34, allocations: 4.158 MB / 3.551 GB, free: 31.93 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-05/13.34, allocations: 28 kB / 3.551 GB, free: 31.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/13.34, allocations: 4 kB / 3.551 GB, free: 31.89 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009871/13.35, allocations: 3.612 MB / 3.554 GB, free: 28.16 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/13.38, allocations: 10.03 MB / 3.564 GB, free: 18.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/13.38, allocations: 4 kB / 3.564 GB, free: 18.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004524/13.39, allocations: 0.4954 MB / 3.565 GB, free: 17.52 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/13.39, allocations: 369.4 kB / 3.565 GB, free: 17.16 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007009/13.39, allocations: 71.97 kB / 3.565 GB, free: 17.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007751/13.4, allocations: 5.344 MB / 3.57 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/13.4, allocations: 11.89 kB / 3.57 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/13.42, allocations: 6.871 MB / 3.577 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004971/13.42, allocations: 1.209 MB / 3.578 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002132/13.42, allocations: 63.94 kB / 3.578 GB, free: 3.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007156/13.43, allocations: 307.1 kB / 3.579 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009026/13.43, allocations: 181.7 kB / 3.579 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005388/13.43, allocations: 127.9 kB / 3.579 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.7542/14.19, allocations: 3.924 MB / 3.583 GB, free: 161.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.72e-07/14.19, allocations: 0 / 3.583 GB, free: 161.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01067/14.2, allocations: 1.84 MB / 3.584 GB, free: 161.1 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.02329/14.22, allocations: 8.897 MB / 3.593 GB, free: 158.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01286/14.23, allocations: 4.259 MB / 3.597 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/14.23, allocations: 4.719 kB / 3.597 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00636/14.24, allocations: 2.031 MB / 3.599 GB, free: 158.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02838/14.27, allocations: 3.238 MB / 3.602 GB, free: 158 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1851/14.45, allocations: 72.82 MB / 3.674 GB, free: 113 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009922/14.46, allocations: 4.392 MB / 3.678 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01231/14.47, allocations: 1.877 MB / 3.68 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006948/14.48, allocations: 2.434 MB / 3.682 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/14.48, allocations: 0 / 3.682 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3517/14.83, allocations: 164.9 MB / 3.843 GB, free: 61.47 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/14.83, allocations: 253.5 kB / 3.843 GB, free: 61.13 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/23.15, allocations: 0 / 3.843 GB, free: 61.13 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)