Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009912/0.0009912, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007795/0.0007796, allocations: 78.56 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.451e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2138, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.561/1.775, allocations: 397 MB / 1.28 GB, free: 262.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.776, allocations: 89.25 kB / 1.28 GB, free: 262.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.54/10.32, allocations: 2.017 GB / 3.297 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/10.32, allocations: 5.844 kB / 3.297 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001698/10.32, allocations: 174.3 kB / 3.297 GB, free: 131.7 MB / 0.8855 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.02782/10.35, allocations: 5.5 MB / 3.302 GB, free: 130 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.45e-05/10.35, allocations: 11.03 kB / 3.302 GB, free: 130 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004831/10.35, allocations: 0.7546 MB / 3.303 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007297/10.36, allocations: 0.7654 MB / 3.304 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0252/10.38, allocations: 7.256 MB / 3.311 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007868/10.38, allocations: 418.3 kB / 3.311 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00378/10.39, allocations: 0.5408 MB / 3.312 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03485/10.42, allocations: 7.302 MB / 3.319 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006672/10.42, allocations: 19.81 kB / 3.319 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00356/10.43, allocations: 233.1 kB / 3.319 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003129/10.43, allocations: 166.8 kB / 3.319 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/10.44, allocations: 5.886 MB / 3.325 GB, free: 128 MB / 0.8855 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.06385/10.51, allocations: 29.05 MB / 3.353 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007254/10.52, allocations: 3.649 MB / 3.357 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005188/10.52, allocations: 3.012 MB / 3.36 GB, free: 116 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/10.52, allocations: 0.8265 MB / 3.361 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/10.52, allocations: 69.86 kB / 3.361 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 8.105e-06/10.52, allocations: 2.125 kB / 3.361 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.009613/10.53, allocations: 3.691 MB / 3.364 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/10.53, allocations: 81.14 kB / 3.365 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01481/10.55, allocations: 4.777 MB / 3.369 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001504/10.55, allocations: 82.95 kB / 3.369 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.005866/10.55, allocations: 2.806 MB / 3.372 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002723/10.56, allocations: 0.9709 MB / 3.373 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009586/10.56, allocations: 74.44 kB / 3.373 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000573/10.56, allocations: 469 kB / 3.373 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/10.56, allocations: 1.629 MB / 3.375 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005845/10.57, allocations: 2.851 MB / 3.378 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00561/10.57, allocations: 2.252 MB / 3.38 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/10.57, allocations: 14.75 kB / 3.38 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01627/10.59, allocations: 5.334 MB / 3.385 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/10.59, allocations: 18.97 kB / 3.385 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/10.59, allocations: 37.12 kB / 3.385 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/10.59, allocations: 421.7 kB / 3.386 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/10.6, allocations: 0.8723 MB / 3.387 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005754/10.6, allocations: 5.295 MB / 3.392 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007641/10.61, allocations: 0.6667 MB / 3.392 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/10.61, allocations: 182.2 kB / 3.393 GB, free: 107.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * 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 (455): * Single equations (assignments): 453 * 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.002016/10.61, allocations: 348.9 kB / 3.393 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002636/10.62, allocations: 484.5 kB / 3.393 GB, free: 107 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/10.63, allocations: 4.13 MB / 3.397 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-05/10.63, allocations: 27.06 kB / 3.397 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.234e-05/10.63, allocations: 3.5 kB / 3.397 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006437/10.63, allocations: 3.582 MB / 3.401 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02864/10.66, allocations: 10.51 MB / 3.411 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/10.66, allocations: 3.688 kB / 3.411 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/10.66, allocations: 0.5145 MB / 3.412 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008822/10.67, allocations: 375.4 kB / 3.412 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005444/10.67, allocations: 78.33 kB / 3.412 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005118/10.67, allocations: 5.246 MB / 3.417 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/10.67, allocations: 10.5 kB / 3.417 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/10.68, allocations: 6.989 MB / 3.424 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005151/10.69, allocations: 1.19 MB / 3.425 GB, free: 99.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002807/10.69, allocations: 65.7 kB / 3.425 GB, free: 99.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005861/10.7, allocations: 305.8 kB / 3.426 GB, free: 99.54 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006845/10.7, allocations: 179.1 kB / 3.426 GB, free: 99.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006535/10.7, allocations: 125.9 kB / 3.426 GB, free: 99.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.009638/10.71, allocations: 3.87 MB / 3.43 GB, free: 98.11 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.132e-06/10.71, allocations: 3.625 kB / 3.43 GB, free: 98.11 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01077/10.72, allocations: 1.851 MB / 3.432 GB, free: 97.72 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 245 * 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.01689/10.74, allocations: 9.207 MB / 3.44 GB, free: 92.55 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008334/10.74, allocations: 4.194 MB / 3.445 GB, free: 91.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.942e-05/10.74, allocations: 11.8 kB / 3.445 GB, free: 91.06 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003644/10.75, allocations: 2.013 MB / 3.447 GB, free: 90.24 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01919/10.77, allocations: 3.232 MB / 3.45 GB, free: 89.71 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04314/10.81, allocations: 12.75 MB / 3.462 GB, free: 85.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009032/10.82, allocations: 4.403 MB / 3.466 GB, free: 83.81 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009475/10.83, allocations: 1.848 MB / 3.468 GB, free: 83.65 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006188/10.84, allocations: 2.421 MB / 3.471 GB, free: 81.77 MB / 0.8855 GB Notification: Performance of SimCode: time 1.282e-06/10.84, allocations: 0 / 3.471 GB, free: 81.77 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9883/11.82, allocations: 165.3 MB / 3.632 GB, free: 127.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/11.82, allocations: 237.4 kB / 3.632 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/19.41, allocations: 0 / 3.632 GB, free: 127.3 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)