Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6947/0.6947, allocations: 132.4 MB / 139.7 MB, free: 15.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001075/0.001075, allocations: 173.8 kB / 171.6 MB, free: 1.949 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.338/1.338, allocations: 170.5 MB / 373.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001694/0.001694, allocations: 112.1 kB / 444.4 MB, free: 9.387 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4271/0.4272, allocations: 73.4 MB / 0.666 GB, free: 62.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6926/1.12, allocations: 376.2 MB / 1.033 GB, free: 63.07 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/1.12, allocations: 87.7 kB / 1.033 GB, free: 63.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.389/4.509, allocations: 0.8839 GB / 1.917 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.00145/4.51, allocations: 182.4 kB / 1.918 GB, free: 52.57 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.02748/4.538, allocations: 6.002 MB / 1.923 GB, free: 50.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.179e-05/4.538, allocations: 11.44 kB / 1.923 GB, free: 50.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008489/4.546, allocations: 0.8599 MB / 1.924 GB, free: 50.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02876/4.575, allocations: 8.443 MB / 1.933 GB, free: 49.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005639/4.576, allocations: 194.2 kB / 1.933 GB, free: 49.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004261/4.58, allocations: 367.3 kB / 1.933 GB, free: 49.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0195/4.6, allocations: 6.442 MB / 1.939 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/4.629, allocations: 7.547 MB / 1.947 GB, free: 47.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000382/4.629, allocations: 23.31 kB / 1.947 GB, free: 47.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002415/4.632, allocations: 12.94 kB / 1.947 GB, free: 47.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002093/4.632, allocations: 193.1 kB / 1.947 GB, free: 47.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0701/4.702, allocations: 36.22 MB / 1.982 GB, free: 30.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005531/4.707, allocations: 2.884 MB / 1.985 GB, free: 30.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00592/4.713, allocations: 3.358 MB / 1.988 GB, free: 30.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/4.715, allocations: 497.5 kB / 1.989 GB, free: 29.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005585/4.72, allocations: 2.596 MB / 1.991 GB, free: 29.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=359): time 1.126e-05/4.72, allocations: 0 / 1.991 GB, free: 29.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=373): time 0.04132/4.762, allocations: 12.77 MB / 2.004 GB, free: 27.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/4.762, allocations: 249.4 kB / 2.004 GB, free: 27.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/4.775, allocations: 4.302 MB / 2.008 GB, free: 27.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001322/4.776, allocations: 25.7 kB / 2.008 GB, free: 27.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.004202/4.781, allocations: 2.336 MB / 2.011 GB, free: 25.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.003644/4.784, allocations: 1.257 MB / 2.012 GB, free: 25.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/4.786, allocations: 0.6562 kB / 2.012 GB, free: 25.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0006517/4.786, allocations: 0.502 MB / 2.012 GB, free: 24.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004742/4.791, allocations: 2.236 MB / 2.015 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005718/4.797, allocations: 3.772 MB / 2.018 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007422/4.804, allocations: 3.54 MB / 2.022 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/4.804, allocations: 14.38 kB / 2.022 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=619) (initialization): time 0.01949/4.824, allocations: 7.102 MB / 2.029 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/4.824, allocations: 3.875 kB / 2.029 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/4.824, allocations: 50.81 kB / 2.029 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/4.825, allocations: 437.1 kB / 2.029 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005474/4.831, allocations: 1.057 MB / 2.03 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005755/4.837, allocations: 4.987 MB / 2.035 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008116/4.845, allocations: 330 kB / 2.035 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/4.847, allocations: 234.1 kB / 2.036 GB, free: 18.92 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 220 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 1 * 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.002975/4.85, allocations: 257.1 kB / 2.036 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003031/4.853, allocations: 490.2 kB / 2.036 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01957/4.872, allocations: 6.933 MB / 2.043 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.213e-05/4.872, allocations: 42.06 kB / 2.043 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.312e-05/4.872, allocations: 6.719 kB / 2.043 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01517/4.887, allocations: 5.794 MB / 2.049 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04091/4.928, allocations: 13.29 MB / 2.062 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.501e-05/4.929, allocations: 5.75 kB / 2.062 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004177/4.933, allocations: 0.6625 MB / 2.062 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002236/4.935, allocations: 0.9548 MB / 2.063 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/4.936, allocations: 65.95 kB / 2.063 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/4.95, allocations: 13.32 MB / 2.076 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/4.95, allocations: 8 kB / 2.076 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02341/4.974, allocations: 10.59 MB / 2.087 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006989/4.981, allocations: 1.255 MB / 2.088 GB, free: 448 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003514/4.984, allocations: 27.8 kB / 2.088 GB, free: 424 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007921/4.992, allocations: 391 kB / 2.088 GB, free: 180 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/4.994, allocations: 224.2 kB / 2.089 GB, free: 44 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001662/4.995, allocations: 171.4 kB / 2.089 GB, free: 0 / 0.6511 GB Notification: Performance of sort global known variables: time 0.01035/5.006, allocations: 3.283 MB / 2.092 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01437/5.02, allocations: 1.642 MB / 2.094 GB, free: 11.54 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 20 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (335): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * 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: 14 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003402/5.024, allocations: 0.8418 MB / 2.094 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01464/5.038, allocations: 5.641 MB / 2.1 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-05/5.038, allocations: 0 / 2.1 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.008181/5.047, allocations: 2.946 MB / 2.103 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01771/5.064, allocations: 2.459 MB / 2.105 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4915/5.556, allocations: 13.11 MB / 2.118 GB, free: 127 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01571/5.572, allocations: 5.237 MB / 2.123 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of SimCode: time 4.909e-06/5.572, allocations: 0 / 2.123 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of Templates: time 0.2112/5.783, allocations: 101.4 MB / 2.222 GB, free: 120.3 MB / 0.6667 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)