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.656/1.656, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001054/0.001054, allocations: 183.6 kB / 371.6 MB, free: 3.418 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.602/1.602, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009283/0.0009283, allocations: 93.73 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.195e-05/3.198e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2558, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7598/1.016, allocations: 139.1 MB / 1.116 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.016, allocations: 83.98 kB / 1.116 GB, free: 44.58 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008888/1.025, allocations: 3.797 MB / 1.119 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/1.025, allocations: 0 / 1.119 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.025, allocations: 0.7188 kB / 1.119 GB, free: 42.43 MB / 0.7448 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.0002041/1.025, allocations: 345 kB / 1.12 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.025, allocations: 8.75 kB / 1.12 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/1.025, allocations: 6.469 kB / 1.12 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.655e-05/1.025, allocations: 165.8 kB / 1.12 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/1.025, allocations: 4.719 kB / 1.12 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/1.025, allocations: 7.266 kB / 1.12 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/1.025, allocations: 53.61 kB / 1.12 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/1.025, allocations: 0.75 kB / 1.12 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/1.025, allocations: 4 kB / 1.12 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/1.026, allocations: 0.5625 kB / 1.12 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/1.026, allocations: 14.66 kB / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/1.026, allocations: 157.2 kB / 1.12 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.781e-05/1.026, allocations: 29.94 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/1.026, allocations: 16.86 kB / 1.12 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.578e-06/1.026, allocations: 0 / 1.12 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/1.026, allocations: 35.12 kB / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/1.026, allocations: 0 / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001723/1.026, allocations: 97.75 kB / 1.12 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/1.026, allocations: 77.11 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.816e-05/1.026, allocations: 91.03 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/1.026, allocations: 33.64 kB / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.423e-05/1.026, allocations: 81.98 kB / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/1.026, allocations: 8.469 kB / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/1.026, allocations: 4 kB / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.635e-05/1.026, allocations: 314.3 kB / 1.121 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/1.026, allocations: 8.781 kB / 1.121 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/1.026, allocations: 12.03 kB / 1.121 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/1.026, allocations: 41.23 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.026, allocations: 0 / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.779e-05/1.026, allocations: 101.9 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.026, allocations: 33.03 kB / 1.121 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/1.026, allocations: 0 / 1.121 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.026, allocations: 4.625 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/1.026, allocations: 0 / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/1.026, allocations: 0 / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.68e-05/1.027, allocations: 4 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/1.027, allocations: 11.36 kB / 1.121 GB, free: 40.56 MB / 0.7448 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 4.952e-05/1.027, allocations: 130.7 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/1.027, allocations: 8.641 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.153e-05/1.027, allocations: 7 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/1.027, allocations: 1.406 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.027, allocations: 0 / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.027, allocations: 3.328 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.649e-05/1.027, allocations: 152.8 kB / 1.121 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.027, allocations: 0.625 kB / 1.121 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/1.027, allocations: 4 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.027, allocations: 7.953 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/1.027, allocations: 0 / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.027, allocations: 0.5 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.027, allocations: 7.422 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/1.027, allocations: 117.8 kB / 1.122 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/1.027, allocations: 81.06 kB / 1.122 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/1.027, allocations: 13.17 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/1.027, allocations: 4 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/1.027, allocations: 3.562 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/1.027, allocations: 4.844 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.89e-05/1.027, allocations: 83.22 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.027, allocations: 0 / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001944/1.027, allocations: 12 kB / 1.122 GB, free: 39.87 MB / 0.7448 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.0002027/1.028, allocations: 121.3 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001092/1.028, allocations: 78.75 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.028, allocations: 4 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/1.028, allocations: 75.86 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.42e-05/1.028, allocations: 4.984 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/1.028, allocations: 165.1 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.535e-05/1.028, allocations: 0.6731 MB / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.312e-05/1.028, allocations: 3.562 kB / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.114e-05/1.028, allocations: 11.44 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.028, allocations: 0 / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.002719/1.031, allocations: 1.026 MB / 1.124 GB, free: 38.17 MB / 0.7448 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)