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.001025/0.001025, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001397/0.001397, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.688/1.688, allocations: 252 MB / 0.5102 GB, free: 4.824 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.0005722/0.0005724, allocations: 16 kB / 0.6243 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6213, allocations: 106.3 MB / 0.7282 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001644/0.6229, allocations: 1.144 MB / 0.7293 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004481/0.6274, allocations: 2.707 MB / 0.732 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.6275, allocations: 0 / 0.732 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.6276, allocations: 7.922 kB / 0.732 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.382e-05/0.6276, allocations: 7.922 kB / 0.732 GB, free: 7.527 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.003589/0.6312, allocations: 1.294 MB / 0.7332 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.379e-05/0.6313, allocations: 47.61 kB / 0.7333 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.006e-05/0.6314, allocations: 8 kB / 0.7333 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.6314, allocations: 8 kB / 0.7333 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.15e-05/0.6315, allocations: 15.88 kB / 0.7333 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.6315, allocations: 4 kB / 0.7333 GB, free: 6.172 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.6335, allocations: 1.236 MB / 0.7345 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.6335, allocations: 0 / 0.7345 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.6336, allocations: 33.64 kB / 0.7345 GB, free: 4.895 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009654/0.6345, allocations: 0.7038 MB / 0.7352 GB, free: 4.191 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.6346, allocations: 0 / 0.7352 GB, free: 4.191 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6346, allocations: 4 kB / 0.7352 GB, free: 4.188 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.6346, allocations: 0 / 0.7352 GB, free: 4.188 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.0006554/0.6352, allocations: 0.5027 MB / 0.7357 GB, free: 3.637 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.6353, allocations: 12.03 kB / 0.7357 GB, free: 3.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.6354, allocations: 87.22 kB / 0.7358 GB, free: 3.539 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.6356, allocations: 242.3 kB / 0.7361 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/0.6357, allocations: 154.6 kB / 0.7362 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.596e-05/0.6358, allocations: 154.6 kB / 0.7364 GB, free: 2.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.992e-05/0.6358, allocations: 104.9 kB / 0.7365 GB, free: 2.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.6359, allocations: 75.28 kB / 0.7365 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/0.636, allocations: 154.6 kB / 0.7367 GB, free: 2.621 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.387e-05/0.636, allocations: 150.6 kB / 0.7368 GB, free: 2.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.986e-05/0.6361, allocations: 154.6 kB / 0.737 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.6365, allocations: 469.8 kB / 0.7374 GB, free: 1.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.6366, allocations: 173.1 kB / 0.7376 GB, free: 1.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.6366, allocations: 80.14 kB / 0.7377 GB, free: 1.551 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.6367, allocations: 75.28 kB / 0.7377 GB, free: 1.477 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.6367, allocations: 117.8 kB / 0.7378 GB, free: 1.352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.6367, allocations: 0 / 0.7378 GB, free: 1.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.922e-05/0.6368, allocations: 33.61 kB / 0.7379 GB, free: 1.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.6369, allocations: 126.7 kB / 0.738 GB, free: 1.176 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.6371, allocations: 132 kB / 0.7381 GB, free: 1.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.6371, allocations: 25.7 kB / 0.7381 GB, free: 1.008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.6372, allocations: 92.14 kB / 0.7382 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.6372, allocations: 7.938 kB / 0.7382 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.6372, allocations: 0 / 0.7382 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6373, allocations: 322.7 kB / 0.7385 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.6373, allocations: 8 kB / 0.7386 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.6374, allocations: 4 kB / 0.7386 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.6374, allocations: 4 kB / 0.7386 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6374, allocations: 0 / 0.7386 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001399/0.6376, allocations: 49.59 kB / 0.7386 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6376, allocations: 7.938 kB / 0.7386 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.6376, allocations: 8.062 kB / 0.7386 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.6376, allocations: 0 / 0.7386 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.6376, allocations: 0 / 0.7386 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.6377, allocations: 0 / 0.7386 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.6377, allocations: 4 kB / 0.7386 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.6377, allocations: 0 / 0.7386 GB, free: 0.4922 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.6378, allocations: 186.2 kB / 0.7388 GB, free: 308 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.6379, allocations: 116.8 kB / 0.7389 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.742e-05/0.638, allocations: 116.9 kB / 0.739 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.554e-05/0.6381, allocations: 180.2 kB / 0.7392 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.119e-05/0.6381, allocations: 176.3 kB / 0.7394 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.415e-05/0.6382, allocations: 180.2 kB / 0.7395 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.6385, allocations: 421.1 kB / 0.7399 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-05/0.6385, allocations: 105 kB / 0.74 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/0.6386, allocations: 104.9 kB / 0.7401 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.393e-05/0.6387, allocations: 184.3 kB / 0.7403 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.6387, allocations: 180.2 kB / 0.7405 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.289e-05/0.6388, allocations: 180.2 kB / 0.7407 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.029e-05/0.6389, allocations: 176.3 kB / 0.7408 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.6391, allocations: 315.7 kB / 0.7411 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.6392, allocations: 186 kB / 0.7413 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.415e-05/0.6393, allocations: 184.2 kB / 0.7415 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.6394, allocations: 109 kB / 0.7416 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.6395, allocations: 184.2 kB / 0.7418 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.6395, allocations: 105 kB / 0.7419 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.929e-05/0.6396, allocations: 97.3 kB / 0.742 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.854e-06/0.6396, allocations: 0 / 0.742 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000759/0.6403, allocations: 287.7 kB / 0.7422 GB, free: 12.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/0.6414, allocations: 0.5067 MB / 0.7427 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.6415, allocations: 53.58 kB / 0.7428 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6415, allocations: 0 / 0.7428 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.6415, allocations: 0 / 0.7428 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.642, allocations: 0.5302 MB / 0.7433 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.6423, allocations: 259.6 kB / 0.7435 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.6426, allocations: 0.6848 MB / 0.7442 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.596e-05/0.6426, allocations: 8.031 kB / 0.7442 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-06/0.6426, allocations: 7.438 kB / 0.7442 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.6426, allocations: 4 kB / 0.7442 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.009347/0.652, allocations: 5.512 MB / 0.7496 GB, free: 5.004 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: