Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001145/0.001145, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00881/0.00881, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 9.938 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2711, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008427/0.272, allocations: 286.8 kB / 1.074 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002938/0.2723, allocations: 117.9 kB / 1.075 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.2724, allocations: 0 / 1.075 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.246e-05/0.2725, allocations: 11.94 kB / 1.075 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.2725, allocations: 0 / 1.075 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.2727, allocations: 35.95 kB / 1.075 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.617e-05/0.2727, allocations: 27.97 kB / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.2728, allocations: 4 kB / 1.075 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.2728, allocations: 15.98 kB / 1.075 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.2729, allocations: 8 kB / 1.075 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.2729, allocations: 7.984 kB / 1.075 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.414e-05/0.273, allocations: 4 kB / 1.075 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.273, allocations: 7.938 kB / 1.075 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.273, allocations: 37.69 kB / 1.075 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.22e-05/0.2731, allocations: 23.95 kB / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2732, allocations: 4 kB / 1.075 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2732, allocations: 0 / 1.075 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.2732, allocations: 0 / 1.075 GB, free: 6.973 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.0003145/0.2735, allocations: 353.2 kB / 1.075 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2735, allocations: 8.031 kB / 1.075 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.2736, allocations: 4.938 kB / 1.075 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2737, allocations: 164.3 kB / 1.075 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.2737, allocations: 4.375 kB / 1.075 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.2737, allocations: 4.375 kB / 1.075 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.2738, allocations: 54.22 kB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.2739, allocations: 192 / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.2739, allocations: 7.938 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2739, allocations: 4 kB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.538e-05/0.2739, allocations: 8 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.2741, allocations: 149.7 kB / 1.075 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.925e-05/0.2741, allocations: 38.53 kB / 1.075 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.2742, allocations: 16.91 kB / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-06/0.2742, allocations: 0 / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2742, allocations: 34.56 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/0.2742, allocations: 0 / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002322/0.2745, allocations: 111.3 kB / 1.076 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.2745, allocations: 81.05 kB / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.105e-05/0.2746, allocations: 101.8 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.2746, allocations: 33.64 kB / 1.076 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.2746, allocations: 80.14 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.2747, allocations: 3.906 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.2747, allocations: 17.97 kB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.2748, allocations: 310.8 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/0.2748, allocations: 15.98 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.2749, allocations: 8 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.757e-05/0.275, allocations: 80.25 kB / 1.076 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.275, allocations: 0 / 1.076 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001373/0.2751, allocations: 95.33 kB / 1.076 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.2751, allocations: 37.69 kB / 1.076 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2752, allocations: 8.031 kB / 1.076 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.2752, allocations: 0 / 1.076 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.2752, allocations: 0 / 1.076 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2752, allocations: 4 kB / 1.076 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.2753, allocations: 4 kB / 1.076 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.2754, allocations: 7.984 kB / 1.076 GB, free: 4.891 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 9.136e-05/0.2755, allocations: 139.8 kB / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.2755, allocations: 4 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.357e-05/0.2755, allocations: 15 kB / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2755, allocations: 4 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2755, allocations: 0 / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2755, allocations: 0 / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.62e-05/0.2756, allocations: 153.7 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2756, allocations: 0 / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.2756, allocations: 0 / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2756, allocations: 0 / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2757, allocations: 11.94 kB / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2757, allocations: 0 / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2757, allocations: 0 / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.2758, allocations: 130.8 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.2759, allocations: 84.95 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2759, allocations: 3.938 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.276, allocations: 11.98 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.276, allocations: 0 / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.276, allocations: 4 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.2761, allocations: 79.31 kB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2761, allocations: 0 / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002026/0.2763, allocations: 12 kB / 1.077 GB, free: 4.141 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.0002113/0.2765, allocations: 128.7 kB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.2767, allocations: 79.39 kB / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2767, allocations: 4.156 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.689e-05/0.2767, allocations: 71.39 kB / 1.077 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.2769, allocations: 8 kB / 1.077 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.2772, allocations: 110.6 kB / 1.077 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.2774, allocations: 0.6692 MB / 1.078 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.881e-05/0.2775, allocations: 7.984 kB / 1.078 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.124e-05/0.2775, allocations: 7.438 kB / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2775, allocations: 0 / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of Templates: time 0.003232/0.2808, allocations: 1.05 MB / 1.079 GB, free: 1.934 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)