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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 109.7 kB / 16.38 MB, free: 6.008 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.001282/0.001282, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.492/1.492, 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.872/1.872, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001696/0.001696, allocations: 64.12 kB / 0.673 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2131, allocations: 114.5 MB / 0.7849 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002726/0.2159, allocations: 1.453 MB / 0.7863 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.41/0.6259, allocations: 2.969 MB / 0.7892 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.763e-05/0.6261, allocations: 0 / 0.7892 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.952e-05/0.6262, allocations: 6.875 kB / 0.7892 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.366e-05/0.6263, allocations: 17.16 kB / 0.7892 GB, free: 46.57 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.004138/0.6305, allocations: 1.643 MB / 0.7908 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.863e-05/0.6306, allocations: 45.86 kB / 0.7908 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.6306, allocations: 6.484 kB / 0.7908 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.6307, allocations: 16.12 kB / 0.7909 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.336e-05/0.6307, allocations: 17.64 kB / 0.7909 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.6307, allocations: 6.562 kB / 0.7909 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.6331, allocations: 1.55 MB / 0.7924 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.6331, allocations: 4.75 kB / 0.7924 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.6332, allocations: 18.53 kB / 0.7924 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.635, allocations: 1.118 MB / 0.7935 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.635, allocations: 3.719 kB / 0.7935 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.879e-06/0.635, allocations: 0.5938 kB / 0.7935 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.6351, allocations: 3.938 kB / 0.7935 GB, free: 46.41 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.0006101/0.6357, allocations: 0.5189 MB / 0.794 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6357, allocations: 7.938 kB / 0.794 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.6358, allocations: 79.72 kB / 0.7941 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.6359, allocations: 251.5 kB / 0.7944 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.636, allocations: 157.1 kB / 0.7945 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.636, allocations: 150.9 kB / 0.7946 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.064e-05/0.6361, allocations: 116.4 kB / 0.7948 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.6361, allocations: 77.72 kB / 0.7948 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.6362, allocations: 155.1 kB / 0.795 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.6362, allocations: 150.6 kB / 0.7951 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.031e-05/0.6363, allocations: 154 kB / 0.7953 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.6365, allocations: 464.5 kB / 0.7957 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.345e-05/0.6366, allocations: 168.9 kB / 0.7959 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.6366, allocations: 81.92 kB / 0.7959 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.6366, allocations: 75.28 kB / 0.796 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.6367, allocations: 119.7 kB / 0.7961 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6367, allocations: 0 / 0.7961 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.729e-05/0.6368, allocations: 38.33 kB / 0.7962 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.6368, allocations: 51.41 kB / 0.7962 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.6369, allocations: 129.1 kB / 0.7963 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.637, allocations: 25.7 kB / 0.7964 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.637, allocations: 93.45 kB / 0.7965 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.637, allocations: 3.938 kB / 0.7965 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.6371, allocations: 16.56 kB / 0.7965 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.6371, allocations: 317.7 kB / 0.7968 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.6372, allocations: 6.375 kB / 0.7968 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.6372, allocations: 7.844 kB / 0.7968 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.6372, allocations: 21.8 kB / 0.7968 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6372, allocations: 0 / 0.7968 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001185/0.6374, allocations: 47.77 kB / 0.7969 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6374, allocations: 10.72 kB / 0.7969 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.6374, allocations: 1.031 kB / 0.7969 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.6375, allocations: 4.875 kB / 0.7969 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.6375, allocations: 3.641 kB / 0.7969 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6375, allocations: 1.797 kB / 0.7969 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.6375, allocations: 8 kB / 0.7969 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.6375, allocations: 3.688 kB / 0.7969 GB, free: 43.04 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.987e-05/0.6376, allocations: 189 kB / 0.7971 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.6377, allocations: 116.4 kB / 0.7972 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.6377, allocations: 114.6 kB / 0.7973 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-05/0.6377, allocations: 180.2 kB / 0.7975 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/0.6378, allocations: 106.3 kB / 0.7976 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.6378, allocations: 193.4 kB / 0.7978 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.6379, allocations: 181.8 kB / 0.7979 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.638, allocations: 102 kB / 0.798 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.638, allocations: 177.6 kB / 0.7982 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.445e-05/0.6381, allocations: 269.9 kB / 0.7984 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001008/0.6382, allocations: 382 kB / 0.7988 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.979e-05/0.6382, allocations: 102.8 kB / 0.7989 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.6383, allocations: 101 kB / 0.799 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of Backend: time 3.41e-07/0.6383, allocations: 0 / 0.799 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.6398, allocations: 0.5426 MB / 0.7995 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005366/0.6404, allocations: 0.9086 MB / 0.8004 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.01493/0.6553, allocations: 6.492 MB / 0.8068 GB, free: 39.36 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)