Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") [: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.7337/0.7337, allocations: 132.4 MB / 139.7 MB, free: 15.53 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.001273/0.001273, allocations: 171.6 kB / 171.6 MB, free: 2.027 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.524/1.524, allocations: 170.5 MB / 373.9 MB, free: 15.83 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.001729/0.001729, allocations: 106.2 kB / 444.4 MB, free: 9.367 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.5325/0.5325, allocations: 73.4 MB / 0.666 GB, free: 62.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.404/5.936, allocations: 2.391 GB / 3.057 GB, free: 42.48 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/5.937, allocations: 91.95 kB / 3.057 GB, free: 42.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.551/10.49, allocations: 1.086 GB / 4.143 GB, free: 70.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000198/10.49, allocations: 61.75 kB / 4.143 GB, free: 70.48 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 360 * Number of variables: 360 Notification: Performance of Generate backend data structure: time 0.006795/10.5, allocations: 2.175 MB / 4.145 GB, free: 69.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/10.5, allocations: 12.44 kB / 4.145 GB, free: 69.56 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003056/10.5, allocations: 405.3 kB / 4.145 GB, free: 69.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02266/10.52, allocations: 8.057 MB / 4.153 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/10.52, allocations: 41.84 kB / 4.153 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007897/10.52, allocations: 89.62 kB / 4.153 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003939/10.53, allocations: 1.015 MB / 4.154 GB, free: 68.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004473/10.53, allocations: 1.296 MB / 4.156 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.62e-05/10.53, allocations: 4.469 kB / 4.156 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003593/10.53, allocations: 2.625 kB / 4.156 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.915e-05/10.53, allocations: 61.39 kB / 4.156 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/10.54, allocations: 6.635 MB / 4.162 GB, free: 65.01 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/10.55, allocations: 0.8036 MB / 4.163 GB, free: 64.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007715/10.55, allocations: 404.5 kB / 4.163 GB, free: 64.97 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/10.55, allocations: 105.2 kB / 4.163 GB, free: 64.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/10.55, allocations: 49.28 kB / 4.163 GB, free: 64.83 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=81): time 3.877e-06/10.55, allocations: 0 / 4.163 GB, free: 64.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82): time 0.01023/10.56, allocations: 2.464 MB / 4.166 GB, free: 64.19 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/10.56, allocations: 109.8 kB / 4.166 GB, free: 64.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/10.56, allocations: 0.9494 MB / 4.167 GB, free: 63.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003848/10.56, allocations: 28.89 kB / 4.167 GB, free: 63.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005603/10.56, allocations: 0.5882 MB / 4.167 GB, free: 63.54 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/10.56, allocations: 281.9 kB / 4.168 GB, free: 63.35 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/10.56, allocations: 1.969 kB / 4.168 GB, free: 63.35 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001398/10.56, allocations: 344.1 kB / 4.168 GB, free: 63.05 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000654/10.56, allocations: 309.3 kB / 4.168 GB, free: 63.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008713/10.56, allocations: 0.6382 MB / 4.169 GB, free: 62.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008714/10.57, allocations: 401 kB / 4.169 GB, free: 62.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/10.57, allocations: 0 / 4.169 GB, free: 62.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.004901/10.57, allocations: 1.379 MB / 4.171 GB, free: 62.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006714/10.57, allocations: 2.136 MB / 4.173 GB, free: 60.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/10.57, allocations: 7.844 kB / 4.173 GB, free: 60.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/10.57, allocations: 160 kB / 4.173 GB, free: 60.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/10.57, allocations: 459.8 kB / 4.173 GB, free: 60.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/10.58, allocations: 1.943 MB / 4.175 GB, free: 58.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/10.58, allocations: 162.6 kB / 4.175 GB, free: 58.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/10.58, allocations: 37.5 kB / 4.175 GB, free: 58.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/10.58, allocations: 6.594 kB / 4.175 GB, free: 58.68 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002062/10.58, allocations: 0.8328 MB / 4.176 GB, free: 58.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/10.58, allocations: 6.125 kB / 4.176 GB, free: 58.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003087/10.58, allocations: 93.98 kB / 4.176 GB, free: 58.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009461/10.58, allocations: 203.3 kB / 4.177 GB, free: 58.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/10.58, allocations: 2.943 MB / 4.179 GB, free: 56.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/10.59, allocations: 138.2 kB / 4.18 GB, free: 56.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/10.59, allocations: 37.44 kB / 4.18 GB, free: 56.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 1 (hex.vol2.i_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005569/10.59, allocations: 122.5 kB / 4.18 GB, free: 55.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005646/10.59, allocations: 150.3 kB / 4.18 GB, free: 55.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/10.59, allocations: 1.222 MB / 4.181 GB, free: 55.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/10.59, allocations: 12.67 kB / 4.181 GB, free: 55.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/10.59, allocations: 0 / 4.181 GB, free: 55.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003412/10.6, allocations: 1.347 MB / 4.182 GB, free: 55.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008712/10.6, allocations: 2.956 MB / 4.185 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/10.6, allocations: 7.312 kB / 4.185 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/10.61, allocations: 403.7 kB / 4.186 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/10.61, allocations: 175.7 kB / 4.186 GB, free: 54.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/10.61, allocations: 12.89 kB / 4.186 GB, free: 54.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007113/10.61, allocations: 5.305 MB / 4.191 GB, free: 50.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/10.61, allocations: 5.125 kB / 4.191 GB, free: 50.33 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005129/10.62, allocations: 1.956 MB / 4.193 GB, free: 49.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/10.62, allocations: 337.9 kB / 4.193 GB, free: 49.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007069/10.62, allocations: 7.562 kB / 4.193 GB, free: 49.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/10.62, allocations: 151.5 kB / 4.193 GB, free: 49.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/10.63, allocations: 55.56 kB / 4.194 GB, free: 49.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/10.63, allocations: 42.23 kB / 4.194 GB, free: 49.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.00197/10.63, allocations: 0.7235 MB / 4.194 GB, free: 49.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005926/10.63, allocations: 0.8906 MB / 4.195 GB, free: 49.44 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004984/10.64, allocations: 2.282 MB / 4.197 GB, free: 48.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006248/10.64, allocations: 1.95 MB / 4.199 GB, free: 48.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/10.64, allocations: 448 / 4.199 GB, free: 48.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004445/10.65, allocations: 1.139 MB / 4.2 GB, free: 48.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005441/10.65, allocations: 0.7747 MB / 4.201 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008891/10.66, allocations: 2.446 MB / 4.204 GB, free: 47.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003002/10.67, allocations: 1.531 MB / 4.205 GB, free: 46.89 MB / 0.6511 GB Notification: Performance of SimCode: time 1.633e-06/10.67, allocations: 0 / 4.205 GB, free: 46.89 MB / 0.6511 GB Notification: Performance of Templates: time 0.1039/10.77, allocations: 47.35 MB / 4.251 GB, free: 43.46 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)