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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001444, allocations: 99.97 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 191.1 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 294.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 98.34 kB / 0.5967 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1431, allocations: 86.97 MB / 0.6817 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002522/0.1456, allocations: 1.434 MB / 0.6831 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.15, allocations: 2.9 MB / 0.6859 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.1501, allocations: 0 / 0.6859 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.1501, allocations: 3.938 kB / 0.6859 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.1502, allocations: 19.84 kB / 0.6859 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.1536, allocations: 1.574 MB / 0.6874 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.1537, allocations: 43.73 kB / 0.6875 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.1537, allocations: 0 / 0.6875 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.936e-05/0.1538, allocations: 23.91 kB / 0.6875 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.621e-05/0.1538, allocations: 19.81 kB / 0.6875 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1538, allocations: 4 kB / 0.6875 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2468/0.4006, allocations: 1.524 MB / 0.689 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.4006, allocations: 6.922 kB / 0.689 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.4007, allocations: 15.89 kB / 0.689 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.4028, allocations: 1.099 MB / 0.6901 GB, free: 13.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4028, allocations: 4.156 kB / 0.6901 GB, free: 13.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4028, allocations: 3.562 kB / 0.6901 GB, free: 13.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.4028, allocations: 3.469 kB / 0.6901 GB, free: 13.52 MB / 494.1 MB 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.000558/0.4034, allocations: 0.5125 MB / 0.6906 GB, free: 13.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.4034, allocations: 9.391 kB / 0.6906 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.4034, allocations: 83.58 kB / 0.6907 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.834e-05/0.4035, allocations: 252.7 kB / 0.691 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.4036, allocations: 156.9 kB / 0.6911 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.4036, allocations: 151.8 kB / 0.6912 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.748e-05/0.4036, allocations: 117.3 kB / 0.6914 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4037, allocations: 75.28 kB / 0.6914 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.4037, allocations: 150.6 kB / 0.6916 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.4037, allocations: 152.6 kB / 0.6917 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.4037, allocations: 157.3 kB / 0.6919 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.4039, allocations: 467.3 kB / 0.6923 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.956e-05/0.404, allocations: 167.6 kB / 0.6925 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.404, allocations: 80.83 kB / 0.6926 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.404, allocations: 83.95 kB / 0.6926 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.404, allocations: 112.8 kB / 0.6927 GB, free: 10.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.404, allocations: 1.75 kB / 0.6927 GB, free: 10.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.253e-05/0.4041, allocations: 32.58 kB / 0.6928 GB, free: 10.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.4041, allocations: 128.4 kB / 0.6929 GB, free: 10.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.4042, allocations: 135.6 kB / 0.693 GB, free: 10.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.4043, allocations: 27.48 kB / 0.6931 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.4043, allocations: 91.5 kB / 0.6931 GB, free: 10.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.4043, allocations: 1.656 kB / 0.6931 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.4043, allocations: 15.22 kB / 0.6932 GB, free: 10.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.4044, allocations: 320.2 kB / 0.6935 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.4044, allocations: 6.562 kB / 0.6935 GB, free: 10.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.4044, allocations: 6.719 kB / 0.6935 GB, free: 10.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.656e-05/0.4045, allocations: 14.56 kB / 0.6935 GB, free: 10.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.4045, allocations: 2.281 kB / 0.6935 GB, free: 10.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00012/0.4046, allocations: 56.12 kB / 0.6935 GB, free: 10.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4046, allocations: 6 kB / 0.6935 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.4047, allocations: 8.5 kB / 0.6936 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4047, allocations: 1.484 kB / 0.6936 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.4047, allocations: 0 / 0.6936 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4047, allocations: 2.219 kB / 0.6936 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.4047, allocations: 0 / 0.6936 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.4047, allocations: 7.812 kB / 0.6936 GB, free: 10.09 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.4048, allocations: 187.9 kB / 0.6937 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.4048, allocations: 114.9 kB / 0.6939 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.4049, allocations: 109 kB / 0.694 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.4049, allocations: 182.9 kB / 0.6941 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/0.4049, allocations: 182.3 kB / 0.6943 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/0.4049, allocations: 182.7 kB / 0.6945 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.4051, allocations: 413 kB / 0.6949 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.4051, allocations: 104.5 kB / 0.695 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.4051, allocations: 109.6 kB / 0.6951 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.263e-05/0.4051, allocations: 181.6 kB / 0.6953 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.4052, allocations: 182.2 kB / 0.6954 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-05/0.4052, allocations: 178.8 kB / 0.6956 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.258e-05/0.4052, allocations: 189.4 kB / 0.6958 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.015e-05/0.4053, allocations: 308.1 kB / 0.6961 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.4054, allocations: 192.8 kB / 0.6963 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.4054, allocations: 183.6 kB / 0.6964 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.4055, allocations: 104.5 kB / 0.6965 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.4055, allocations: 180.7 kB / 0.6967 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.4055, allocations: 103.8 kB / 0.6968 GB, free: 6.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.39e-05/0.4056, allocations: 100.7 kB / 0.6969 GB, free: 6.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4056, allocations: 3.969 kB / 0.6969 GB, free: 6.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008174/0.4064, allocations: 280.6 kB / 0.6972 GB, free: 6.547 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009958/0.4074, allocations: 0.5382 MB / 0.6977 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.755e-05/0.4075, allocations: 43.27 kB / 0.6977 GB, free: 6.297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4075, allocations: 128 / 0.6977 GB, free: 6.297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.4075, allocations: 8.5 kB / 0.6977 GB, free: 6.293 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.4078, allocations: 460.6 kB / 0.6982 GB, free: 5.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.4081, allocations: 242.4 kB / 0.6984 GB, free: 5.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.277e-05/0.4082, allocations: 0.6873 MB / 0.6991 GB, free: 4.945 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.348e-05/0.4082, allocations: 1.125 kB / 0.6991 GB, free: 4.945 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-06/0.4082, allocations: 9.688 kB / 0.6991 GB, free: 4.938 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4082, allocations: 0 / 0.6991 GB, free: 4.938 MB / 494.1 MB Notification: Performance of Templates: time 0.01069/0.4189, allocations: 5.621 MB / 0.7046 GB, free: 4.582 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)