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.375/1.375, allocations: 249.5 MB / 257 MB, free: 6.938 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.0009788/0.0009787, allocations: 176.9 kB / 316.3 MB, free: 3.23 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.441/1.441, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009362/0.0009361, allocations: 98.75 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.299e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.197, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.459/1.656, allocations: 397.3 MB / 1.273 GB, free: 263.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/1.656, allocations: 90.17 kB / 1.273 GB, free: 263.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.335/8.992, allocations: 2.007 GB / 3.28 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.683e-06/8.992, allocations: 2.906 kB / 3.28 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001025/8.993, allocations: 175 kB / 3.28 GB, free: 124.9 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.01931/9.012, allocations: 5.503 MB / 3.285 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/9.012, allocations: 9.75 kB / 3.285 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0049/9.017, allocations: 0.767 MB / 3.286 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01882/9.036, allocations: 7.257 MB / 3.293 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004712/9.036, allocations: 176.8 kB / 3.293 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002583/9.039, allocations: 323.7 kB / 3.294 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01573/9.055, allocations: 5.554 MB / 3.299 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/9.075, allocations: 6.497 MB / 3.306 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/9.075, allocations: 22.08 kB / 3.306 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009418/9.076, allocations: 7.469 kB / 3.306 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/9.076, allocations: 166.7 kB / 3.306 GB, free: 121.5 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.04356/9.12, allocations: 27.95 MB / 3.333 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005581/9.125, allocations: 3.494 MB / 3.336 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003542/9.129, allocations: 2.658 MB / 3.339 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008445/9.13, allocations: 0.8295 MB / 3.34 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.844e-05/9.13, allocations: 71.73 kB / 3.34 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 7.905e-06/9.13, allocations: 2.969 kB / 3.34 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.007307/9.137, allocations: 3.597 MB / 3.343 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/9.137, allocations: 79.02 kB / 3.344 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006895/9.144, allocations: 3.913 MB / 3.347 GB, free: 108 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0008042/9.145, allocations: 29.58 kB / 3.347 GB, free: 108 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001934/9.147, allocations: 2.803 MB / 3.35 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001464/9.149, allocations: 0.9349 MB / 3.351 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/9.149, allocations: 0 / 3.351 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001958/9.149, allocations: 465.2 kB / 3.351 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/9.151, allocations: 1.553 MB / 3.353 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/9.154, allocations: 2.756 MB / 3.356 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003328/9.157, allocations: 2.293 MB / 3.358 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.251e-05/9.157, allocations: 11.16 kB / 3.358 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.008236/9.165, allocations: 5.008 MB / 3.363 GB, free: 104 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/9.165, allocations: 21.06 kB / 3.363 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.381e-05/9.165, allocations: 44.98 kB / 3.363 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008015/9.166, allocations: 412.8 kB / 3.363 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/9.169, allocations: 0.8784 MB / 3.364 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004665/9.174, allocations: 5.139 MB / 3.369 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005529/9.179, allocations: 0.5222 MB / 3.37 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006346/9.18, allocations: 182 kB / 3.37 GB, free: 101.1 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.0008382/9.181, allocations: 220.4 kB / 3.37 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006416/9.187, allocations: 3.593 MB / 3.374 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/9.189, allocations: 422.2 kB / 3.374 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006591/9.195, allocations: 3.947 MB / 3.378 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/9.195, allocations: 29.3 kB / 3.378 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/9.195, allocations: 3.688 kB / 3.378 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004458/9.2, allocations: 3.507 MB / 3.381 GB, free: 99.71 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/9.218, allocations: 9.694 MB / 3.391 GB, free: 98.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/9.218, allocations: 6.469 kB / 3.391 GB, free: 98.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/9.22, allocations: 0.5145 MB / 3.391 GB, free: 98.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006812/9.221, allocations: 361.7 kB / 3.392 GB, free: 98.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/9.221, allocations: 47.47 kB / 3.392 GB, free: 98.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004393/9.226, allocations: 5.087 MB / 3.397 GB, free: 96.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/9.226, allocations: 12.19 kB / 3.397 GB, free: 96.06 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008813/9.235, allocations: 6.653 MB / 3.403 GB, free: 94.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003522/9.238, allocations: 1.108 MB / 3.404 GB, free: 94.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/9.239, allocations: 24.3 kB / 3.404 GB, free: 94.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003437/9.243, allocations: 243.3 kB / 3.404 GB, free: 94.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003227/9.243, allocations: 182.8 kB / 3.405 GB, free: 94.19 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/9.243, allocations: 121.9 kB / 3.405 GB, free: 94.19 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005014/9.249, allocations: 2.98 MB / 3.408 GB, free: 94.01 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.3e-07/9.249, allocations: 2.938 kB / 3.408 GB, free: 94.01 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009781/9.258, allocations: 1.85 MB / 3.409 GB, free: 93.69 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.01051/9.269, allocations: 8.982 MB / 3.418 GB, free: 90.49 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005462/9.274, allocations: 3.982 MB / 3.422 GB, free: 90.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/9.274, allocations: 7.703 kB / 3.422 GB, free: 90.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/9.277, allocations: 1.935 MB / 3.424 GB, free: 89.97 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01294/9.29, allocations: 2.375 MB / 3.426 GB, free: 89.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03232/9.322, allocations: 12.28 MB / 3.438 GB, free: 87.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006705/9.329, allocations: 4.386 MB / 3.443 GB, free: 86.85 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005786/9.335, allocations: 1.617 MB / 3.444 GB, free: 86.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003539/9.338, allocations: 2.403 MB / 3.447 GB, free: 86.8 MB / 0.8855 GB Notification: Performance of SimCode: time 8.42e-07/9.338, allocations: 1.125 kB / 3.447 GB, free: 86.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1876/9.526, allocations: 130.5 MB / 3.574 GB, free: 16.55 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/9.526, allocations: 193.5 kB / 3.574 GB, free: 16.35 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.96/15.49, allocations: 3.5 kB / 3.574 GB, free: 16.35 MB / 0.8855 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)