Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7704/0.7704, 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.00138/0.00138, allocations: 174.9 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.813/1.813, allocations: 205.4 MB / 426.3 MB, free: 8.477 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.000874/0.0008742, allocations: 94.28 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001641/0.00164, allocations: 269.5 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004714, allocations: 19.98 kB / 0.6621 GB, free: 6.762 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3886, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.5458, allocations: 128.5 MB / 0.865 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.5462, allocations: 119.9 kB / 0.8652 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0456/0.5918, allocations: 15.1 MB / 0.8799 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.846e-06/0.5919, allocations: 0 / 0.8799 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5919, allocations: 0 / 0.8799 GB, free: 14.41 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.001315/0.5932, allocations: 0.5692 MB / 0.8805 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.5933, allocations: 8.031 kB / 0.8805 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.5934, allocations: 80.12 kB / 0.8805 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.5936, allocations: 261 kB / 0.8808 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/0.5937, allocations: 154.9 kB / 0.8809 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/0.5938, allocations: 150.9 kB / 0.8811 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.08e-05/0.5939, allocations: 113.5 kB / 0.8812 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.5939, allocations: 79.41 kB / 0.8813 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.219e-05/0.594, allocations: 154.5 kB / 0.8814 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-05/0.5941, allocations: 154.6 kB / 0.8816 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.452e-05/0.5941, allocations: 154.6 kB / 0.8817 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.5945, allocations: 465.9 kB / 0.8822 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.5947, allocations: 169.1 kB / 0.8823 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.5947, allocations: 88.12 kB / 0.8824 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.5948, allocations: 75.28 kB / 0.8825 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.5948, allocations: 109.8 kB / 0.8826 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.793e-06/0.5948, allocations: 0 / 0.8826 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001096/0.595, allocations: 41.53 kB / 0.8826 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.595, allocations: 126.7 kB / 0.8827 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.5952, allocations: 132.2 kB / 0.8829 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5952, allocations: 25.7 kB / 0.8829 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.5953, allocations: 92.14 kB / 0.883 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.5953, allocations: 3.938 kB / 0.883 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.5953, allocations: 0 / 0.883 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.5954, allocations: 326.8 kB / 0.8833 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.5954, allocations: 4 kB / 0.8833 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.626e-05/0.5955, allocations: 4 kB / 0.8833 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.314e-05/0.5955, allocations: 12.89 kB / 0.8833 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.5955, allocations: 4 kB / 0.8833 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001354/0.5957, allocations: 53.59 kB / 0.8834 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5957, allocations: 7.938 kB / 0.8834 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.5957, allocations: 4 kB / 0.8834 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5957, allocations: 0 / 0.8834 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.5957, allocations: 0 / 0.8834 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.5958, allocations: 3.938 kB / 0.8834 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.5958, allocations: 4 kB / 0.8834 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.5958, allocations: 4 kB / 0.8834 GB, free: 10.61 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.0001043/0.5959, allocations: 185.2 kB / 0.8836 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.596, allocations: 116.8 kB / 0.8837 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.596, allocations: 104.9 kB / 0.8838 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.865e-05/0.5961, allocations: 180.2 kB / 0.8839 GB, free: 10 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-05/0.5962, allocations: 184.3 kB / 0.8841 GB, free: 9.816 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.761e-05/0.5963, allocations: 184.2 kB / 0.8843 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.5965, allocations: 413.2 kB / 0.8847 GB, free: 9.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/0.5966, allocations: 101 kB / 0.8848 GB, free: 9.062 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.5966, allocations: 104.9 kB / 0.8849 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.793e-05/0.5967, allocations: 184.2 kB / 0.8851 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.27e-05/0.5968, allocations: 192.2 kB / 0.8852 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.847e-05/0.5968, allocations: 184.3 kB / 0.8854 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.768e-05/0.5969, allocations: 184.1 kB / 0.8856 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.5971, allocations: 303.7 kB / 0.8859 GB, free: 7.875 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.464e-05/0.5972, allocations: 190 kB / 0.8861 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.5973, allocations: 184.2 kB / 0.8862 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.5974, allocations: 105 kB / 0.8863 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.5975, allocations: 181.1 kB / 0.8865 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.5975, allocations: 105 kB / 0.8866 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.829e-05/0.5976, allocations: 104.2 kB / 0.8867 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5976, allocations: 0 / 0.8867 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001279/0.5989, allocations: 327.5 kB / 0.887 GB, free: 6.652 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.001741/0.6006, allocations: 0.5699 MB / 0.8876 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.6007, allocations: 41.64 kB / 0.8876 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6008, allocations: 4 kB / 0.8876 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/0.6008, allocations: 0 / 0.8876 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.6012, allocations: 0.5274 MB / 0.8881 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.6016, allocations: 263.6 kB / 0.8884 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.6019, allocations: 0.6887 MB / 0.8891 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.6019, allocations: 0 / 0.8891 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.6019, allocations: 7.438 kB / 0.8891 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of SimCode: time 3.51e-07/0.6019, allocations: 0 / 0.8891 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of Templates: time 0.2907/0.8926, allocations: 5.654 MB / 0.8946 GB, free: 140.1 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)