Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7612/0.7612, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001162, allocations: 188.8 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.1 MB / 404.5 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009779/0.0009778, allocations: 99.36 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.247e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.182, allocations: 76.76 MB / 0.6282 GB, free: 9.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6284/0.8104, allocations: 115.7 MB / 0.7413 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004968/0.811, allocations: 119.5 kB / 0.7414 GB, free: 13.64 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:25:40-25:54:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:31:35-31:49:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:38:26-38:40:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:40:21-40:35:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:19:32-19:46:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.02423/0.8353, allocations: 8.665 MB / 0.7498 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8353, allocations: 3.938 kB / 0.7498 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.8353, allocations: 4 kB / 0.7499 GB, free: 5.902 MB / 0.4948 GB 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.0006032/0.8359, allocations: 0.5516 MB / 0.7504 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.836, allocations: 8.031 kB / 0.7504 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.836, allocations: 23.67 kB / 0.7504 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.8363, allocations: 225.5 kB / 0.7506 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.8363, allocations: 4 kB / 0.7506 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.8363, allocations: 3.984 kB / 0.7506 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.8365, allocations: 107.3 kB / 0.7507 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.8365, allocations: 3.938 kB / 0.7507 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.8365, allocations: 4 kB / 0.7508 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.8365, allocations: 3.953 kB / 0.7508 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.8366, allocations: 73.7 kB / 0.7508 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.8369, allocations: 271.6 kB / 0.7511 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.837, allocations: 125.1 kB / 0.7512 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.8371, allocations: 111.8 kB / 0.7513 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.8371, allocations: 0 / 0.7513 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.8372, allocations: 30.56 kB / 0.7513 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.364e-06/0.8372, allocations: 0 / 0.7513 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.0002959/0.8375, allocations: 232.8 kB / 0.7516 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.8375, allocations: 55.36 kB / 0.7516 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.8378, allocations: 226.7 kB / 0.7518 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.8378, allocations: 29.73 kB / 0.7519 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.8378, allocations: 129 kB / 0.752 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.8379, allocations: 105.5 kB / 0.7521 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.8379, allocations: 0 / 0.7521 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.8381, allocations: 335.9 kB / 0.7524 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.8382, allocations: 78.09 kB / 0.7525 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.8382, allocations: 78.08 kB / 0.7526 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.8383, allocations: 98.06 kB / 0.7526 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.8384, allocations: 0 / 0.7526 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002398/0.8386, allocations: 243.1 kB / 0.7529 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8386, allocations: 8 kB / 0.7529 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.8386, allocations: 0 / 0.7529 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.8387, allocations: 0 / 0.7529 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.8387, allocations: 0 / 0.7529 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.8387, allocations: 0 / 0.7529 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.8387, allocations: 19.73 kB / 0.7529 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.8388, allocations: 11.88 kB / 0.7529 GB, free: 2.891 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.206e-05/0.8388, allocations: 101 kB / 0.753 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.8389, allocations: 31.64 kB / 0.753 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.8394, allocations: 0.5702 MB / 0.7536 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.354e-05/0.8394, allocations: 180.3 kB / 0.7538 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.182e-05/0.8395, allocations: 176.3 kB / 0.7539 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.422e-05/0.8396, allocations: 188.2 kB / 0.7541 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.84, allocations: 0.5418 MB / 0.7546 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-05/0.84, allocations: 104.9 kB / 0.7547 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.8401, allocations: 112.5 kB / 0.7549 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-05/0.8401, allocations: 176.3 kB / 0.755 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-05/0.8402, allocations: 180.2 kB / 0.7552 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.676e-05/0.8403, allocations: 180.3 kB / 0.7554 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.455e-05/0.8404, allocations: 188.2 kB / 0.7555 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.8406, allocations: 322.6 kB / 0.7559 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.8411, allocations: 371.5 kB / 0.7562 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.8413, allocations: 184 kB / 0.7564 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.8414, allocations: 104.9 kB / 0.7565 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.8415, allocations: 180.3 kB / 0.7567 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.8415, allocations: 101 kB / 0.7568 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00118/0.8427, allocations: 1.126 MB / 0.7579 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8427, allocations: 3.938 kB / 0.7579 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008153/0.8436, allocations: 304.6 kB / 0.7581 GB, free: 13.77 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007863/0.8444, allocations: 451.3 kB / 0.7586 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.8446, allocations: 180.6 kB / 0.7587 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8446, allocations: 3.938 kB / 0.7588 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.8446, allocations: 0 / 0.7588 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.845, allocations: 0.5451 MB / 0.7593 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.8455, allocations: 357.2 kB / 0.7596 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.8459, allocations: 0.7635 MB / 0.7604 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.253e-05/0.8459, allocations: 3.984 kB / 0.7604 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.8459, allocations: 11.44 kB / 0.7604 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.8459, allocations: 0 / 0.7604 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of Templates: time 0.008303/0.8542, allocations: 4.533 MB / 0.7648 GB, free: 7.004 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)