Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.007656/0.007656, allocations: 99.66 kB / 15.73 MB, free: 6.047 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.001445/0.001445, allocations: 188 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 251.7 MB / 0.5094 GB, free: 3.109 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 67.91 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2127, allocations: 104.7 MB / 0.828 GB, free: 340 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001906/0.2146, allocations: 0.5505 MB / 0.8286 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002806/0.2149, allocations: 112.1 kB / 0.8287 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.215, allocations: 0 / 0.8287 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.2151, allocations: 7.875 kB / 0.8287 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/0.2152, allocations: 3.984 kB / 0.8287 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.2154, allocations: 35.97 kB / 0.8287 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.044e-05/0.2155, allocations: 27.92 kB / 0.8288 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.2156, allocations: 3.984 kB / 0.8288 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.2156, allocations: 16 kB / 0.8288 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.2157, allocations: 15.97 kB / 0.8288 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.2157, allocations: 0 / 0.8288 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.768e-05/0.2157, allocations: 8 kB / 0.8288 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.908e-06/0.2158, allocations: 0 / 0.8288 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.2158, allocations: 19.91 kB / 0.8288 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2159, allocations: 31.91 kB / 0.8289 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2159, allocations: 0 / 0.8289 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2159, allocations: 0 / 0.8289 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2159, allocations: 0 / 0.8289 GB, free: 15.51 MB / 0.6544 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.0003294/0.2163, allocations: 363.6 kB / 0.8292 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2163, allocations: 12.03 kB / 0.8292 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.2164, allocations: 0.9375 kB / 0.8292 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.2165, allocations: 168.4 kB / 0.8294 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2165, allocations: 384 / 0.8294 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2166, allocations: 8.375 kB / 0.8294 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.2167, allocations: 62.16 kB / 0.8294 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.2167, allocations: 192 / 0.8294 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2167, allocations: 11.88 kB / 0.8295 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2167, allocations: 0 / 0.8295 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.799e-05/0.2168, allocations: 8 kB / 0.8295 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.2169, allocations: 157.6 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.392e-05/0.217, allocations: 26.59 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/0.217, allocations: 24.91 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.217, allocations: 0 / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2171, allocations: 38.5 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2171, allocations: 0 / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002349/0.2173, allocations: 107.3 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.2174, allocations: 81.11 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/0.2174, allocations: 97.97 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2175, allocations: 29.7 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.2175, allocations: 80.14 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.2175, allocations: 7.906 kB / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.2176, allocations: 17.72 kB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.2177, allocations: 314.8 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.2177, allocations: 11.98 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.2177, allocations: 15.98 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.711e-05/0.2178, allocations: 88.39 kB / 0.8305 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2178, allocations: 0 / 0.8305 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001372/0.218, allocations: 95.38 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.218, allocations: 33.7 kB / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.218, allocations: 3.938 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2181, allocations: 0 / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.2181, allocations: 0 / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.2181, allocations: 0 / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.2182, allocations: 7.984 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.2182, allocations: 12.03 kB / 0.8307 GB, free: 13.39 MB / 0.6544 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.1e-05/0.2183, allocations: 139.5 kB / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.2184, allocations: 4 kB / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.519e-05/0.2184, allocations: 11.05 kB / 0.8308 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2184, allocations: 3.984 kB / 0.8308 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2184, allocations: 4 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2184, allocations: 0 / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.326e-05/0.2185, allocations: 153.7 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2185, allocations: 3.938 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.2185, allocations: 7.938 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2185, allocations: 0 / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2185, allocations: 7.938 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2185, allocations: 0 / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2186, allocations: 3.984 kB / 0.831 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.2187, allocations: 114.8 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.2188, allocations: 85.09 kB / 0.8312 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.2188, allocations: 3.938 kB / 0.8312 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-05/0.2189, allocations: 8.031 kB / 0.8312 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.2189, allocations: 4 kB / 0.8312 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.2189, allocations: 7.984 kB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.219, allocations: 79.28 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.219, allocations: 0 / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002126/0.2192, allocations: 16 kB / 0.8313 GB, free: 12.64 MB / 0.6544 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.0002204/0.2194, allocations: 114.2 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.2196, allocations: 87.31 kB / 0.8315 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2196, allocations: 0 / 0.8315 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/0.2196, allocations: 71.39 kB / 0.8315 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.2198, allocations: 8 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.22, allocations: 97.09 kB / 0.8316 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2202, allocations: 0.6766 MB / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.266e-05/0.2203, allocations: 7.984 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.284e-05/0.2203, allocations: 7.438 kB / 0.8323 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.2204, allocations: 0 / 0.8323 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.003397/0.2238, allocations: 1.107 MB / 0.8334 GB, free: 10.4 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)