Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 289.9 MB / 297.4 MB, free: 6.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 180.8 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.3 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008261/0.0008261, allocations: 85.81 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.503e-05/1.506e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.633/0.633, allocations: 116.3 MB / 0.9733 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.8161, allocations: 138.4 MB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.8164, allocations: 96.36 kB / 1.109 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01018/0.8265, allocations: 3.791 MB / 1.112 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.674e-06/0.8266, allocations: 1.969 kB / 1.112 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8266, allocations: 0.5938 kB / 1.112 GB, free: 7.977 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002979/0.8269, allocations: 349.6 kB / 1.113 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8269, allocations: 8.031 kB / 1.113 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.827, allocations: 6.062 kB / 1.113 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.8271, allocations: 163.6 kB / 1.113 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.8272, allocations: 5.594 kB / 1.113 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.8272, allocations: 4 kB / 1.113 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.221e-05/0.8272, allocations: 11.98 kB / 1.113 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.171e-05/0.8273, allocations: 46.44 kB / 1.113 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.8273, allocations: 0 / 1.113 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.8274, allocations: 8.516 kB / 1.113 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.8274, allocations: 0 / 1.113 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.8275, allocations: 132.4 kB / 1.113 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.472e-05/0.8276, allocations: 30.56 kB / 1.113 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.8276, allocations: 12.92 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.8276, allocations: 0.5938 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.8277, allocations: 35.22 kB / 1.113 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.8277, allocations: 4.812 kB / 1.113 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001781/0.8279, allocations: 54.19 kB / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.8279, allocations: 77.64 kB / 1.113 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.828, allocations: 95.17 kB / 1.113 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.828, allocations: 30.8 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.8281, allocations: 88.08 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.8281, allocations: 12.56 kB / 1.113 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/0.8281, allocations: 0 / 1.113 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8282, allocations: 314.2 kB / 1.114 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.8283, allocations: 8 kB / 1.114 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.8283, allocations: 8 kB / 1.114 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.8283, allocations: 7.984 kB / 1.114 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8283, allocations: 0 / 1.114 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001035/0.8285, allocations: 57.69 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.8285, allocations: 39.22 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8285, allocations: 2.75 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.8285, allocations: 0 / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.8285, allocations: 0 / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.8286, allocations: 4 kB / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.8287, allocations: 7.984 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.8287, allocations: 3.406 kB / 1.114 GB, free: 6.191 MB / 0.7136 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 () * 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 8.864e-05/0.8288, allocations: 135.9 kB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.8288, allocations: 7.984 kB / 1.114 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.8288, allocations: 8.453 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.8288, allocations: 0 / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8289, allocations: 0.875 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.8289, allocations: 3.938 kB / 1.114 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.829, allocations: 134.2 kB / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.829, allocations: 2.656 kB / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.829, allocations: 0 / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.829, allocations: 0 / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.829, allocations: 4 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.829, allocations: 0 / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.829, allocations: 6.922 kB / 1.114 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.8292, allocations: 87.64 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.8292, allocations: 81.02 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.8292, allocations: 5.75 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.8294, allocations: 10.23 kB / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.8294, allocations: 7.422 kB / 1.114 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.8294, allocations: 4 kB / 1.114 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.8294, allocations: 87.22 kB / 1.114 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8294, allocations: 0 / 1.114 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002059/0.8297, allocations: 12 kB / 1.114 GB, free: 5.531 MB / 0.7136 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 () * 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.0002477/0.8299, allocations: 130.8 kB / 1.114 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.83, allocations: 71.41 kB / 1.115 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.83, allocations: 0 / 1.115 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.256e-05/0.8301, allocations: 71.39 kB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.8302, allocations: 2.062 kB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.8307, allocations: 159.9 kB / 1.115 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.831, allocations: 0.6806 MB / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.349e-05/0.831, allocations: 5.344 kB / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.8311, allocations: 7.438 kB / 1.115 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8311, allocations: 4 kB / 1.115 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.003048/0.8341, allocations: 0.9861 MB / 1.116 GB, free: 3.418 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)