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.001158/0.001158, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001456/0.001456, allocations: 196 kB / 16.26 MB, free: 6.621 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 472.6 MB / 0.7448 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 60.53 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2816, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001918/0.2836, allocations: 0.6125 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002431/0.2839, allocations: 125.8 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.2839, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.27e-05/0.284, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.905e-05/0.2841, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.2843, allocations: 39.97 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.225e-05/0.2843, allocations: 23.98 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.2844, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.2844, allocations: 15.98 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.2845, allocations: 15.92 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.2845, allocations: 4 kB / 1.069 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.2845, allocations: 4 kB / 1.069 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.2846, allocations: 7.938 kB / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.2846, allocations: 19.97 kB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.363e-05/0.2847, allocations: 23.95 kB / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2847, allocations: 4 kB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2847, allocations: 0 / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2847, allocations: 0 / 1.069 GB, free: 9.926 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.0003497/0.2851, allocations: 353.3 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2851, allocations: 11.97 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.2852, allocations: 4.938 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.2853, allocations: 160.4 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2853, allocations: 4.375 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.2853, allocations: 4.375 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.2855, allocations: 58.22 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.2855, allocations: 192 / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2855, allocations: 3.938 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.2855, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.056e-05/0.2856, allocations: 15.94 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.2857, allocations: 157.7 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.108e-05/0.2858, allocations: 26.61 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.2858, allocations: 24.89 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.2858, allocations: 4 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.2859, allocations: 30.56 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2859, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002618/0.2861, allocations: 111.2 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.2862, allocations: 81.11 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.2863, allocations: 105.9 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2863, allocations: 25.7 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.2864, allocations: 80.14 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.2864, allocations: 4 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.2864, allocations: 25.66 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2865, allocations: 310.8 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.2866, allocations: 15.98 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.2867, allocations: 12.11 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.106e-05/0.2867, allocations: 80.33 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2867, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001448/0.2869, allocations: 99.31 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.287, allocations: 33.7 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.287, allocations: 3.938 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.287, allocations: 0 / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.287, allocations: 0 / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.287, allocations: 0 / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.2872, allocations: 12.02 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.2872, allocations: 8 kB / 1.07 GB, free: 7.828 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.123e-05/0.2873, allocations: 143.8 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.2873, allocations: 7.984 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.2873, allocations: 7.062 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2873, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2873, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2873, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.2874, allocations: 153.7 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2874, allocations: 4 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.2875, allocations: 0 / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.2875, allocations: 0 / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.2875, allocations: 15.92 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.2875, allocations: 0 / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2875, allocations: 0 / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.2877, allocations: 130.7 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.2877, allocations: 81.05 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.2877, allocations: 11.97 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2878, allocations: 4 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.2879, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.2879, allocations: 7.984 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.2879, allocations: 75.28 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2879, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002086/0.2882, allocations: 16 kB / 1.071 GB, free: 7.074 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.0002222/0.2884, allocations: 121.1 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.2886, allocations: 91.31 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2886, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.2886, allocations: 71.39 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.2888, allocations: 4 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.2891, allocations: 105 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.2893, allocations: 0.6768 MB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.825e-05/0.2894, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.2894, allocations: 7.438 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.2894, allocations: 4 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of Templates: time 0.00339/0.2928, allocations: 1.096 MB / 1.073 GB, free: 4.832 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)