Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.739/1.739, allocations: 297.8 MB / 313.7 MB, free: 72 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 187.5 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.2 MB / 0.6626 GB, free: 4.27 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000831/0.0008308, allocations: 96.34 kB / 0.7808 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005698/0.00057, allocations: 12 kB / 0.9088 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6961/0.6967, allocations: 120.3 MB / 1.026 GB, free: 55.76 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/0.8706, allocations: 141.4 MB / 1.164 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.8709, allocations: 87.66 kB / 1.164 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.8814, allocations: 3.832 MB / 1.168 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.644e-06/0.8815, allocations: 0 / 1.168 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.8815, allocations: 3.906 kB / 1.168 GB, free: 15.26 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.0003155/0.8818, allocations: 350.4 kB / 1.169 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8819, allocations: 8.031 kB / 1.169 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.8819, allocations: 4.938 kB / 1.169 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.882, allocations: 168 kB / 1.169 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.8821, allocations: 5.953 kB / 1.169 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.8821, allocations: 4.375 kB / 1.169 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.8822, allocations: 51.27 kB / 1.169 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.8823, allocations: 1.562 kB / 1.169 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.8823, allocations: 8.594 kB / 1.169 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.8823, allocations: 0 / 1.169 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.8823, allocations: 15.56 kB / 1.169 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.8825, allocations: 148.3 kB / 1.169 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.313e-05/0.8826, allocations: 37.27 kB / 1.169 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.8826, allocations: 18.84 kB / 1.169 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.8826, allocations: 5.953 kB / 1.169 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.8827, allocations: 30.56 kB / 1.169 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.8827, allocations: 0 / 1.169 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0002483/0.8829, allocations: 109.2 kB / 1.169 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.883, allocations: 82.64 kB / 1.169 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/0.883, allocations: 100.8 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.8831, allocations: 29.7 kB / 1.169 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.8831, allocations: 81.55 kB / 1.169 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.8831, allocations: 11.53 kB / 1.169 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.8832, allocations: 4 kB / 1.169 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8833, allocations: 315.5 kB / 1.17 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.8833, allocations: 10.53 kB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.8833, allocations: 10.86 kB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.547e-05/0.8834, allocations: 78.92 kB / 1.17 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8834, allocations: 0 / 1.17 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001359/0.8836, allocations: 96.03 kB / 1.17 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.8836, allocations: 35.91 kB / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.8837, allocations: 5.75 kB / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.8837, allocations: 4.547 kB / 1.17 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.8837, allocations: 0 / 1.17 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.8837, allocations: 0 / 1.17 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.515e-05/0.8838, allocations: 6.25 kB / 1.17 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.8838, allocations: 9.422 kB / 1.17 GB, free: 13.27 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 () * 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 9.129e-05/0.8839, allocations: 138 kB / 1.17 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.8839, allocations: 8.188 kB / 1.17 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.419e-05/0.884, allocations: 8.984 kB / 1.17 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.884, allocations: 4 kB / 1.17 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.884, allocations: 0.6094 kB / 1.17 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.884, allocations: 0 / 1.17 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.8841, allocations: 155.9 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8841, allocations: 0 / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-06/0.8841, allocations: 1.25 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8841, allocations: 0 / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.8841, allocations: 9.109 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8841, allocations: 1.594 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8842, allocations: 0.5312 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.8843, allocations: 132.2 kB / 1.17 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.8844, allocations: 77.86 kB / 1.17 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.8844, allocations: 5.078 kB / 1.17 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.8845, allocations: 7.766 kB / 1.17 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.8845, allocations: 7.375 kB / 1.17 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.8845, allocations: 8.156 kB / 1.17 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.243e-05/0.8846, allocations: 81.38 kB / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8846, allocations: 0 / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001932/0.8848, allocations: 16.66 kB / 1.171 GB, free: 12.56 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 () * 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.0002337/0.885, allocations: 115.7 kB / 1.171 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.8852, allocations: 82.12 kB / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8852, allocations: 0 / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/0.8853, allocations: 76.53 kB / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.8854, allocations: 9.297 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.886, allocations: 202 kB / 1.171 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.8862, allocations: 0.6743 MB / 1.172 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.083e-05/0.8863, allocations: 4.188 kB / 1.172 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.8863, allocations: 15.38 kB / 1.172 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.8863, allocations: 0 / 1.172 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of Templates: time 0.003399/0.8897, allocations: 1.036 MB / 1.173 GB, free: 10.82 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)