Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8551/0.8551, allocations: 133.7 MB / 148.6 MB, free: 13.6 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.001255/0.001255, allocations: 176.1 kB / 180.9 MB, free: 15.06 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.636/1.636, allocations: 170.7 MB / 383.7 MB, free: 16.29 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.001718/0.001718, allocations: 115.2 kB / 454.6 MB, free: 9.863 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.1813/0.1819, allocations: 73.41 MB / 0.6812 GB, free: 5.535 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9894/1.171, allocations: 327.9 MB / 1.001 GB, free: 174 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/1.172, allocations: 99.2 kB / 1.001 GB, free: 173.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03173/1.203, allocations: 15.68 MB / 1.017 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.404e-06/1.203, allocations: 4 kB / 1.017 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.203, allocations: 2.812 kB / 1.017 GB, free: 160.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003479/1.204, allocations: 411.4 kB / 1.017 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.204, allocations: 8.562 kB / 1.017 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/1.204, allocations: 3.438 kB / 1.017 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.697e-05/1.204, allocations: 167 kB / 1.017 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/1.204, allocations: 0 / 1.017 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/1.204, allocations: 3.938 kB / 1.017 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.947e-05/1.204, allocations: 37.75 kB / 1.017 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/1.204, allocations: 0 / 1.017 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/1.204, allocations: 2.922 kB / 1.017 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.204, allocations: 4 kB / 1.017 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.658e-05/1.204, allocations: 0 / 1.017 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/1.204, allocations: 153.7 kB / 1.018 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.941e-05/1.204, allocations: 26.58 kB / 1.018 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/1.204, allocations: 3.938 kB / 1.018 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/1.204, allocations: 38.52 kB / 1.018 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.204, allocations: 0 / 1.018 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001819/1.205, allocations: 144.6 kB / 1.018 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/1.205, allocations: 85.11 kB / 1.018 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/1.205, allocations: 96.98 kB / 1.018 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/1.205, allocations: 25.7 kB / 1.018 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/1.205, allocations: 88.12 kB / 1.018 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/1.205, allocations: 8.031 kB / 1.018 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/1.205, allocations: 4 kB / 1.018 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.063e-05/1.205, allocations: 310.8 kB / 1.018 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/1.205, allocations: 0 / 1.018 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.735e-06/1.205, allocations: 7.938 kB / 1.018 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.288e-05/1.205, allocations: 37.69 kB / 1.018 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.205, allocations: 0 / 1.018 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.284e-05/1.205, allocations: 63.41 kB / 1.018 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/1.205, allocations: 31.11 kB / 1.018 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/1.205, allocations: 8.078 kB / 1.018 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.205, allocations: 3.953 kB / 1.018 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-06/1.205, allocations: 0 / 1.018 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/1.205, allocations: 7.938 kB / 1.018 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.269e-05/1.205, allocations: 0 / 1.018 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/1.205, allocations: 0 / 1.018 GB, free: 158.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/1.205, allocations: 139.5 kB / 1.019 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/1.205, allocations: 3.906 kB / 1.019 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.355e-05/1.205, allocations: 7.125 kB / 1.019 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.205, allocations: 7.953 kB / 1.019 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.205, allocations: 7.969 kB / 1.019 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/1.205, allocations: 0 / 1.019 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.6e-05/1.205, allocations: 153.7 kB / 1.019 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.205, allocations: 0 / 1.019 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/1.205, allocations: 7.875 kB / 1.019 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/1.205, allocations: 0 / 1.019 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/1.205, allocations: 0 / 1.019 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.205, allocations: 4 kB / 1.019 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/1.205, allocations: 4.734 kB / 1.019 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.51e-05/1.205, allocations: 94.83 kB / 1.019 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/1.205, allocations: 81.11 kB / 1.019 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/1.205, allocations: 0 / 1.019 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.685e-05/1.206, allocations: 0 / 1.019 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/1.206, allocations: 7.984 kB / 1.019 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/1.206, allocations: 3.953 kB / 1.019 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.477e-05/1.206, allocations: 83.28 kB / 1.019 GB, free: 158 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/1.206, allocations: 4.031 kB / 1.019 GB, free: 158 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002322/1.206, allocations: 27.94 kB / 1.019 GB, free: 158 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002355/1.206, allocations: 155.1 kB / 1.019 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.705e-05/1.206, allocations: 75.33 kB / 1.019 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.206, allocations: 0 / 1.019 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/1.206, allocations: 59.41 kB / 1.019 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/1.206, allocations: 7.938 kB / 1.019 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/1.207, allocations: 160.2 kB / 1.02 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/1.207, allocations: 0.677 MB / 1.02 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.085e-05/1.207, allocations: 0 / 1.02 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.417e-06/1.207, allocations: 11.44 kB / 1.02 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/1.207, allocations: 0 / 1.02 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.003062/1.21, allocations: 1.106 MB / 1.021 GB, free: 155.7 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)