Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9073/0.9073, allocations: 140.1 MB / 156 MB, free: 5.176 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.001021/0.001021, allocations: 184.3 kB / 188.5 MB, free: 15.83 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.55/1.55, allocations: 205.4 MB / 426.3 MB, free: 8.473 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.0008512/0.0008512, allocations: 90.3 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001686/0.001686, allocations: 267.9 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004557, allocations: 20 kB / 0.6621 GB, free: 6.754 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3893, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5448, allocations: 127.8 MB / 0.8643 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/0.5452, allocations: 127.9 kB / 0.8645 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04374/0.589, allocations: 14.77 MB / 0.8789 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.875e-06/0.589, allocations: 3.938 kB / 0.8789 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.589, allocations: 0 / 0.8789 GB, free: 15.44 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0009771/0.59, allocations: 0.5694 MB / 0.8794 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5901, allocations: 8.031 kB / 0.8794 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.5902, allocations: 80.22 kB / 0.8795 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.5903, allocations: 256.8 kB / 0.8798 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.5904, allocations: 150.9 kB / 0.8799 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.5905, allocations: 154.9 kB / 0.8801 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.651e-05/0.5905, allocations: 105.5 kB / 0.8802 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.5906, allocations: 83.47 kB / 0.8802 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.5906, allocations: 162.4 kB / 0.8804 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.627e-05/0.5907, allocations: 150.6 kB / 0.8805 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.5908, allocations: 158.5 kB / 0.8807 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.5911, allocations: 457.9 kB / 0.8811 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.8e-05/0.5912, allocations: 173.1 kB / 0.8813 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.5912, allocations: 80.14 kB / 0.8814 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.5913, allocations: 75.28 kB / 0.8814 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.5913, allocations: 109.8 kB / 0.8815 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.5913, allocations: 0 / 0.8815 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 8.218e-05/0.5914, allocations: 33.64 kB / 0.8816 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.5915, allocations: 134.7 kB / 0.8817 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.5916, allocations: 131 kB / 0.8818 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.5917, allocations: 25.7 kB / 0.8819 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.5917, allocations: 96.12 kB / 0.8819 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.5917, allocations: 0 / 0.8819 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.5917, allocations: 0 / 0.8819 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5918, allocations: 310.8 kB / 0.8822 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.5919, allocations: 8 kB / 0.8823 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.5919, allocations: 7.984 kB / 0.8823 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.592, allocations: 16.83 kB / 0.8823 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.592, allocations: 3.938 kB / 0.8823 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001346/0.5921, allocations: 45.61 kB / 0.8823 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5921, allocations: 11.94 kB / 0.8823 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.5922, allocations: 3.984 kB / 0.8823 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5922, allocations: 4 kB / 0.8823 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-06/0.5922, allocations: 0 / 0.8823 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5922, allocations: 0 / 0.8823 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.5922, allocations: 0 / 0.8823 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.5922, allocations: 0 / 0.8823 GB, free: 11.67 MB / 0.5573 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.0001083/0.5924, allocations: 193.2 kB / 0.8825 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.5924, allocations: 112.8 kB / 0.8826 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.5925, allocations: 112.8 kB / 0.8827 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.95e-05/0.5926, allocations: 176.3 kB / 0.8829 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.457e-05/0.5926, allocations: 180.2 kB / 0.8831 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.674e-05/0.5927, allocations: 184.3 kB / 0.8833 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.5929, allocations: 413.2 kB / 0.8836 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.68e-05/0.593, allocations: 109 kB / 0.8838 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.5931, allocations: 104.9 kB / 0.8839 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-05/0.5931, allocations: 180.2 kB / 0.884 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/0.5932, allocations: 184.3 kB / 0.8842 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-05/0.5933, allocations: 188.2 kB / 0.8844 GB, free: 9.434 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.693e-05/0.5933, allocations: 176.3 kB / 0.8845 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.5935, allocations: 311.7 kB / 0.8848 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.5936, allocations: 190 kB / 0.885 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.5937, allocations: 188.1 kB / 0.8852 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.5938, allocations: 105 kB / 0.8853 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.5938, allocations: 181.1 kB / 0.8855 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.5939, allocations: 105 kB / 0.8856 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.545e-05/0.594, allocations: 100.4 kB / 0.8857 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.594, allocations: 0 / 0.8857 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009487/0.5949, allocations: 323.4 kB / 0.886 GB, free: 7.707 MB / 0.5573 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.001378/0.5963, allocations: 0.5623 MB / 0.8865 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.5964, allocations: 41.69 kB / 0.8866 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5964, allocations: 0 / 0.8866 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-06/0.5965, allocations: 3.938 kB / 0.8866 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.5969, allocations: 0.5312 MB / 0.8871 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.5972, allocations: 243.8 kB / 0.8873 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.5975, allocations: 0.6926 MB / 0.888 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.5975, allocations: 3.906 kB / 0.888 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.5975, allocations: 11.38 kB / 0.888 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.5975, allocations: 0 / 0.888 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of Templates: time 0.01014/0.6077, allocations: 5.483 MB / 0.8934 GB, free: 120 kB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)