Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.006074/0.006074, allocations: 102 kB / 15.73 MB, free: 6.488 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.001505/0.001505, allocations: 194.6 kB / 16.68 MB, free: 6.375 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.536/1.536, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.596/1.596, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.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.001729/0.001729, allocations: 71.91 kB / 0.7259 GB, free: 9.082 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2821, allocations: 104.7 MB / 0.8281 GB, free: 284 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002773/0.2849, allocations: 1.429 MB / 0.8295 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004484/0.2895, allocations: 2.954 MB / 0.8324 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.2895, allocations: 0 / 0.8324 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.2896, allocations: 3.938 kB / 0.8324 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.296e-05/0.2897, allocations: 15.86 kB / 0.8324 GB, free: 11.85 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 7.0.3-maint.7.0.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.004549/0.2942, allocations: 1.62 MB / 0.834 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2944, allocations: 47.67 kB / 0.834 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.2944, allocations: 0 / 0.834 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.2945, allocations: 15.92 kB / 0.8341 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.872e-05/0.2945, allocations: 11.94 kB / 0.8341 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2945, allocations: 0 / 0.8341 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.2967, allocations: 1.502 MB / 0.8355 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.2967, allocations: 7.938 kB / 0.8355 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.2968, allocations: 19.86 kB / 0.8356 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.2982, allocations: 1.088 MB / 0.8366 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2982, allocations: 4 kB / 0.8366 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.865e-06/0.2982, allocations: 4 kB / 0.8366 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2982, allocations: 0 / 0.8366 GB, free: 7.543 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.0006458/0.2989, allocations: 0.5146 MB / 0.8371 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2989, allocations: 8.031 kB / 0.8371 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.299, allocations: 88.06 kB / 0.8372 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.2992, allocations: 250.4 kB / 0.8375 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.2992, allocations: 154.9 kB / 0.8376 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.2993, allocations: 154.9 kB / 0.8378 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.4e-05/0.2994, allocations: 113 kB / 0.8379 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.2994, allocations: 75.28 kB / 0.8379 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-05/0.2995, allocations: 158.5 kB / 0.8381 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.2995, allocations: 150.6 kB / 0.8382 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.768e-05/0.2996, allocations: 154.6 kB / 0.8384 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.2999, allocations: 461.9 kB / 0.8388 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.3, allocations: 169.1 kB / 0.839 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.3, allocations: 80.14 kB / 0.8391 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3, allocations: 79.28 kB / 0.8391 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.3001, allocations: 117.8 kB / 0.8393 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.895e-06/0.3001, allocations: 0 / 0.8393 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.759e-05/0.3002, allocations: 33.55 kB / 0.8393 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3002, allocations: 126.7 kB / 0.8394 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.3004, allocations: 133.8 kB / 0.8395 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3004, allocations: 25.7 kB / 0.8396 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.3005, allocations: 100.1 kB / 0.8397 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.3005, allocations: 0 / 0.8397 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.3005, allocations: 17.72 kB / 0.8397 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.3006, allocations: 314.8 kB / 0.84 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.3006, allocations: 7.984 kB / 0.84 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.618e-05/0.3007, allocations: 4 kB / 0.84 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.3007, allocations: 12.86 kB / 0.84 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3007, allocations: 0 / 0.84 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001372/0.3009, allocations: 57.56 kB / 0.84 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3009, allocations: 8 kB / 0.8401 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.3009, allocations: 0 / 0.8401 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3009, allocations: 0 / 0.8401 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/0.3009, allocations: 0 / 0.8401 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.301, allocations: 7.938 kB / 0.8401 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.301, allocations: 0 / 0.8401 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.301, allocations: 0 / 0.8401 GB, free: 3.797 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 0.0001041/0.3011, allocations: 185.1 kB / 0.8402 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.3012, allocations: 112.9 kB / 0.8403 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.742e-05/0.3012, allocations: 116.8 kB / 0.8405 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.06e-05/0.3013, allocations: 180.2 kB / 0.8406 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-05/0.3014, allocations: 176.3 kB / 0.8408 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.985e-05/0.3014, allocations: 184.2 kB / 0.841 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.3017, allocations: 421.2 kB / 0.8414 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.69e-05/0.3017, allocations: 108.9 kB / 0.8415 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.3018, allocations: 108.9 kB / 0.8416 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.576e-05/0.3019, allocations: 176.3 kB / 0.8418 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-05/0.3019, allocations: 184.2 kB / 0.8419 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-05/0.302, allocations: 180.3 kB / 0.8421 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.135e-05/0.3021, allocations: 192.2 kB / 0.8423 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.3023, allocations: 303.7 kB / 0.8426 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.3024, allocations: 186 kB / 0.8428 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/0.3025, allocations: 184.2 kB / 0.8429 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.3026, allocations: 116.9 kB / 0.843 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.3026, allocations: 176.3 kB / 0.8432 GB, free: 360 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.3027, allocations: 101 kB / 0.8433 GB, free: 252 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.3027, allocations: 101.9 kB / 0.8434 GB, free: 152 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3027, allocations: 0 / 0.8434 GB, free: 152 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008053/0.3036, allocations: 279.9 kB / 0.8437 GB, free: 15.87 MB / 0.67 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.001182/0.3047, allocations: 0.534 MB / 0.8442 GB, free: 15.34 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.3049, allocations: 33.7 kB / 0.8442 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3049, allocations: 3.938 kB / 0.8442 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-06/0.3049, allocations: 8 kB / 0.8442 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3053, allocations: 471.6 kB / 0.8447 GB, free: 14.82 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.3057, allocations: 240.2 kB / 0.8449 GB, free: 14.56 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.306, allocations: 0.6846 MB / 0.8456 GB, free: 13.85 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 1.336e-05/0.306, allocations: 0 / 0.8456 GB, free: 13.85 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.3061, allocations: 11.44 kB / 0.8456 GB, free: 13.84 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.3061, allocations: 4 kB / 0.8456 GB, free: 13.84 MB / 0.67 GB Notification: Performance of Templates: time 0.009571/0.3156, allocations: 5.565 MB / 0.851 GB, free: 8.32 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)