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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009329/0.000933, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007196/0.007197, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.596/1.596, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.589/1.589, allocations: 252 MB / 0.5105 GB, free: 4.691 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.0005437/0.0005439, allocations: 20 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5323, allocations: 106.3 MB / 0.7288 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001973/0.5343, allocations: 1.161 MB / 0.7299 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005617/0.54, allocations: 2.99 MB / 0.7328 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.5401, allocations: 0 / 0.7328 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.5401, allocations: 3.984 kB / 0.7328 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.5403, allocations: 11.86 kB / 0.7329 GB, free: 7.078 MB / 0.545 GB [/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.005505/0.5458, allocations: 1.427 MB / 0.7342 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.671e-05/0.5459, allocations: 43.73 kB / 0.7343 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.279e-05/0.5459, allocations: 3.938 kB / 0.7343 GB, free: 5.629 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.546, allocations: 19.92 kB / 0.7343 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.052e-05/0.546, allocations: 11.94 kB / 0.7343 GB, free: 5.598 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.546, allocations: 0 / 0.7343 GB, free: 5.598 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.5489, allocations: 1.443 MB / 0.7357 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.549, allocations: 11.94 kB / 0.7357 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.549, allocations: 41.58 kB / 0.7358 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.5509, allocations: 1.113 MB / 0.7369 GB, free: 2.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5509, allocations: 0 / 0.7369 GB, free: 2.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.551, allocations: 0 / 0.7369 GB, free: 2.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.551, allocations: 0 / 0.7369 GB, free: 2.98 MB / 0.545 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.0005534/0.5515, allocations: 0.5068 MB / 0.7374 GB, free: 2.426 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5516, allocations: 8.031 kB / 0.7374 GB, free: 2.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.5516, allocations: 80.22 kB / 0.7374 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.5518, allocations: 253.6 kB / 0.7377 GB, free: 2.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.5519, allocations: 150.9 kB / 0.7378 GB, free: 1.906 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.879e-05/0.552, allocations: 154.9 kB / 0.738 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.4e-05/0.5521, allocations: 109.1 kB / 0.7381 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.5521, allocations: 75.28 kB / 0.7382 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.5522, allocations: 150.6 kB / 0.7383 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-05/0.5523, allocations: 154.6 kB / 0.7384 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.541e-05/0.5524, allocations: 158.5 kB / 0.7386 GB, free: 1.109 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.5527, allocations: 461.8 kB / 0.739 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.5528, allocations: 181.1 kB / 0.7392 GB, free: 432 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.5529, allocations: 84.14 kB / 0.7393 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.5529, allocations: 75.28 kB / 0.7394 GB, free: 268 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.553, allocations: 109.8 kB / 0.7395 GB, free: 148 kB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.553, allocations: 0 / 0.7395 GB, free: 148 kB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.655e-05/0.5531, allocations: 33.64 kB / 0.7395 GB, free: 108 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.5532, allocations: 126.7 kB / 0.7396 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.5534, allocations: 137.7 kB / 0.7398 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.5534, allocations: 29.64 kB / 0.7398 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.5535, allocations: 96.16 kB / 0.7399 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.5535, allocations: 0 / 0.7399 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.5536, allocations: 13.72 kB / 0.7399 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5537, allocations: 318.8 kB / 0.7402 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.5537, allocations: 0 / 0.7402 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.5538, allocations: 11.98 kB / 0.7402 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.5538, allocations: 16.89 kB / 0.7402 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5538, allocations: 0 / 0.7402 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001592/0.554, allocations: 49.58 kB / 0.7403 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.554, allocations: 4 kB / 0.7403 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.554, allocations: 4 kB / 0.7403 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.5541, allocations: 3.984 kB / 0.7403 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-06/0.5541, allocations: 0 / 0.7403 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.5541, allocations: 0 / 0.7403 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.5541, allocations: 7.906 kB / 0.7403 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.5541, allocations: 0 / 0.7403 GB, free: 15.25 MB / 0.5606 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.0001423/0.5543, allocations: 186 kB / 0.7405 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.5544, allocations: 112.9 kB / 0.7406 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.691e-05/0.5544, allocations: 120.8 kB / 0.7407 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.946e-05/0.5545, allocations: 176.3 kB / 0.7409 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-05/0.5546, allocations: 180.2 kB / 0.741 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.38e-05/0.5547, allocations: 180.3 kB / 0.7412 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.555, allocations: 413.2 kB / 0.7416 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.691e-05/0.555, allocations: 112.8 kB / 0.7417 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.5551, allocations: 101 kB / 0.7418 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.929e-05/0.5552, allocations: 184.2 kB / 0.742 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.5553, allocations: 180.3 kB / 0.7421 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.682e-05/0.5554, allocations: 180.3 kB / 0.7423 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.053e-05/0.5554, allocations: 184.4 kB / 0.7425 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.5556, allocations: 315.7 kB / 0.7428 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.5558, allocations: 185.9 kB / 0.743 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5559, allocations: 188.3 kB / 0.7431 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.556, allocations: 112.9 kB / 0.7433 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.5561, allocations: 176.3 kB / 0.7434 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.5562, allocations: 104.9 kB / 0.7435 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.287e-05/0.5563, allocations: 100.9 kB / 0.7436 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5563, allocations: 0 / 0.7436 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008184/0.5571, allocations: 287.8 kB / 0.7439 GB, free: 11.32 MB / 0.5606 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.001543/0.5586, allocations: 0.5385 MB / 0.7444 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.5588, allocations: 37.7 kB / 0.7445 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5588, allocations: 0 / 0.7445 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.5588, allocations: 0 / 0.7445 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.5594, allocations: 0.5373 MB / 0.745 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.5599, allocations: 263.6 kB / 0.7452 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.5602, allocations: 0.6809 MB / 0.7459 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.5603, allocations: 0 / 0.7459 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.5603, allocations: 15.38 kB / 0.7459 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5603, allocations: 0 / 0.7459 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of Templates: time 0.012/0.5723, allocations: 5.564 MB / 0.7513 GB, free: 3.676 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) Environment - environmentSimulation: