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.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001109/0.001109, allocations: 191.7 kB / 16.14 MB, free: 6.695 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 62.22 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.269, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001811/0.2709, allocations: 0.6113 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002679/0.2712, allocations: 117.9 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.183e-05/0.2712, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.98e-05/0.2713, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.2713, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.2715, allocations: 39.95 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.2716, allocations: 27.97 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.2716, allocations: 7.984 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.447e-05/0.2716, allocations: 15.94 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.725e-05/0.2717, allocations: 11.92 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.2717, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.951e-05/0.2717, allocations: 8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.2718, allocations: 7.984 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.2718, allocations: 8 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.821e-05/0.2719, allocations: 27.95 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2719, allocations: 3.938 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.42e-07/0.2719, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2719, allocations: 0 / 1.068 GB, free: 10.07 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.0003111/0.2722, allocations: 357.3 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2723, allocations: 12.03 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.2723, allocations: 4.938 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2724, allocations: 168.4 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2725, allocations: 384 / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.2725, allocations: 4.375 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.2726, allocations: 54.23 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.2726, allocations: 192 / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2726, allocations: 3.938 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2726, allocations: 3.984 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.2727, allocations: 15.94 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.2728, allocations: 149.7 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.007e-05/0.2729, allocations: 34.59 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.2729, allocations: 12.92 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.2729, allocations: 4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.2729, allocations: 38.55 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.273, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002313/0.2732, allocations: 111.2 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.2732, allocations: 81.23 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.2733, allocations: 101.8 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2733, allocations: 29.7 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.2734, allocations: 80.14 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.2734, allocations: 7.984 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.2734, allocations: 21.72 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2736, allocations: 310.8 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.2736, allocations: 15.98 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.2736, allocations: 8.125 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.182e-05/0.2737, allocations: 84.25 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2737, allocations: 3.938 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001483/0.2739, allocations: 95.38 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.2739, allocations: 37.64 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2739, allocations: 7.922 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.2739, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.274, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.274, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.2741, allocations: 12.08 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.2741, allocations: 4 kB / 1.07 GB, free: 7.961 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.932e-05/0.2742, allocations: 139.8 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.2743, allocations: 4 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.139e-05/0.2743, allocations: 7.062 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2743, allocations: 4 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2743, allocations: 0 / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2743, allocations: 3.984 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.72e-05/0.2744, allocations: 153.7 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2744, allocations: 0 / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.2744, allocations: 0 / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2744, allocations: 0 / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2744, allocations: 11.94 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2744, allocations: 0 / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2744, allocations: 3.938 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.2746, allocations: 126.7 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.2747, allocations: 85.08 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.2747, allocations: 3.938 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2748, allocations: 11.98 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.2748, allocations: 4 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.2748, allocations: 4 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.2749, allocations: 75.28 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2749, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002046/0.2751, allocations: 15.98 kB / 1.071 GB, free: 7.211 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.0002171/0.2753, allocations: 124.6 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.2755, allocations: 91.31 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2755, allocations: 0 / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.108e-05/0.2755, allocations: 63.41 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.2757, allocations: 15.88 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.276, allocations: 110.9 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.2762, allocations: 0.6692 MB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.68e-05/0.2763, allocations: 7.984 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.12e-05/0.2763, allocations: 7.438 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2763, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.003108/0.2794, allocations: 1.059 MB / 1.073 GB, free: 4.988 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)