Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001145, allocations: 108.6 kB / 17.02 MB, free: 6.094 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.001124/0.001124, allocations: 192.1 kB / 17.97 MB, free: 5.191 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.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7214/0.7214, allocations: 115.1 MB / 406.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.91 kB / 494.9 MB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3138, allocations: 76.14 MB / 0.5576 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002364/0.3162, allocations: 1.364 MB / 0.559 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.3186, allocations: 1.784 MB / 0.5607 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.3186, allocations: 4.031 kB / 0.5607 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.068e-05/0.3187, allocations: 8.766 kB / 0.5607 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3189, allocations: 32.36 kB / 0.5607 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.3214, allocations: 1.142 MB / 0.5619 GB, free: 33.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3216, allocations: 50.09 kB / 0.5619 GB, free: 33.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.3216, allocations: 6.125 kB / 0.5619 GB, free: 33.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.3217, allocations: 25.69 kB / 0.5619 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.3218, allocations: 28.7 kB / 0.562 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.3218, allocations: 13.75 kB / 0.562 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.3231, allocations: 0.8893 MB / 0.5628 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.12e-05/0.3232, allocations: 67.31 kB / 0.5629 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.3233, allocations: 64.86 kB / 0.563 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.3244, allocations: 0.8793 MB / 0.5638 GB, free: 33.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3244, allocations: 1.859 kB / 0.5638 GB, free: 33.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3244, allocations: 0 / 0.5638 GB, free: 33.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3244, allocations: 0.875 kB / 0.5638 GB, free: 33.16 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006421/0.3251, allocations: 0.5788 MB / 0.5644 GB, free: 32.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3251, allocations: 9.906 kB / 0.5644 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.3252, allocations: 21.38 kB / 0.5644 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.3253, allocations: 222.4 kB / 0.5646 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.3253, allocations: 1.031 kB / 0.5646 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.3254, allocations: 1.656 kB / 0.5646 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3255, allocations: 108.2 kB / 0.5647 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3255, allocations: 1.75 kB / 0.5647 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3255, allocations: 0 / 0.5647 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3255, allocations: 1.625 kB / 0.5647 GB, free: 32.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/0.3256, allocations: 74.42 kB / 0.5648 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.3259, allocations: 283.5 kB / 0.5651 GB, free: 32.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.326, allocations: 122.3 kB / 0.5652 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.3261, allocations: 112.8 kB / 0.5653 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.3261, allocations: 5.875 kB / 0.5653 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.3261, allocations: 32.83 kB / 0.5654 GB, free: 31.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 9.41e-07/0.3261, allocations: 1.062 kB / 0.5654 GB, free: 31.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004271/0.3266, allocations: 333.3 kB / 0.5657 GB, free: 31.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.3266, allocations: 57 kB / 0.5657 GB, free: 31.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3269, allocations: 257.9 kB / 0.566 GB, free: 31.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.3269, allocations: 25.7 kB / 0.566 GB, free: 31.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.3269, allocations: 129.1 kB / 0.5661 GB, free: 31.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.327, allocations: 106.9 kB / 0.5662 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.3271, allocations: 27.67 kB / 0.5662 GB, free: 31.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.3271, allocations: 346.5 kB / 0.5666 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.3272, allocations: 73.98 kB / 0.5666 GB, free: 31.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.3273, allocations: 79.8 kB / 0.5667 GB, free: 31.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.3275, allocations: 193.1 kB / 0.5669 GB, free: 31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3275, allocations: 0.5156 kB / 0.5669 GB, free: 31 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002178/0.3277, allocations: 233 kB / 0.5671 GB, free: 30.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3278, allocations: 7.375 kB / 0.5671 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.3278, allocations: 1.656 kB / 0.5671 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3278, allocations: 0 / 0.5671 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3278, allocations: 1.125 kB / 0.5671 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3278, allocations: 5.938 kB / 0.5671 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.3279, allocations: 10.59 kB / 0.5672 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3279, allocations: 1.875 kB / 0.5672 GB, free: 30.89 MB / 446.1 MB 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: 0 * Record equations: 1 * 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 0.0001075/0.328, allocations: 163.3 kB / 0.5673 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.328, allocations: 24.92 kB / 0.5673 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.3283, allocations: 253.4 kB / 0.5676 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3283, allocations: 1.5 kB / 0.5676 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3283, allocations: 0 / 0.5676 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3284, allocations: 3.125 kB / 0.5676 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3286, allocations: 274.5 kB / 0.5678 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.3286, allocations: 10.08 kB / 0.5679 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3286, allocations: 0.75 kB / 0.5679 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3286, allocations: 0 / 0.5679 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3286, allocations: 7.875 kB / 0.5679 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3286, allocations: 4 kB / 0.5679 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3286, allocations: 5.375 kB / 0.5679 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.3288, allocations: 252.8 kB / 0.5681 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3289, allocations: 108.6 kB / 0.5682 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.3289, allocations: 2.422 kB / 0.5682 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.329, allocations: 0.7812 kB / 0.5682 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.329, allocations: 1.094 kB / 0.5682 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.329, allocations: 2.469 kB / 0.5682 GB, free: 30.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.3292, allocations: 191.1 kB / 0.5684 GB, free: 30.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3292, allocations: 0 / 0.5684 GB, free: 30.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008342/0.33, allocations: 214.5 kB / 0.5686 GB, free: 30.05 MB / 446.1 MB 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: 0 * Record equations: 1 * 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.0007164/0.3307, allocations: 338.5 kB / 0.5689 GB, free: 29.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.331, allocations: 267.3 kB / 0.5692 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.331, allocations: 1.062 kB / 0.5692 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.3312, allocations: 179.4 kB / 0.5694 GB, free: 29.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.3314, allocations: 22.75 kB / 0.5694 GB, free: 29.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.3321, allocations: 0.4896 MB / 0.5699 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.3323, allocations: 0.7661 MB / 0.5706 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.456e-05/0.3323, allocations: 4.562 kB / 0.5706 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.3323, allocations: 9.469 kB / 0.5706 GB, free: 28.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3323, allocations: 0 / 0.5706 GB, free: 28.77 MB / 446.1 MB Notification: Performance of Templates: time 0.009343/0.3417, allocations: 4.589 MB / 0.5751 GB, free: 28.45 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)