Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009498/0.0009498, allocations: 90.36 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005748/0.005748, allocations: 173.6 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.736/2.736, allocations: 473.4 MB / 0.7469 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 13.78 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2743, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006984/0.2751, allocations: 279 kB / 1.074 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002456/0.2753, allocations: 121.8 kB / 1.075 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.054e-05/0.2753, allocations: 0 / 1.075 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.846e-05/0.2754, allocations: 7.984 kB / 1.075 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.2755, allocations: 0 / 1.075 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.2756, allocations: 39.89 kB / 1.075 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.954e-05/0.2757, allocations: 19.98 kB / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.2757, allocations: 15.98 kB / 1.075 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.481e-05/0.2758, allocations: 11.98 kB / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.897e-05/0.2758, allocations: 11.98 kB / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.2758, allocations: 4 kB / 1.075 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.394e-05/0.2759, allocations: 4 kB / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.2759, allocations: 3.938 kB / 1.075 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.2759, allocations: 37.69 kB / 1.075 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.65e-05/0.276, allocations: 23.97 kB / 1.075 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.276, allocations: 0 / 1.075 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.276, allocations: 0 / 1.075 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.276, allocations: 0 / 1.075 GB, free: 7.012 MB / 0.8262 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.0002768/0.2763, allocations: 353.3 kB / 1.075 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2763, allocations: 8.031 kB / 1.075 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.2764, allocations: 4.938 kB / 1.075 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2765, allocations: 168.3 kB / 1.075 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2765, allocations: 384 / 1.075 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.2765, allocations: 8.312 kB / 1.075 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.959e-05/0.2766, allocations: 58.17 kB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.2766, allocations: 192 / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2767, allocations: 7.938 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2767, allocations: 0 / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.585e-05/0.2767, allocations: 15.98 kB / 1.075 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.2768, allocations: 149.7 kB / 1.075 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/0.2769, allocations: 26.61 kB / 1.075 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.2769, allocations: 24.84 kB / 1.075 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.277, allocations: 4 kB / 1.075 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.277, allocations: 34.56 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.277, allocations: 0 / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002121/0.2772, allocations: 103.3 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.2773, allocations: 85.09 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.994e-05/0.2773, allocations: 97.86 kB / 1.076 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2774, allocations: 25.7 kB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.2774, allocations: 80.14 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.2774, allocations: 12.14 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.2774, allocations: 13.72 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2776, allocations: 314.8 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.2776, allocations: 15.92 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.54e-05/0.2776, allocations: 11.98 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/0.2777, allocations: 80.27 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2777, allocations: 0 / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001292/0.2778, allocations: 95.38 kB / 1.076 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.2779, allocations: 31.05 kB / 1.076 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2779, allocations: 7.938 kB / 1.076 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.2779, allocations: 4 kB / 1.076 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.2779, allocations: 0 / 1.076 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2779, allocations: 0 / 1.076 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.278, allocations: 7.984 kB / 1.076 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.2781, allocations: 8 kB / 1.076 GB, free: 4.926 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.308e-05/0.2782, allocations: 139.8 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.2782, allocations: 7.984 kB / 1.077 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.019e-05/0.2782, allocations: 15 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2782, allocations: 0 / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2782, allocations: 0 / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.2782, allocations: 0 / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.874e-05/0.2783, allocations: 153.7 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2783, allocations: 0 / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-06/0.2783, allocations: 4 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.2783, allocations: 0 / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.2783, allocations: 3.938 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2783, allocations: 11.92 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2783, allocations: 0 / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.2785, allocations: 118.8 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.2785, allocations: 88.94 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.2786, allocations: 7.938 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2787, allocations: 8 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.2787, allocations: 4 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.2787, allocations: 7.922 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.631e-05/0.2788, allocations: 87.31 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2788, allocations: 0 / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000198/0.279, allocations: 12 kB / 1.077 GB, free: 4.16 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001954/0.2792, allocations: 115.7 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.2793, allocations: 83.47 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.2793, allocations: 4.062 kB / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.2794, allocations: 71.39 kB / 1.077 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.2795, allocations: 4 kB / 1.077 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.2798, allocations: 102.7 kB / 1.077 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.28, allocations: 0.677 MB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.965e-05/0.2801, allocations: 7.938 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-06/0.2801, allocations: 7.438 kB / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2801, allocations: 4.062 kB / 1.078 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of Templates: time 0.003006/0.2831, allocations: 1.046 MB / 1.079 GB, free: 1.965 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)