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_OneUTube.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_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 107.4 kB / 17.04 MB, free: 6.055 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.001197/0.001197, allocations: 196 kB / 17.98 MB, free: 5.141 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.267/1.267, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6851/0.6851, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 56.12 kB / 494.9 MB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3505, allocations: 76.15 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.00251/0.3531, allocations: 1.354 MB / 0.559 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.3556, allocations: 1.782 MB / 0.5607 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.3556, allocations: 1.344 kB / 0.5607 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.984e-05/0.3557, allocations: 8.656 kB / 0.5607 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.3559, allocations: 28.59 kB / 0.5607 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.3587, allocations: 1.136 MB / 0.5619 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.3589, allocations: 45.59 kB / 0.5619 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.359, allocations: 7.672 kB / 0.5619 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.784e-05/0.3591, allocations: 25.03 kB / 0.5619 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.3592, allocations: 23.95 kB / 0.5619 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3592, allocations: 1.625 kB / 0.5619 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.3609, allocations: 0.8891 MB / 0.5628 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.361, allocations: 26.62 kB / 0.5628 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.3611, allocations: 26.41 kB / 0.5629 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.3625, allocations: 0.7967 MB / 0.5636 GB, free: 33.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3626, allocations: 5.344 kB / 0.5637 GB, free: 33.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3626, allocations: 0 / 0.5637 GB, free: 33.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3626, allocations: 0 / 0.5637 GB, free: 33.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005566/0.3632, allocations: 478.8 kB / 0.5641 GB, free: 32.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3632, allocations: 13.03 kB / 0.5641 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.3632, allocations: 9.062 kB / 0.5641 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.3634, allocations: 187.7 kB / 0.5643 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3634, allocations: 2.438 kB / 0.5643 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.3634, allocations: 4.641 kB / 0.5643 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.3636, allocations: 59.2 kB / 0.5644 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3636, allocations: 0 / 0.5644 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3636, allocations: 0 / 0.5644 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3636, allocations: 2.031 kB / 0.5644 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.62e-05/0.3637, allocations: 28.27 kB / 0.5644 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.3639, allocations: 187.5 kB / 0.5646 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.96e-05/0.3639, allocations: 53.28 kB / 0.5646 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.364, allocations: 32.2 kB / 0.5647 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.364, allocations: 2.344 kB / 0.5647 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.364, allocations: 32.41 kB / 0.5647 GB, free: 32.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.3641, allocations: 3.938 kB / 0.5647 GB, free: 32.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002106/0.3643, allocations: 120.1 kB / 0.5648 GB, free: 32.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3643, allocations: 58 kB / 0.5649 GB, free: 32.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3644, allocations: 153.7 kB / 0.565 GB, free: 32.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.3645, allocations: 25.7 kB / 0.565 GB, free: 32.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.3645, allocations: 93.97 kB / 0.5651 GB, free: 32.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.3645, allocations: 30.72 kB / 0.5652 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.3646, allocations: 20.42 kB / 0.5652 GB, free: 31.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.3646, allocations: 330.3 kB / 0.5655 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.706e-05/0.3647, allocations: 19.97 kB / 0.5655 GB, free: 31.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.3647, allocations: 30.28 kB / 0.5655 GB, free: 31.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.406e-05/0.3648, allocations: 62.62 kB / 0.5656 GB, free: 31.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3648, allocations: 0 / 0.5656 GB, free: 31.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001131/0.3649, allocations: 101.1 kB / 0.5657 GB, free: 31.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.365, allocations: 5.734 kB / 0.5657 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.365, allocations: 1.375 kB / 0.5657 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.365, allocations: 1.312 kB / 0.5657 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.365, allocations: 0.75 kB / 0.5657 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.365, allocations: 1.406 kB / 0.5657 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.3651, allocations: 1.438 kB / 0.5657 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3651, allocations: 1.344 kB / 0.5657 GB, free: 31.58 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 7.807e-05/0.3652, allocations: 125.5 kB / 0.5658 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.3652, allocations: 9.094 kB / 0.5658 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.3653, allocations: 109.8 kB / 0.5659 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3653, allocations: 0.7969 kB / 0.5659 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3654, allocations: 1.375 kB / 0.5659 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.3654, allocations: 0 / 0.5659 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3655, allocations: 199.8 kB / 0.5661 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3655, allocations: 1.438 kB / 0.5661 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-06/0.3655, allocations: 4.641 kB / 0.5661 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3655, allocations: 2.469 kB / 0.5661 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3655, allocations: 4 kB / 0.5661 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3655, allocations: 2.438 kB / 0.5661 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3655, allocations: 0 / 0.5661 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.3656, allocations: 120.1 kB / 0.5663 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.3657, allocations: 87.8 kB / 0.5663 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3657, allocations: 2.672 kB / 0.5663 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.3657, allocations: 0 / 0.5663 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.3657, allocations: 2.984 kB / 0.5664 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3658, allocations: 1.797 kB / 0.5664 GB, free: 31.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.069e-05/0.3658, allocations: 122.6 kB / 0.5665 GB, free: 30.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3658, allocations: 1.75 kB / 0.5665 GB, free: 30.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006205/0.3665, allocations: 204.1 kB / 0.5667 GB, free: 30.88 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.0006806/0.3671, allocations: 340.3 kB / 0.567 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.3673, allocations: 97.94 kB / 0.5671 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3673, allocations: 0 / 0.5671 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.25e-05/0.3674, allocations: 70.17 kB / 0.5672 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.3676, allocations: 9.859 kB / 0.5672 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.368, allocations: 233.5 kB / 0.5674 GB, free: 30.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.3681, allocations: 0.7026 MB / 0.5681 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.838e-05/0.3681, allocations: 4.781 kB / 0.5681 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.134e-05/0.3682, allocations: 8.469 kB / 0.5681 GB, free: 29.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3682, allocations: 0 / 0.5681 GB, free: 29.79 MB / 446.1 MB Notification: Performance of Templates: time 0.0092/0.3774, allocations: 4.317 MB / 0.5723 GB, free: 29.5 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)