Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001212/0.001212, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001365/0.001365, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.825/1.825, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.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.002459/0.002459, allocations: 63.91 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2571, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002001/0.2591, allocations: 0.557 MB / 0.7853 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002524/0.2594, allocations: 111.7 kB / 0.7855 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.2594, allocations: 0 / 0.7855 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.41e-05/0.2595, allocations: 4 kB / 0.7855 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.783e-05/0.2596, allocations: 4 kB / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.2598, allocations: 43.81 kB / 0.7855 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.371e-05/0.2599, allocations: 27.98 kB / 0.7855 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.2599, allocations: 0 / 0.7855 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.263e-05/0.26, allocations: 15.98 kB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.26, allocations: 19.91 kB / 0.7856 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.2601, allocations: 0 / 0.7856 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.115e-05/0.2601, allocations: 16 kB / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.2601, allocations: 0 / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.2602, allocations: 15.98 kB / 0.7856 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.469e-05/0.2603, allocations: 23.91 kB / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2603, allocations: 0 / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2603, allocations: 0 / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2603, allocations: 0 / 0.7856 GB, free: 2.309 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.0003112/0.2606, allocations: 357.3 kB / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2607, allocations: 8.031 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.2607, allocations: 4.938 kB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2608, allocations: 172.4 kB / 0.7861 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2608, allocations: 8.312 kB / 0.7861 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2609, allocations: 4.375 kB / 0.7861 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.261, allocations: 50.23 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.261, allocations: 192 / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.261, allocations: 7.938 kB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.261, allocations: 0 / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.001e-05/0.2611, allocations: 15.98 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.2612, allocations: 153.7 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.224e-05/0.2613, allocations: 34.5 kB / 0.7864 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.2613, allocations: 12.92 kB / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.2613, allocations: 3.938 kB / 0.7864 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.2614, allocations: 34.56 kB / 0.7864 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.2614, allocations: 4 kB / 0.7864 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002295/0.2616, allocations: 107.3 kB / 0.7865 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.2616, allocations: 85.23 kB / 0.7866 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.2617, allocations: 97.77 kB / 0.7867 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2617, allocations: 29.7 kB / 0.7868 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.2618, allocations: 84.12 kB / 0.7868 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.2618, allocations: 0 / 0.7868 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.2619, allocations: 25.7 kB / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.262, allocations: 318.8 kB / 0.7872 GB, free: 500 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.262, allocations: 8.109 kB / 0.7872 GB, free: 492 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.318e-05/0.262, allocations: 16 kB / 0.7872 GB, free: 476 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.092e-05/0.2621, allocations: 88.19 kB / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2621, allocations: 0 / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001342/0.2623, allocations: 91.39 kB / 0.7874 GB, free: 268 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.2623, allocations: 33.69 kB / 0.7874 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2623, allocations: 0 / 0.7874 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2623, allocations: 7.938 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.2624, allocations: 0 / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.2624, allocations: 4.094 kB / 0.7874 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.2625, allocations: 7.938 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.2625, allocations: 11.92 kB / 0.7874 GB, free: 196 kB / 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.021e-05/0.2626, allocations: 139.5 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.2626, allocations: 4 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.191e-05/0.2627, allocations: 7.062 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2627, allocations: 0 / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2627, allocations: 0 / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.336/0.5987, allocations: 83.19 kB / 0.7876 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.5988, allocations: 1.344 kB / 0.7876 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.5989, allocations: 5.844 kB / 0.7876 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.5989, allocations: 1.969 kB / 0.7876 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000213/0.5992, allocations: 226.5 kB / 0.7879 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001568/0.5993, allocations: 275.1 kB / 0.7881 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.468e-05/0.5994, allocations: 16.73 kB / 0.7881 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.194e-05/0.5994, allocations: 77.77 kB / 0.7882 GB, free: 48 MB / 0.6544 GB Notification: Performance of Backend: time 4.91e-07/0.5994, allocations: 3.344 kB / 0.7882 GB, free: 48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005875/0.6, allocations: 161.4 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002197/0.6002, allocations: 0.5764 MB / 0.7889 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of Templates: time 0.003181/0.6034, allocations: 1.116 MB / 0.79 GB, free: 47.25 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)