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.007289/0.007289, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001792/0.001792, allocations: 193.8 kB / 16.68 MB, free: 5.969 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.471/1.471, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.673/1.673, allocations: 251.7 MB / 0.5094 GB, free: 3.074 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.001491/0.001491, allocations: 69.78 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.224, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002466/0.2265, allocations: 0.5583 MB / 0.8286 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002688/0.2268, allocations: 104 kB / 0.8287 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.2268, allocations: 0 / 0.8287 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.503e-05/0.2269, allocations: 11.88 kB / 0.8287 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.227, allocations: 0 / 0.8287 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.2272, allocations: 35.97 kB / 0.8287 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2274, allocations: 31.86 kB / 0.8288 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.2274, allocations: 3.984 kB / 0.8288 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.111e-05/0.2274, allocations: 15.98 kB / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.2275, allocations: 15.98 kB / 0.8288 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.2275, allocations: 0 / 0.8288 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.694e-05/0.2276, allocations: 8 kB / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.2276, allocations: 3.984 kB / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.2276, allocations: 19.92 kB / 0.8288 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.2278, allocations: 31.89 kB / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2278, allocations: 0 / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2278, allocations: 0 / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2278, allocations: 0 / 0.8289 GB, free: 15.38 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.0003987/0.2282, allocations: 361.2 kB / 0.8292 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2282, allocations: 8.031 kB / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.2283, allocations: 4.938 kB / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2284, allocations: 164.4 kB / 0.8294 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2284, allocations: 8.375 kB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.2284, allocations: 4.375 kB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.2286, allocations: 58.16 kB / 0.8294 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.2286, allocations: 192 / 0.8294 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2286, allocations: 11.88 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.2286, allocations: 0 / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.2287, allocations: 8 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.2288, allocations: 153.7 kB / 0.8296 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.2289, allocations: 34.61 kB / 0.8296 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.229, allocations: 16.91 kB / 0.8297 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.229, allocations: 0 / 0.8297 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.229, allocations: 30.56 kB / 0.8297 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.229, allocations: 3.938 kB / 0.8297 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002466/0.2293, allocations: 111.3 kB / 0.8298 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.2293, allocations: 77.11 kB / 0.8299 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.2294, allocations: 106 kB / 0.83 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.2294, allocations: 25.7 kB / 0.83 GB, free: 14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.2296, allocations: 84.14 kB / 0.8301 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.2296, allocations: 3.953 kB / 0.8301 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.2296, allocations: 21.72 kB / 0.8301 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.2297, allocations: 314.8 kB / 0.8304 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.2298, allocations: 8 kB / 0.8304 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/0.2298, allocations: 20.11 kB / 0.8304 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.399e-05/0.2299, allocations: 84.27 kB / 0.8305 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2299, allocations: 0 / 0.8305 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001405/0.2301, allocations: 99.31 kB / 0.8306 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.2301, allocations: 33.7 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2301, allocations: 3.938 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2301, allocations: 0 / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-06/0.2301, allocations: 4 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2302, allocations: 0 / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2303, allocations: 12.02 kB / 0.8307 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.2303, allocations: 4 kB / 0.8307 GB, free: 13.27 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 9.96e-05/0.2304, allocations: 139.5 kB / 0.8308 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.2305, allocations: 4 kB / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.535e-05/0.2305, allocations: 7.062 kB / 0.8308 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2305, allocations: 0 / 0.8308 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2305, allocations: 0 / 0.8308 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2305, allocations: 3.984 kB / 0.8308 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.2306, allocations: 153.7 kB / 0.831 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2306, allocations: 7.938 kB / 0.831 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.2306, allocations: 3.938 kB / 0.831 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2306, allocations: 4 kB / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.2307, allocations: 7.922 kB / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2307, allocations: 0 / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.2307, allocations: 0 / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.2308, allocations: 122.8 kB / 0.8311 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.2309, allocations: 77.11 kB / 0.8312 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2309, allocations: 11.97 kB / 0.8312 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.231, allocations: 4 kB / 0.8312 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.231, allocations: 0 / 0.8312 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.2311, allocations: 11.98 kB / 0.8312 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.2311, allocations: 79.28 kB / 0.8313 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2311, allocations: 0 / 0.8313 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002044/0.2313, allocations: 12 kB / 0.8313 GB, free: 12.52 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.0002329/0.2316, allocations: 122.8 kB / 0.8314 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.2317, allocations: 87.31 kB / 0.8315 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2317, allocations: 0 / 0.8315 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.2318, allocations: 71.39 kB / 0.8315 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.2319, allocations: 5.5 kB / 0.8316 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.2322, allocations: 105.1 kB / 0.8317 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.2324, allocations: 0.6727 MB / 0.8323 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.297e-05/0.2325, allocations: 11.92 kB / 0.8323 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.2325, allocations: 7.438 kB / 0.8323 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.2325, allocations: 0 / 0.8323 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.003472/0.236, allocations: 1.105 MB / 0.8334 GB, free: 10.27 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)