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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.8386/0.8386, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001096, allocations: 169.1 kB / 191.5 MB, free: 5.781 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 447.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 91.83 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 262.4 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006032/0.0006033, allocations: 13.97 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1962, allocations: 82.8 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6425/0.8388, allocations: 130.1 MB / 0.9008 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004182/0.8393, allocations: 123.2 kB / 0.901 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05491/0.8942, allocations: 15.59 MB / 0.9162 GB, free: 21.12 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8942, allocations: 4 kB / 0.9162 GB, free: 21.11 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.8943, allocations: 0 / 0.9162 GB, free: 21.11 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0009385/0.8952, allocations: 0.5622 MB / 0.9167 GB, free: 20.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.8953, allocations: 12.16 kB / 0.9168 GB, free: 20.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.8953, allocations: 75.28 kB / 0.9168 GB, free: 20.53 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.442e-05/0.8954, allocations: 253.8 kB / 0.9171 GB, free: 20.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.8954, allocations: 158.3 kB / 0.9172 GB, free: 20.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.8955, allocations: 154.6 kB / 0.9174 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.314e-05/0.8955, allocations: 101 kB / 0.9175 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.8955, allocations: 75.28 kB / 0.9175 GB, free: 19.77 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.8956, allocations: 150.6 kB / 0.9177 GB, free: 19.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.8956, allocations: 154.5 kB / 0.9178 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.8956, allocations: 154.4 kB / 0.918 GB, free: 19.32 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.8958, allocations: 473 kB / 0.9184 GB, free: 18.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/0.8959, allocations: 168.6 kB / 0.9186 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.8959, allocations: 79.16 kB / 0.9187 GB, free: 18.58 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.8959, allocations: 113.8 kB / 0.9188 GB, free: 18.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.8959, allocations: 0 / 0.9188 GB, free: 18.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.471e-05/0.896, allocations: 37.28 kB / 0.9188 GB, free: 18.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.8961, allocations: 126.7 kB / 0.9189 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.8962, allocations: 120.8 kB / 0.919 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.8962, allocations: 25.7 kB / 0.9191 GB, free: 18.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.8962, allocations: 95.67 kB / 0.9192 GB, free: 18.08 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.8962, allocations: 0 / 0.9192 GB, free: 18.08 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.8962, allocations: 3.938 kB / 0.9192 GB, free: 18.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.8963, allocations: 322.6 kB / 0.9195 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.8963, allocations: 3.875 kB / 0.9195 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/0.8964, allocations: 3.875 kB / 0.9195 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.8964, allocations: 7.75 kB / 0.9195 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8964, allocations: 0 / 0.9195 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000114/0.8965, allocations: 58.28 kB / 0.9195 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.8965, allocations: 9.703 kB / 0.9196 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.8966, allocations: 3.875 kB / 0.9196 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.8966, allocations: 0 / 0.9196 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.8966, allocations: 4.062 kB / 0.9196 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8966, allocations: 3.938 kB / 0.9196 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.8966, allocations: 11.78 kB / 0.9196 GB, free: 17.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-06/0.8966, allocations: 0.5469 kB / 0.9196 GB, free: 17.7 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 6.764e-05/0.8967, allocations: 181.1 kB / 0.9197 GB, free: 17.51 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.8968, allocations: 112.8 kB / 0.9199 GB, free: 17.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.8968, allocations: 116.4 kB / 0.92 GB, free: 17.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007105/0.8975, allocations: 180.3 kB / 0.9201 GB, free: 33.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-05/0.8976, allocations: 180.2 kB / 0.9203 GB, free: 32.92 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-05/0.8977, allocations: 176.3 kB / 0.9205 GB, free: 32.74 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.8979, allocations: 423.4 kB / 0.9209 GB, free: 32.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-05/0.8979, allocations: 101 kB / 0.921 GB, free: 32.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.898, allocations: 109 kB / 0.9211 GB, free: 32.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.588e-05/0.8981, allocations: 188.2 kB / 0.9213 GB, free: 31.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/0.8981, allocations: 176.3 kB / 0.9214 GB, free: 31.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.816e-05/0.8982, allocations: 184 kB / 0.9216 GB, free: 31.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.33e-05/0.8983, allocations: 183.4 kB / 0.9218 GB, free: 31.35 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.8984, allocations: 311.4 kB / 0.9221 GB, free: 31.03 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.8985, allocations: 189.7 kB / 0.9223 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.154e-05/0.8986, allocations: 184.2 kB / 0.9224 GB, free: 30.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.8987, allocations: 101 kB / 0.9225 GB, free: 30.53 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.8988, allocations: 176.3 kB / 0.9227 GB, free: 30.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.8988, allocations: 112.8 kB / 0.9228 GB, free: 30.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.071e-05/0.8989, allocations: 101.9 kB / 0.9229 GB, free: 30.16 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8989, allocations: 0 / 0.9229 GB, free: 30.16 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009014/0.8998, allocations: 326.6 kB / 0.9232 GB, free: 30.07 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.001036/0.9008, allocations: 0.5714 MB / 0.9238 GB, free: 29.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.224e-05/0.9009, allocations: 41.17 kB / 0.9238 GB, free: 29.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.901, allocations: 4.062 kB / 0.9238 GB, free: 29.77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.901, allocations: 0 / 0.9238 GB, free: 29.77 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.9013, allocations: 0.5331 MB / 0.9243 GB, free: 29.24 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.9016, allocations: 255.6 kB / 0.9246 GB, free: 29.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.9019, allocations: 0.6877 MB / 0.9253 GB, free: 28.33 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.374e-05/0.9019, allocations: 3.969 kB / 0.9253 GB, free: 28.33 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-06/0.9019, allocations: 7.438 kB / 0.9253 GB, free: 28.32 MB / 0.5573 GB Notification: Performance of SimCode: time 2.2e-07/0.9019, allocations: 0 / 0.9253 GB, free: 28.32 MB / 0.5573 GB Notification: Performance of Templates: time 0.007541/0.9095, allocations: 5.359 MB / 0.9305 GB, free: 25.89 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)