Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001554/0.001554, allocations: 115.1 kB / 16.38 MB, free: 5.992 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.001672/0.001672, allocations: 186.1 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 68.12 kB / 0.673 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2228, allocations: 114.6 MB / 0.7849 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002979/0.2259, allocations: 1.441 MB / 0.7863 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4479/0.6737, allocations: 2.978 MB / 0.7892 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.6739, allocations: 0 / 0.7892 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.674, allocations: 5.125 kB / 0.7892 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.716e-05/0.6741, allocations: 14.09 kB / 0.7892 GB, free: 46.61 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.6781, allocations: 1.64 MB / 0.7908 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.6782, allocations: 44.17 kB / 0.7908 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.6782, allocations: 5.719 kB / 0.7908 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.6783, allocations: 14.41 kB / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.843e-05/0.6783, allocations: 18.98 kB / 0.7909 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.6783, allocations: 0 / 0.7909 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.6805, allocations: 1.553 MB / 0.7924 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.6805, allocations: 5.797 kB / 0.7924 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.6806, allocations: 20.66 kB / 0.7924 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.6818, allocations: 1.122 MB / 0.7935 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6818, allocations: 0 / 0.7935 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6818, allocations: 0 / 0.7935 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6818, allocations: 1.281 kB / 0.7935 GB, free: 46.46 MB / 0.6544 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.0005146/0.6824, allocations: 0.5203 MB / 0.794 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.6824, allocations: 12.77 kB / 0.794 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.6825, allocations: 80.47 kB / 0.7941 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.6826, allocations: 256.7 kB / 0.7944 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.6826, allocations: 155.7 kB / 0.7945 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.6827, allocations: 155.8 kB / 0.7946 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.66e-05/0.6827, allocations: 109.8 kB / 0.7948 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.6827, allocations: 79.41 kB / 0.7948 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.6828, allocations: 151.1 kB / 0.795 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.6828, allocations: 151.6 kB / 0.7951 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.792e-05/0.6828, allocations: 151.1 kB / 0.7953 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.683, allocations: 463.2 kB / 0.7957 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.6831, allocations: 173 kB / 0.7959 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.6831, allocations: 86.55 kB / 0.796 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.6831, allocations: 75.28 kB / 0.796 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.6832, allocations: 109.8 kB / 0.7961 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.6832, allocations: 3.344 kB / 0.7961 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.704e-05/0.6833, allocations: 33.55 kB / 0.7962 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.6833, allocations: 54.84 kB / 0.7962 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.6834, allocations: 135.7 kB / 0.7963 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.6834, allocations: 25.7 kB / 0.7964 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.6834, allocations: 90.7 kB / 0.7965 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.6835, allocations: 0 / 0.7965 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.6835, allocations: 19.62 kB / 0.7965 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.6836, allocations: 317.5 kB / 0.7968 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.6836, allocations: 10.47 kB / 0.7968 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.6836, allocations: 4.906 kB / 0.7968 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.568e-05/0.6837, allocations: 12.86 kB / 0.7968 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6837, allocations: 0 / 0.7968 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001213/0.6838, allocations: 56.69 kB / 0.7969 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.6838, allocations: 7.406 kB / 0.7969 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.6838, allocations: 3.469 kB / 0.7969 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6839, allocations: 1.453 kB / 0.7969 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.933e-06/0.6839, allocations: 4.188 kB / 0.7969 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.6839, allocations: 2.875 kB / 0.7969 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.6839, allocations: 7.938 kB / 0.7969 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.6839, allocations: 0 / 0.7969 GB, free: 43.09 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.684, allocations: 194.6 kB / 0.7971 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.684, allocations: 112.8 kB / 0.7972 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.6841, allocations: 117.1 kB / 0.7973 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.6841, allocations: 178.4 kB / 0.7975 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.6841, allocations: 116.2 kB / 0.7976 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.6842, allocations: 182 kB / 0.7977 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.6842, allocations: 186.3 kB / 0.7979 GB, free: 42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.641e-05/0.6843, allocations: 101 kB / 0.798 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.6843, allocations: 177.5 kB / 0.7982 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.37e-05/0.6844, allocations: 263 kB / 0.7984 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.997e-05/0.6845, allocations: 388 kB / 0.7988 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.362e-05/0.6845, allocations: 101 kB / 0.7989 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.6846, allocations: 101.3 kB / 0.799 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of Backend: time 3.3e-07/0.6846, allocations: 0 / 0.799 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.6859, allocations: 0.5527 MB / 0.7995 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004203/0.6864, allocations: 0.9083 MB / 0.8004 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.01187/0.6982, allocations: 6.492 MB / 0.8068 GB, free: 39.41 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)