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.001232/0.001232, allocations: 113.3 kB / 17.04 MB, free: 5.809 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.001165/0.001165, allocations: 196 kB / 17.98 MB, free: 5.031 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.253/1.253, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6695/0.6695, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 71.89 kB / 494.9 MB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3638, allocations: 76.14 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002206/0.366, allocations: 1.356 MB / 0.559 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.3683, allocations: 1.789 MB / 0.5607 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.3683, allocations: 0 / 0.5607 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.676e-05/0.3684, allocations: 9.453 kB / 0.5607 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.3685, allocations: 37.38 kB / 0.5608 GB, free: 34.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.3707, allocations: 1.137 MB / 0.5619 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.528e-05/0.3708, allocations: 53.75 kB / 0.5619 GB, free: 34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.3709, allocations: 3.344 kB / 0.5619 GB, free: 34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.371, allocations: 25.34 kB / 0.5619 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.371, allocations: 31.41 kB / 0.562 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.371, allocations: 2.25 kB / 0.562 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.3721, allocations: 0.8903 MB / 0.5628 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.3722, allocations: 62.92 kB / 0.5629 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.3723, allocations: 69.5 kB / 0.563 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.3733, allocations: 0.8823 MB / 0.5638 GB, free: 33.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3733, allocations: 2.688 kB / 0.5638 GB, free: 33.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3733, allocations: 0 / 0.5638 GB, free: 33.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3734, allocations: 0 / 0.5638 GB, free: 33.36 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.0005319/0.3739, allocations: 0.5748 MB / 0.5644 GB, free: 32.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3739, allocations: 9.875 kB / 0.5644 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.374, allocations: 21.52 kB / 0.5644 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.3741, allocations: 226.7 kB / 0.5646 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.3742, allocations: 0.9375 kB / 0.5646 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.3742, allocations: 1.531 kB / 0.5646 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3743, allocations: 108.2 kB / 0.5647 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.3743, allocations: 1.406 kB / 0.5647 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3743, allocations: 5.266 kB / 0.5648 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3743, allocations: 0 / 0.5648 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.016e-05/0.3744, allocations: 78.55 kB / 0.5648 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.3746, allocations: 287.8 kB / 0.5651 GB, free: 32.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.3747, allocations: 120.9 kB / 0.5652 GB, free: 32.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.3748, allocations: 108.6 kB / 0.5653 GB, free: 32.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3749, allocations: 5.609 kB / 0.5653 GB, free: 32.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.3749, allocations: 32.42 kB / 0.5654 GB, free: 32.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 9.42e-07/0.3749, allocations: 0 / 0.5654 GB, free: 32.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.000358/0.3753, allocations: 338.1 kB / 0.5657 GB, free: 32.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.3753, allocations: 52.31 kB / 0.5657 GB, free: 31.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.3755, allocations: 257.8 kB / 0.566 GB, free: 31.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.3755, allocations: 26.48 kB / 0.566 GB, free: 31.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.3756, allocations: 129.1 kB / 0.5661 GB, free: 31.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.3756, allocations: 110.2 kB / 0.5662 GB, free: 31.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.3757, allocations: 27.84 kB / 0.5663 GB, free: 31.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.3757, allocations: 346.4 kB / 0.5666 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.3758, allocations: 74.42 kB / 0.5667 GB, free: 31.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.3759, allocations: 77.73 kB / 0.5667 GB, free: 31.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3761, allocations: 193.9 kB / 0.5669 GB, free: 31.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3761, allocations: 1.344 kB / 0.5669 GB, free: 31.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002088/0.3763, allocations: 232.6 kB / 0.5671 GB, free: 31.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3763, allocations: 7.422 kB / 0.5671 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3763, allocations: 1.625 kB / 0.5671 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3763, allocations: 0 / 0.5671 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3763, allocations: 2.328 kB / 0.5671 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3763, allocations: 0.6875 kB / 0.5671 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.3764, allocations: 10.34 kB / 0.5672 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3764, allocations: 1.703 kB / 0.5672 GB, free: 31.08 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 9.809e-05/0.3765, allocations: 160.1 kB / 0.5673 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.3765, allocations: 32.03 kB / 0.5673 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.3768, allocations: 262 kB / 0.5676 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3768, allocations: 1.656 kB / 0.5676 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3768, allocations: 1.828 kB / 0.5676 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3768, allocations: 0 / 0.5676 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.377, allocations: 274.9 kB / 0.5679 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.377, allocations: 5.031 kB / 0.5679 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.377, allocations: 2.625 kB / 0.5679 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.377, allocations: 1.031 kB / 0.5679 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.377, allocations: 0 / 0.5679 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3771, allocations: 1.875 kB / 0.5679 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3771, allocations: 0 / 0.5679 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.3773, allocations: 258.5 kB / 0.5681 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.3773, allocations: 107.8 kB / 0.5682 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3774, allocations: 2.875 kB / 0.5682 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.57e-05/0.3774, allocations: 0 / 0.5682 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.3774, allocations: 2.25 kB / 0.5682 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.3774, allocations: 5.781 kB / 0.5682 GB, free: 30.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.3776, allocations: 193.3 kB / 0.5684 GB, free: 30.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3776, allocations: 0.5 kB / 0.5684 GB, free: 30.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006011/0.3782, allocations: 213.1 kB / 0.5686 GB, free: 30.24 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.000628/0.3788, allocations: 342.1 kB / 0.5689 GB, free: 30.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.3791, allocations: 265.8 kB / 0.5692 GB, free: 29.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3791, allocations: 3.938 kB / 0.5692 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.3793, allocations: 174.6 kB / 0.5694 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.3795, allocations: 24.28 kB / 0.5694 GB, free: 29.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.3801, allocations: 498.2 kB / 0.5699 GB, free: 29.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.3803, allocations: 0.768 MB / 0.5706 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.129e-05/0.3803, allocations: 5.984 kB / 0.5706 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.3803, allocations: 10.22 kB / 0.5706 GB, free: 28.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3803, allocations: 1.062 kB / 0.5706 GB, free: 28.95 MB / 446.1 MB Notification: Performance of Templates: time 0.008992/0.3893, allocations: 4.587 MB / 0.5751 GB, free: 28.64 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)