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.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 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.007207/0.007207, allocations: 100.7 kB / 15.73 MB, free: 6.066 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.001275/0.001275, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.572/1.572, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.607/1.607, allocations: 251.7 MB / 0.5094 GB, free: 2.996 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.001715/0.001714, allocations: 67.91 kB / 0.7259 GB, free: 8.953 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3076, allocations: 104.7 MB / 0.8281 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.004357/0.312, allocations: 1.44 MB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008282/0.3203, allocations: 2.996 MB / 0.8325 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.3204, allocations: 0 / 0.8325 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.139e-05/0.3205, allocations: 7.922 kB / 0.8325 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.3207, allocations: 15.86 kB / 0.8325 GB, free: 11.66 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/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.007717/0.3284, allocations: 1.638 MB / 0.8341 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3286, allocations: 51.72 kB / 0.8341 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.3286, allocations: 3.906 kB / 0.8341 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.3287, allocations: 11.94 kB / 0.8341 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.3288, allocations: 23.86 kB / 0.8342 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3288, allocations: 4 kB / 0.8342 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004309/0.3331, allocations: 1.54 MB / 0.8357 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.3332, allocations: 8 kB / 0.8357 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.3332, allocations: 15.88 kB / 0.8357 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002925/0.3362, allocations: 1.13 MB / 0.8368 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.3362, allocations: 4 kB / 0.8368 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3362, allocations: 0 / 0.8368 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.3363, allocations: 0 / 0.8368 GB, free: 7.242 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.001134/0.3374, allocations: 0.5247 MB / 0.8373 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.3375, allocations: 8.031 kB / 0.8373 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.386e-05/0.3376, allocations: 84.17 kB / 0.8374 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.3379, allocations: 262.2 kB / 0.8376 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.543e-05/0.338, allocations: 158.9 kB / 0.8378 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.3381, allocations: 154.9 kB / 0.8379 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.711e-05/0.3382, allocations: 109.1 kB / 0.8381 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-05/0.3382, allocations: 75.28 kB / 0.8381 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.3383, allocations: 154.6 kB / 0.8383 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.368e-05/0.3384, allocations: 150.6 kB / 0.8384 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.3385, allocations: 154.6 kB / 0.8386 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.339, allocations: 469.8 kB / 0.839 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.3391, allocations: 169.1 kB / 0.8392 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.3392, allocations: 84.12 kB / 0.8393 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.3392, allocations: 79.28 kB / 0.8393 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.048e-05/0.3394, allocations: 117.8 kB / 0.8394 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.824e-06/0.3394, allocations: 0 / 0.8394 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001187/0.3395, allocations: 29.64 kB / 0.8395 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.3396, allocations: 126.7 kB / 0.8396 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.3398, allocations: 137.8 kB / 0.8397 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3399, allocations: 25.7 kB / 0.8397 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.3399, allocations: 92.14 kB / 0.8398 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.34, allocations: 3.938 kB / 0.8398 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/0.34, allocations: 21.7 kB / 0.8399 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.3402, allocations: 314.8 kB / 0.8402 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.3403, allocations: 4 kB / 0.8402 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.248e-05/0.3403, allocations: 7.984 kB / 0.8402 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.486e-05/0.3404, allocations: 16.86 kB / 0.8402 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3404, allocations: 0 / 0.8402 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002061/0.3406, allocations: 57.56 kB / 0.8402 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.3407, allocations: 11.94 kB / 0.8403 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.3407, allocations: 0 / 0.8403 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3407, allocations: 4 kB / 0.8403 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-06/0.3408, allocations: 3.984 kB / 0.8403 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3408, allocations: 0 / 0.8403 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.3408, allocations: 0 / 0.8403 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3409, allocations: 0 / 0.8403 GB, free: 3.461 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.0001669/0.341, allocations: 194.6 kB / 0.8404 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3412, allocations: 116.9 kB / 0.8406 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/0.3412, allocations: 108.8 kB / 0.8407 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-05/0.3414, allocations: 180.2 kB / 0.8408 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001122/0.3415, allocations: 184.2 kB / 0.841 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.213e-05/0.3416, allocations: 180.3 kB / 0.8412 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.342, allocations: 413.2 kB / 0.8416 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-05/0.342, allocations: 116.9 kB / 0.8417 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.3421, allocations: 101 kB / 0.8418 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.976e-05/0.3422, allocations: 180.2 kB / 0.842 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.3423, allocations: 188.3 kB / 0.8421 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001071/0.3424, allocations: 176.3 kB / 0.8423 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-05/0.3425, allocations: 184.2 kB / 0.8425 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.3428, allocations: 311.7 kB / 0.8428 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3429, allocations: 186 kB / 0.843 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.343, allocations: 176.3 kB / 0.8431 GB, free: 328 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.3432, allocations: 112.9 kB / 0.8432 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3433, allocations: 180.3 kB / 0.8434 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/0.3434, allocations: 104.9 kB / 0.8435 GB, free: 15.91 MB / 0.67 GB Notification: Performance of sorting global known variables: time 9.58e-05/0.3435, allocations: 101.8 kB / 0.8436 GB, free: 15.81 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3435, allocations: 0 / 0.8436 GB, free: 15.81 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001252/0.3448, allocations: 287 kB / 0.8439 GB, free: 15.53 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.002078/0.3469, allocations: 0.5627 MB / 0.8444 GB, free: 14.96 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.347, allocations: 45.69 kB / 0.8445 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.347, allocations: 0 / 0.8445 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-06/0.347, allocations: 352 / 0.8445 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006687/0.3477, allocations: 471 kB / 0.8449 GB, free: 14.45 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.3483, allocations: 240 kB / 0.8451 GB, free: 14.19 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.3487, allocations: 0.6844 MB / 0.8458 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.3487, allocations: 4 kB / 0.8458 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.3487, allocations: 11.44 kB / 0.8458 GB, free: 13.46 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.3487, allocations: 0 / 0.8458 GB, free: 13.46 MB / 0.67 GB Notification: Performance of Templates: time 0.01353/0.3623, allocations: 5.728 MB / 0.8514 GB, free: 7.785 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)