Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.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.Examples.Stratified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified") [: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.8306/0.8306, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001111/0.001111, allocations: 170.2 kB / 171.6 MB, free: 1.977 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.375/1.375, allocations: 170.5 MB / 373.9 MB, free: 15.91 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.001777/0.001778, allocations: 104 kB / 444.4 MB, free: 9.453 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.4597/0.4597, allocations: 73.4 MB / 0.666 GB, free: 62.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7176/1.177, allocations: 379.7 MB / 1.037 GB, free: 59.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/1.178, allocations: 91.48 kB / 1.037 GB, free: 59.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.854/5.032, allocations: 1.024 GB / 2.061 GB, free: 31.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.002857/5.035, allocations: 249.5 kB / 2.061 GB, free: 31.24 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: 2102 * Number of variables: 2102 Notification: Performance of Generate backend data structure: time 0.04775/5.083, allocations: 8.039 MB / 2.069 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.259e-05/5.083, allocations: 8.031 kB / 2.069 GB, free: 24.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/5.095, allocations: 1.171 MB / 2.07 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04333/5.139, allocations: 11.77 MB / 2.082 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008508/5.139, allocations: 260 kB / 2.082 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005608/5.145, allocations: 495 kB / 2.082 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03224/5.177, allocations: 8.97 MB / 2.091 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04594/5.223, allocations: 10.4 MB / 2.101 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006481/5.224, allocations: 35.66 kB / 2.101 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003942/5.228, allocations: 20 kB / 2.101 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003986/5.228, allocations: 254.2 kB / 2.102 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.564/5.793, allocations: 49.44 MB / 2.15 GB, free: 82.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008326/5.801, allocations: 4.241 MB / 2.154 GB, free: 82.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008424/5.809, allocations: 5.083 MB / 2.159 GB, free: 82.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/5.811, allocations: 0.506 MB / 2.159 GB, free: 82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008212/5.819, allocations: 3.725 MB / 2.163 GB, free: 81.81 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=501): time 1.564e-05/5.819, allocations: 2.188 kB / 2.163 GB, free: 81.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=521): time 0.05652/5.876, allocations: 17.65 MB / 2.18 GB, free: 79.67 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/5.876, allocations: 238.8 kB / 2.181 GB, free: 79.44 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01599/5.892, allocations: 5.853 MB / 2.186 GB, free: 79.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.001742/5.894, allocations: 31.97 kB / 2.186 GB, free: 79.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00588/5.9, allocations: 3.056 MB / 2.189 GB, free: 77.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.005622/5.905, allocations: 1.737 MB / 2.191 GB, free: 76.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/5.907, allocations: 0 / 2.191 GB, free: 76.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0008299/5.908, allocations: 0.5582 MB / 2.192 GB, free: 76.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006404/5.914, allocations: 3.164 MB / 2.195 GB, free: 76.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007858/5.922, allocations: 5.029 MB / 2.2 GB, free: 74.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/5.933, allocations: 4.84 MB / 2.204 GB, free: 74.13 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001488/5.933, allocations: 14.81 kB / 2.204 GB, free: 74.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.02645/5.96, allocations: 9.331 MB / 2.213 GB, free: 73.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.007326/5.967, allocations: 27.43 MB / 2.24 GB, free: 45.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002994/5.967, allocations: 59.78 kB / 2.24 GB, free: 45.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/5.968, allocations: 95.72 kB / 2.24 GB, free: 45.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008113/5.976, allocations: 1.476 MB / 2.242 GB, free: 45.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002307/5.976, allocations: 131.3 kB / 2.242 GB, free: 45.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/5.988, allocations: 459.3 kB / 2.242 GB, free: 45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002853/5.991, allocations: 297.8 kB / 2.243 GB, free: 45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/5.991, allocations: 3.25 kB / 2.243 GB, free: 45 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02474/6.015, allocations: 8.614 MB / 2.251 GB, free: 44.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003135/6.016, allocations: 57.56 kB / 2.251 GB, free: 44.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/6.016, allocations: 99.38 kB / 2.251 GB, free: 44.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007707/6.024, allocations: 1.449 MB / 2.253 GB, free: 44.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002759/6.024, allocations: 129 kB / 2.253 GB, free: 44.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/6.035, allocations: 423 kB / 2.253 GB, free: 44.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002294/6.037, allocations: 297.1 kB / 2.253 GB, free: 44.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (797): * Single equations (assignments): 795 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00416/6.041, allocations: 352.6 kB / 2.254 GB, free: 44.58 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004119/6.045, allocations: 0.6463 MB / 2.254 GB, free: 44.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02939/6.075, allocations: 9.423 MB / 2.264 GB, free: 43.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.171e-05/6.075, allocations: 60.09 kB / 2.264 GB, free: 43.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.278e-05/6.075, allocations: 0 / 2.264 GB, free: 43.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01858/6.094, allocations: 7.841 MB / 2.271 GB, free: 43.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05506/6.149, allocations: 18.48 MB / 2.289 GB, free: 41.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-05/6.149, allocations: 9.844 kB / 2.289 GB, free: 41.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005787/6.155, allocations: 0.9612 MB / 2.29 GB, free: 41.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/6.157, allocations: 0.8875 MB / 2.291 GB, free: 41.65 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001359/6.158, allocations: 89.97 kB / 2.291 GB, free: 41.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007563/6.166, allocations: 12.06 MB / 2.303 GB, free: 31.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.708e-05/6.166, allocations: 15.31 kB / 2.303 GB, free: 31.27 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02982/6.196, allocations: 15.01 MB / 2.318 GB, free: 27.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008543/6.204, allocations: 1.744 MB / 2.319 GB, free: 27.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004342/6.209, allocations: 40.27 kB / 2.319 GB, free: 27.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01105/6.22, allocations: 0.5254 MB / 2.32 GB, free: 27.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001919/6.222, allocations: 303.5 kB / 2.32 GB, free: 27.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001791/6.224, allocations: 208.6 kB / 2.32 GB, free: 27.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.01379/6.237, allocations: 4.498 MB / 2.325 GB, free: 25.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.03366/6.271, allocations: 3.649 MB / 2.328 GB, free: 25.49 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,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,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,P.a,P.b,P.last,P.nextEvent) * Number of discrete states: 10 (P.last,P.nextEvent,P.b,P.a,$whenCondition2,TWat.last,TWat.nextEvent,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (497): * Single equations (assignments): 475 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {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,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005182/6.276, allocations: 0.9051 MB / 2.329 GB, free: 25.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.03914/6.316, allocations: 12.21 MB / 2.341 GB, free: 21.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.176e-05/6.316, allocations: 2.906 kB / 2.341 GB, free: 21.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.01139/6.327, allocations: 3.833 MB / 2.345 GB, free: 19.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02597/6.353, allocations: 3.463 MB / 2.348 GB, free: 16.67 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06438/6.418, allocations: 17.99 MB / 2.366 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4839/6.902, allocations: 7.063 MB / 2.373 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of SimCode: time 2.595e-06/6.902, allocations: 0 / 2.373 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.3211/7.223, allocations: 176.1 MB / 2.545 GB, free: 62.45 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)