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_OneUTube.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_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9579/0.9579, allocations: 140.1 MB / 156 MB, free: 8.395 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.001217/0.001217, allocations: 172.6 kB / 188.5 MB, free: 9.004 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.532/1.532, allocations: 205.4 MB / 426.3 MB, free: 8.133 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.0007847/0.0007848, allocations: 100.3 kB / 0.4945 GB, free: 8.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001758/0.001758, allocations: 273.5 kB / 0.5729 GB, free: 66.14 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004652, allocations: 20 kB / 0.6621 GB, free: 6.676 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.398, allocations: 79.3 MB / 0.7395 GB, free: 46.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.5441, allocations: 119.5 MB / 0.8562 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5445, allocations: 115.9 kB / 0.8563 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02248/0.5669, allocations: 7.962 MB / 0.8641 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.835e-06/0.567, allocations: 0 / 0.8641 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.567, allocations: 0 / 0.8641 GB, free: 14.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006986/0.5677, allocations: 0.4948 MB / 0.8645 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5677, allocations: 8.031 kB / 0.8645 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.5678, allocations: 8.844 kB / 0.8646 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.568, allocations: 188.6 kB / 0.8647 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.568, allocations: 384 / 0.8647 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.5681, allocations: 8.312 kB / 0.8647 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.5682, allocations: 61.8 kB / 0.8648 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.5682, allocations: 0 / 0.8648 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.5682, allocations: 0 / 0.8648 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5682, allocations: 0 / 0.8648 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.5683, allocations: 23.98 kB / 0.8648 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.5685, allocations: 189.6 kB / 0.865 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.351e-05/0.5686, allocations: 46.5 kB / 0.865 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.5687, allocations: 36.88 kB / 0.8651 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.5687, allocations: 8.094 kB / 0.8651 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5688, allocations: 30.56 kB / 0.8651 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.5688, allocations: 3.938 kB / 0.8651 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0002647/0.569, allocations: 125.5 kB / 0.8652 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.5691, allocations: 51.41 kB / 0.8653 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.5692, allocations: 154 kB / 0.8654 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.5693, allocations: 25.73 kB / 0.8655 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.5693, allocations: 104.1 kB / 0.8656 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.5694, allocations: 27.55 kB / 0.8656 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.5694, allocations: 0 / 0.8656 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5695, allocations: 322.8 kB / 0.8659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.5696, allocations: 23.98 kB / 0.8659 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.5696, allocations: 23.98 kB / 0.8659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.996e-05/0.5697, allocations: 64.83 kB / 0.866 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5697, allocations: 3.938 kB / 0.866 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001387/0.5699, allocations: 97.53 kB / 0.8661 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5699, allocations: 8 kB / 0.8661 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.5699, allocations: 0 / 0.8661 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5699, allocations: 0 / 0.8661 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.5699, allocations: 0 / 0.8661 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.57, allocations: 0 / 0.8661 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.57, allocations: 4 kB / 0.8661 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.57, allocations: 0 / 0.8661 GB, free: 12.26 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.0001088/0.5701, allocations: 125.8 kB / 0.8662 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.5702, allocations: 19.83 kB / 0.8663 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.5704, allocations: 226.2 kB / 0.8665 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.485e-05/0.5705, allocations: 184.9 kB / 0.8666 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.925e-05/0.5706, allocations: 180.3 kB / 0.8668 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.352e-05/0.5707, allocations: 180.2 kB / 0.867 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.571, allocations: 457 kB / 0.8674 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.97e-05/0.571, allocations: 101 kB / 0.8675 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.5711, allocations: 108.9 kB / 0.8676 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.525e-05/0.5712, allocations: 176.3 kB / 0.8678 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/0.5712, allocations: 192.2 kB / 0.868 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-05/0.5713, allocations: 176.3 kB / 0.8681 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.911e-05/0.5714, allocations: 184.2 kB / 0.8683 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.5715, allocations: 313.4 kB / 0.8686 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.5717, allocations: 221.8 kB / 0.8688 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/0.5718, allocations: 176.3 kB / 0.869 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.5719, allocations: 105 kB / 0.8691 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.572, allocations: 184.2 kB / 0.8693 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.572, allocations: 109 kB / 0.8694 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002584/0.5723, allocations: 264.2 kB / 0.8696 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5723, allocations: 0 / 0.8696 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007638/0.573, allocations: 247.6 kB / 0.8699 GB, free: 8.172 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.001033/0.5741, allocations: 438 kB / 0.8703 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.5742, allocations: 81.61 kB / 0.8704 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5742, allocations: 3.938 kB / 0.8704 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.5742, allocations: 0 / 0.8704 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.5747, allocations: 0.5263 MB / 0.8709 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.5752, allocations: 302.3 kB / 0.8712 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.5755, allocations: 0.7043 MB / 0.8719 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.807e-05/0.5755, allocations: 0 / 0.8719 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.5755, allocations: 11.44 kB / 0.8719 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of SimCode: time 4.3e-07/0.5755, allocations: 4 kB / 0.8719 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of Templates: time 0.008074/0.5836, allocations: 4.261 MB / 0.876 GB, free: 1.84 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)