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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 178.4 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 100.6 kB / 0.748 GB, free: 60.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 47.92 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3052, allocations: 114.5 MB / 0.9823 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003807/0.309, allocations: 1.488 MB / 0.9837 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005413/0.3145, allocations: 3.06 MB / 0.9867 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.3146, allocations: 0 / 0.9867 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.3147, allocations: 11.92 kB / 0.9867 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.978e-05/0.3148, allocations: 11.92 kB / 0.9867 GB, free: 5.734 MB / 0.7136 GB [/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.004669/0.3194, allocations: 1.43 MB / 0.9881 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.3196, allocations: 39.69 kB / 0.9882 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.566e-05/0.3196, allocations: 7.984 kB / 0.9882 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.3197, allocations: 19.92 kB / 0.9882 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.927e-05/0.3197, allocations: 11.94 kB / 0.9882 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.3197, allocations: 4 kB / 0.9882 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002848/0.3226, allocations: 1.451 MB / 0.9896 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.3226, allocations: 3.938 kB / 0.9896 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.3226, allocations: 15.88 kB / 0.9897 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.3251, allocations: 1.111 MB / 0.9907 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3251, allocations: 0 / 0.9907 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3251, allocations: 0 / 0.9907 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3252, allocations: 0 / 0.9907 GB, free: 1.637 MB / 0.7136 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.0009706/0.3261, allocations: 0.5146 MB / 0.9912 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.3262, allocations: 12.03 kB / 0.9913 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.3263, allocations: 76.22 kB / 0.9913 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3265, allocations: 265.7 kB / 0.9916 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.3265, allocations: 150.9 kB / 0.9917 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.3266, allocations: 158.9 kB / 0.9919 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.706e-05/0.3267, allocations: 105.1 kB / 0.992 GB, free: 284 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.3267, allocations: 79.28 kB / 0.9921 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.3268, allocations: 150.6 kB / 0.9922 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.588e-05/0.3269, allocations: 154.5 kB / 0.9923 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.3269, allocations: 150.6 kB / 0.9925 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.3273, allocations: 461.9 kB / 0.9929 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.265e-05/0.3274, allocations: 169.1 kB / 0.9931 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.3274, allocations: 88.14 kB / 0.9932 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.3275, allocations: 75.28 kB / 0.9932 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.803e-05/0.3275, allocations: 113.7 kB / 0.9934 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 3.116e-06/0.3275, allocations: 3.984 kB / 0.9934 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 0.0001024/0.3277, allocations: 37.69 kB / 0.9934 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.3277, allocations: 126.7 kB / 0.9935 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3279, allocations: 133.7 kB / 0.9936 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.3279, allocations: 25.7 kB / 0.9937 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.328, allocations: 88.14 kB / 0.9938 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-06/0.328, allocations: 3.938 kB / 0.9938 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.328, allocations: 25.64 kB / 0.9938 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3282, allocations: 314.8 kB / 0.9941 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.3282, allocations: 8 kB / 0.9941 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.3282, allocations: 4 kB / 0.9941 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.3283, allocations: 16.78 kB / 0.9941 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3283, allocations: 0 / 0.9941 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001428/0.3284, allocations: 49.55 kB / 0.9942 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3284, allocations: 8 kB / 0.9942 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.3285, allocations: 0 / 0.9942 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3285, allocations: 4 kB / 0.9942 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.3285, allocations: 0 / 0.9942 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3285, allocations: 4.062 kB / 0.9942 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.3285, allocations: 0 / 0.9942 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3286, allocations: 3.984 kB / 0.9942 GB, free: 13.89 MB / 0.7292 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 0.0001097/0.3287, allocations: 185.1 kB / 0.9944 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.3288, allocations: 116.8 kB / 0.9945 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.47e-05/0.3288, allocations: 108.9 kB / 0.9946 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-05/0.3289, allocations: 188.3 kB / 0.9947 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.464e-05/0.329, allocations: 180.2 kB / 0.9949 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.472e-05/0.3291, allocations: 180.3 kB / 0.9951 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.3295, allocations: 413.2 kB / 0.9955 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.803e-05/0.3296, allocations: 108.9 kB / 0.9956 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.3297, allocations: 108.9 kB / 0.9957 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.319e-05/0.3298, allocations: 188.3 kB / 0.9959 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.71e-05/0.3299, allocations: 176.3 kB / 0.996 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.268e-05/0.33, allocations: 188.2 kB / 0.9962 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.093e-05/0.3301, allocations: 176.3 kB / 0.9964 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.3307, allocations: 0.8647 MB / 0.9972 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.3309, allocations: 182 kB / 0.9974 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.331, allocations: 180.3 kB / 0.9976 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3311, allocations: 104.9 kB / 0.9977 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3312, allocations: 180.2 kB / 0.9978 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.3313, allocations: 112.9 kB / 0.998 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.49e-05/0.3314, allocations: 101.5 kB / 0.9981 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.3314, allocations: 0 / 0.9981 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001584/0.333, allocations: 295.6 kB / 0.9983 GB, free: 9.359 MB / 0.7292 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 (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.002415/0.3354, allocations: 0.545 MB / 0.9989 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.3356, allocations: 33.7 kB / 0.9989 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3356, allocations: 0 / 0.9989 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-06/0.3356, allocations: 0 / 0.9989 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006871/0.3363, allocations: 0.5263 MB / 0.9994 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.3369, allocations: 245.9 kB / 0.9996 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.3373, allocations: 0.681 MB / 1 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.3374, allocations: 3.984 kB / 1 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.3374, allocations: 11.44 kB / 1 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of SimCode: time 1.462e-06/0.3374, allocations: 0 / 1 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.01345/0.3508, allocations: 5.602 MB / 1.006 GB, free: 1.691 MB / 0.7292 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)