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.368/1.368, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 179.4 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009436/0.0009435, allocations: 90.42 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004408, allocations: 10.12 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2575, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9296/1.187, allocations: 397.1 MB / 1.288 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/1.187, allocations: 89.42 kB / 1.288 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.524/8.711, allocations: 2.022 GB / 3.31 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.344e-06/8.711, allocations: 2.062 kB / 3.31 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001005/8.712, allocations: 174 kB / 3.31 GB, free: 125.3 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.02274/8.735, allocations: 6.515 MB / 3.317 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/8.735, allocations: 8.031 kB / 3.317 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003707/8.739, allocations: 0.767 MB / 3.318 GB, free: 118 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/8.743, allocations: 0.7727 MB / 3.318 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0196/8.763, allocations: 7.285 MB / 3.325 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004626/8.764, allocations: 413.2 kB / 3.326 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002552/8.766, allocations: 0.5568 MB / 3.326 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/8.788, allocations: 7.384 MB / 3.334 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003452/8.788, allocations: 15.92 kB / 3.334 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002074/8.79, allocations: 236.7 kB / 3.334 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/8.79, allocations: 161.7 kB / 3.334 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/8.805, allocations: 6.011 MB / 3.34 GB, free: 95.09 MB / 0.8855 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.05023/8.856, allocations: 29.06 MB / 3.368 GB, free: 65.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005999/8.862, allocations: 3.699 MB / 3.372 GB, free: 61.35 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008898/8.863, allocations: 0.8221 MB / 3.373 GB, free: 60.37 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.566e-05/8.863, allocations: 76.72 kB / 3.373 GB, free: 60.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 5.911e-06/8.863, allocations: 0 / 3.373 GB, free: 60.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.01225/8.875, allocations: 5.813 MB / 3.378 GB, free: 54.37 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/8.875, allocations: 81.58 kB / 3.378 GB, free: 54.28 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/8.885, allocations: 4.816 MB / 3.383 GB, free: 49.47 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000897/8.886, allocations: 73.7 kB / 3.383 GB, free: 49.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002881/8.889, allocations: 2.806 MB / 3.386 GB, free: 46.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00173/8.891, allocations: 0.9684 MB / 3.387 GB, free: 45.61 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003887/8.891, allocations: 79.28 kB / 3.387 GB, free: 45.54 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000308/8.891, allocations: 470 kB / 3.387 GB, free: 45.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/8.894, allocations: 1.682 MB / 3.389 GB, free: 43.39 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003691/8.898, allocations: 2.905 MB / 3.392 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003667/8.902, allocations: 2.298 MB / 3.394 GB, free: 37.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.73e-05/8.902, allocations: 12 kB / 3.394 GB, free: 37.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01275/8.914, allocations: 5.444 MB / 3.399 GB, free: 32.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.479e-05/8.914, allocations: 26.5 kB / 3.399 GB, free: 32.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-05/8.915, allocations: 36 kB / 3.4 GB, free: 32.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009347/8.915, allocations: 425.5 kB / 3.4 GB, free: 31.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/8.919, allocations: 0.8658 MB / 3.401 GB, free: 30.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004723/8.924, allocations: 5.405 MB / 3.406 GB, free: 25.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006796/8.931, allocations: 0.6749 MB / 3.407 GB, free: 24.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/8.932, allocations: 180 kB / 3.407 GB, free: 24.26 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 () * Number of clocked 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.006018/8.938, allocations: 2.257 MB / 3.409 GB, free: 21.99 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002425/8.94, allocations: 482.1 kB / 3.41 GB, free: 21.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/8.952, allocations: 4.226 MB / 3.414 GB, free: 17.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/8.952, allocations: 28 kB / 3.414 GB, free: 17.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.452e-05/8.952, allocations: 4 kB / 3.414 GB, free: 17.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0065/8.958, allocations: 3.657 MB / 3.417 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03129/8.99, allocations: 10.35 MB / 3.427 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-05/8.99, allocations: 8 kB / 3.427 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002815/8.992, allocations: 0.5194 MB / 3.428 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009341/8.993, allocations: 372 kB / 3.428 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007478/8.994, allocations: 79.95 kB / 3.428 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006153/9, allocations: 5.345 MB / 3.434 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/9, allocations: 12.16 kB / 3.434 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/9.016, allocations: 7.122 MB / 3.441 GB, free: 4.84 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005765/9.022, allocations: 1.193 MB / 3.442 GB, free: 3.621 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002717/9.025, allocations: 67.73 kB / 3.442 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005938/9.031, allocations: 307.3 kB / 3.442 GB, free: 3.258 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009941/9.032, allocations: 193.6 kB / 3.442 GB, free: 3.066 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009298/9.033, allocations: 115.9 kB / 3.442 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.6673/9.7, allocations: 3.924 MB / 3.446 GB, free: 150.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.2e-07/9.7, allocations: 0 / 3.446 GB, free: 150.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01/9.71, allocations: 1.848 MB / 3.448 GB, free: 150.4 MB / 0.9011 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 () * Number of clocked 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.01775/9.728, allocations: 9.347 MB / 3.457 GB, free: 147.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01152/9.739, allocations: 4.303 MB / 3.461 GB, free: 147.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.969e-05/9.739, allocations: 4.625 kB / 3.461 GB, free: 147.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004493/9.744, allocations: 2.068 MB / 3.463 GB, free: 147 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01862/9.763, allocations: 3.243 MB / 3.467 GB, free: 146.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1362/9.899, allocations: 72.06 MB / 3.537 GB, free: 103 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009529/9.908, allocations: 4.396 MB / 3.541 GB, free: 102.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01138/9.92, allocations: 1.885 MB / 3.543 GB, free: 102.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007787/9.928, allocations: 2.418 MB / 3.545 GB, free: 102.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.162e-06/9.928, allocations: 0 / 3.545 GB, free: 102.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2704/10.2, allocations: 164.7 MB / 3.706 GB, free: 39.79 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/10.2, allocations: 261 kB / 3.706 GB, free: 39.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/17.18, allocations: 0 / 3.706 GB, free: 39.43 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)