Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7602/0.7602, allocations: 140.1 MB / 156 MB, free: 5.168 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.001034/0.001034, allocations: 169.2 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008547/0.0008548, allocations: 90.36 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001657/0.001657, allocations: 264.8 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.000459, allocations: 19.98 kB / 0.6621 GB, free: 6.754 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3671, allocations: 79.29 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.5142, allocations: 119.5 MB / 0.8562 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/0.5146, allocations: 117.8 kB / 0.8563 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02369/0.5383, allocations: 8.436 MB / 0.8645 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5384, allocations: 0 / 0.8645 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.5384, allocations: 4 kB / 0.8645 GB, free: 14.18 MB / 0.5417 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.0009655/0.5394, allocations: 0.5917 MB / 0.8651 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5394, allocations: 12.03 kB / 0.8651 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.5395, allocations: 20.66 kB / 0.8651 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.5398, allocations: 222.8 kB / 0.8653 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.5398, allocations: 384 / 0.8653 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.5398, allocations: 384 / 0.8653 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.54, allocations: 118.2 kB / 0.8655 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.54, allocations: 192 / 0.8655 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.54, allocations: 3.938 kB / 0.8655 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.54, allocations: 0 / 0.8655 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.5401, allocations: 71.97 kB / 0.8655 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.5405, allocations: 277.8 kB / 0.8658 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.5406, allocations: 122.5 kB / 0.8659 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.5408, allocations: 112.8 kB / 0.866 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.5408, allocations: 4 kB / 0.866 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.5408, allocations: 30.56 kB / 0.8661 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 1.192e-06/0.5408, allocations: 4 kB / 0.8661 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.0004534/0.5413, allocations: 337.8 kB / 0.8664 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.5413, allocations: 55.34 kB / 0.8664 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.5416, allocations: 257 kB / 0.8667 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.5416, allocations: 29.7 kB / 0.8667 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.5417, allocations: 128.6 kB / 0.8668 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.02e-05/0.5418, allocations: 106.5 kB / 0.8669 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.5418, allocations: 0 / 0.8669 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.542, allocations: 342.8 kB / 0.8673 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.5421, allocations: 75.95 kB / 0.8673 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.5422, allocations: 80.75 kB / 0.8674 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.5424, allocations: 201 kB / 0.8676 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5424, allocations: 3.938 kB / 0.8676 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002648/0.5427, allocations: 229.2 kB / 0.8678 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5427, allocations: 7.938 kB / 0.8678 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.5427, allocations: 12.05 kB / 0.8678 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5427, allocations: 0 / 0.8678 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.5427, allocations: 0 / 0.8678 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5427, allocations: 0 / 0.8678 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.5428, allocations: 11.84 kB / 0.8679 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.5428, allocations: 4 kB / 0.8679 GB, free: 10.55 MB / 0.5417 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: 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 0.0001446/0.543, allocations: 161.7 kB / 0.868 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.543, allocations: 23.66 kB / 0.868 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007383/0.5438, allocations: 0.8575 MB / 0.8689 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.342e-05/0.5438, allocations: 188.9 kB / 0.8691 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.117e-05/0.5439, allocations: 176.3 kB / 0.8692 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-05/0.544, allocations: 180.2 kB / 0.8694 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.5444, allocations: 0.5476 MB / 0.8699 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.56e-05/0.5445, allocations: 101 kB / 0.87 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.5445, allocations: 108.9 kB / 0.8701 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.871e-05/0.5446, allocations: 184.2 kB / 0.8703 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/0.5447, allocations: 184.2 kB / 0.8705 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.827e-05/0.5448, allocations: 176.3 kB / 0.8706 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.958e-05/0.5449, allocations: 188.2 kB / 0.8708 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.5451, allocations: 327.4 kB / 0.8711 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.5455, allocations: 361.5 kB / 0.8715 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.5457, allocations: 180.2 kB / 0.8717 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.5458, allocations: 109 kB / 0.8718 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.5459, allocations: 184.2 kB / 0.8719 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.546, allocations: 101 kB / 0.872 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00132/0.5473, allocations: 1.143 MB / 0.8731 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5473, allocations: 0 / 0.8731 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009594/0.5483, allocations: 303.6 kB / 0.8734 GB, free: 4.516 MB / 0.5417 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 () * Number of clocked 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.001251/0.5495, allocations: 438.8 kB / 0.8739 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.5498, allocations: 185.6 kB / 0.874 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5498, allocations: 3.938 kB / 0.874 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-06/0.5498, allocations: 4 kB / 0.874 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.5504, allocations: 0.5404 MB / 0.8746 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.5512, allocations: 0.5217 MB / 0.8751 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.5515, allocations: 0.7582 MB / 0.8758 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.196e-05/0.5516, allocations: 7.844 kB / 0.8758 GB, free: 1.996 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.5516, allocations: 11.44 kB / 0.8758 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.5516, allocations: 4 kB / 0.8758 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of Templates: time 0.009761/0.5614, allocations: 4.585 MB / 0.8803 GB, free: 13.45 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)