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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 109.3 kB / 16.38 MB, free: 6.457 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.00105/0.00105, allocations: 186.7 kB / 17.31 MB, free: 5.812 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.499/1.499, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.881/1.881, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.002628/0.002628, allocations: 79.02 kB / 0.673 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2575, allocations: 114.6 MB / 0.7849 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.004082/0.2617, allocations: 1.434 MB / 0.7863 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4213/0.683, allocations: 2.926 MB / 0.7891 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.6831, allocations: 0 / 0.7891 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.6832, allocations: 3.094 kB / 0.7891 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.253e-05/0.6833, allocations: 16.14 kB / 0.7891 GB, free: 46.48 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/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.6876, allocations: 1.62 MB / 0.7907 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.725e-05/0.6877, allocations: 42.42 kB / 0.7908 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.6878, allocations: 4.188 kB / 0.7908 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.6878, allocations: 12.81 kB / 0.7908 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.744e-05/0.6878, allocations: 17.14 kB / 0.7908 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.6878, allocations: 4 kB / 0.7908 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.6902, allocations: 1.505 MB / 0.7923 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.6902, allocations: 3.938 kB / 0.7923 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.6902, allocations: 22.64 kB / 0.7923 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.6921, allocations: 1.09 MB / 0.7934 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6921, allocations: 0 / 0.7934 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6921, allocations: 1.844 kB / 0.7934 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.6921, allocations: 0 / 0.7934 GB, free: 46.32 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.0007635/0.6929, allocations: 0.5189 MB / 0.7939 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6929, allocations: 7.188 kB / 0.7939 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.693, allocations: 80.5 kB / 0.7939 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.6931, allocations: 257.6 kB / 0.7942 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.6931, allocations: 154.3 kB / 0.7943 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.6932, allocations: 156.2 kB / 0.7945 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.75e-05/0.6932, allocations: 112 kB / 0.7946 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.6933, allocations: 76.25 kB / 0.7947 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.6933, allocations: 152 kB / 0.7948 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.6933, allocations: 150.6 kB / 0.795 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.927e-05/0.6934, allocations: 151.3 kB / 0.7951 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.6936, allocations: 461 kB / 0.7955 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.657e-05/0.6937, allocations: 175.1 kB / 0.7957 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.6937, allocations: 81.95 kB / 0.7958 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.6937, allocations: 75.28 kB / 0.7959 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.6937, allocations: 119.1 kB / 0.796 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.784e-06/0.6937, allocations: 0 / 0.796 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.713e-05/0.6938, allocations: 28.86 kB / 0.796 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.6938, allocations: 51.41 kB / 0.796 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.694, allocations: 137.3 kB / 0.7962 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.694, allocations: 30.95 kB / 0.7962 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.694, allocations: 93.58 kB / 0.7963 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.6941, allocations: 0 / 0.7963 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.6941, allocations: 15.97 kB / 0.7963 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.611e-05/0.6942, allocations: 320.2 kB / 0.7966 GB, free: 43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.6942, allocations: 6.438 kB / 0.7966 GB, free: 43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.6942, allocations: 3.25 kB / 0.7966 GB, free: 43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.6943, allocations: 17.34 kB / 0.7966 GB, free: 43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6943, allocations: 0 / 0.7966 GB, free: 43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001243/0.6944, allocations: 48.8 kB / 0.7967 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.6944, allocations: 10.88 kB / 0.7967 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.6944, allocations: 3.375 kB / 0.7967 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.6945, allocations: 5.406 kB / 0.7967 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.6945, allocations: 0 / 0.7967 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.6945, allocations: 1.406 kB / 0.7967 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.6945, allocations: 0 / 0.7967 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.6945, allocations: 3.969 kB / 0.7967 GB, free: 42.96 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.177e-05/0.6946, allocations: 187 kB / 0.7969 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.6947, allocations: 119 kB / 0.797 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.6947, allocations: 108 kB / 0.7971 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.753e-05/0.6947, allocations: 188 kB / 0.7973 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.6947, allocations: 106.5 kB / 0.7974 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.6948, allocations: 184.8 kB / 0.7976 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.6948, allocations: 180.2 kB / 0.7977 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.6949, allocations: 106.1 kB / 0.7978 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.6949, allocations: 179.3 kB / 0.798 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.249e-05/0.695, allocations: 259.2 kB / 0.7983 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001099/0.6951, allocations: 386.9 kB / 0.7986 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.442e-05/0.6951, allocations: 107.4 kB / 0.7987 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.6952, allocations: 105.2 kB / 0.7988 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of Backend: time 6.31e-07/0.6952, allocations: 0 / 0.7988 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001733/0.6969, allocations: 0.5177 MB / 0.7993 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004605/0.6974, allocations: 0.9128 MB / 0.8002 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.01498/0.7124, allocations: 6.327 MB / 0.8064 GB, free: 39.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)