Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001311/0.001311, allocations: 106.6 kB / 17.07 MB, free: 5.82 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.001383/0.001383, allocations: 200.1 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7152/0.7152, allocations: 115.3 MB / 407.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 62.03 kB / 0.5584 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1619, allocations: 76.19 MB / 0.6328 GB, free: 4.262 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002507/0.1644, allocations: 1.403 MB / 0.6342 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.1688, allocations: 2.852 MB / 0.637 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.1689, allocations: 0 / 0.637 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.1689, allocations: 3.938 kB / 0.637 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.127e-05/0.169, allocations: 19.84 kB / 0.637 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003589/0.1726, allocations: 1.569 MB / 0.6385 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.451e-05/0.1727, allocations: 43.73 kB / 0.6386 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.1727, allocations: 11.98 kB / 0.6386 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.632e-05/0.1728, allocations: 7.938 kB / 0.6386 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.845e-05/0.1728, allocations: 11.94 kB / 0.6386 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1728, allocations: 4 kB / 0.6386 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.1749, allocations: 1.49 MB / 0.6401 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.175, allocations: 7.938 kB / 0.6401 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.175, allocations: 15.88 kB / 0.6401 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.1764, allocations: 1.08 MB / 0.6411 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1764, allocations: 3.938 kB / 0.6411 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1764, allocations: 0 / 0.6411 GB, free: 11.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1764, allocations: 4 kB / 0.6411 GB, free: 11.71 MB / 494.1 MB 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.0006383/0.1771, allocations: 0.5223 MB / 0.6417 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1771, allocations: 12.03 kB / 0.6417 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.1772, allocations: 76.22 kB / 0.6417 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.1774, allocations: 247.6 kB / 0.642 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/0.1774, allocations: 150.9 kB / 0.6421 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.1775, allocations: 158.9 kB / 0.6423 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.579e-05/0.1776, allocations: 105.1 kB / 0.6424 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.1776, allocations: 75.28 kB / 0.6424 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/0.1777, allocations: 150.6 kB / 0.6426 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.1777, allocations: 150.6 kB / 0.6427 GB, free: 9.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.009e-05/0.1778, allocations: 162.4 kB / 0.6429 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.1781, allocations: 465.8 kB / 0.6433 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.284e-05/0.1782, allocations: 169.1 kB / 0.6435 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.1783, allocations: 84.14 kB / 0.6436 GB, free: 9.066 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.1783, allocations: 75.28 kB / 0.6436 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/0.1784, allocations: 121.7 kB / 0.6438 GB, free: 8.863 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1784, allocations: 0 / 0.6438 GB, free: 8.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.497e-05/0.1785, allocations: 33.69 kB / 0.6438 GB, free: 8.824 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.1785, allocations: 126.7 kB / 0.6439 GB, free: 8.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1787, allocations: 139.2 kB / 0.644 GB, free: 8.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1787, allocations: 25.7 kB / 0.6441 GB, free: 8.512 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.1788, allocations: 88.14 kB / 0.6441 GB, free: 8.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.1788, allocations: 4 kB / 0.6442 GB, free: 8.418 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.1788, allocations: 17.72 kB / 0.6442 GB, free: 8.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.179, allocations: 318.8 kB / 0.6445 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.527e-05/0.179, allocations: 4 kB / 0.6445 GB, free: 8.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.179, allocations: 4 kB / 0.6445 GB, free: 8.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.469e-05/0.1791, allocations: 16.8 kB / 0.6445 GB, free: 8.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1791, allocations: 0 / 0.6445 GB, free: 8.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001453/0.1792, allocations: 45.67 kB / 0.6445 GB, free: 7.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1792, allocations: 14.75 kB / 0.6446 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.1793, allocations: 8.047 kB / 0.6446 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1793, allocations: 4 kB / 0.6446 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.432e-06/0.1793, allocations: 0 / 0.6446 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1793, allocations: 0 / 0.6446 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.1793, allocations: 3.906 kB / 0.6446 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1793, allocations: 0 / 0.6446 GB, free: 7.969 MB / 494.1 MB 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.0001145/0.1795, allocations: 193.2 kB / 0.6448 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.1795, allocations: 112.9 kB / 0.6449 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.1796, allocations: 112.9 kB / 0.645 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.135e-05/0.1797, allocations: 180.2 kB / 0.6451 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.509e-05/0.1797, allocations: 184.2 kB / 0.6453 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.286e-05/0.1798, allocations: 180.3 kB / 0.6455 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.18, allocations: 409.2 kB / 0.6459 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.754e-05/0.1801, allocations: 112.9 kB / 0.646 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.1801, allocations: 104.9 kB / 0.6461 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-05/0.1802, allocations: 180.2 kB / 0.6463 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.1802, allocations: 180.3 kB / 0.6464 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.224e-05/0.1803, allocations: 184.2 kB / 0.6466 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.89e-05/0.1804, allocations: 176.3 kB / 0.6468 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.1805, allocations: 315.7 kB / 0.6471 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.1806, allocations: 189.9 kB / 0.6473 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.1807, allocations: 184.1 kB / 0.6474 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.1807, allocations: 105 kB / 0.6475 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.1808, allocations: 188.2 kB / 0.6477 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.1809, allocations: 105 kB / 0.6478 GB, free: 4.418 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.1809, allocations: 99.27 kB / 0.6479 GB, free: 4.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1809, allocations: 0 / 0.6479 GB, free: 4.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000622/0.1816, allocations: 279.8 kB / 0.6482 GB, free: 4.047 MB / 494.1 MB 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.0009453/0.1825, allocations: 0.5165 MB / 0.6487 GB, free: 3.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.867e-05/0.1826, allocations: 37.7 kB / 0.6487 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1826, allocations: 3.938 kB / 0.6487 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1826, allocations: 0 / 0.6487 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.183, allocations: 468.3 kB / 0.6492 GB, free: 3.016 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.1833, allocations: 265.9 kB / 0.6494 GB, free: 2.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.1835, allocations: 0.6845 MB / 0.6501 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.07e-05/0.1835, allocations: 11.44 kB / 0.6501 GB, free: 2 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1836, allocations: 0 / 0.6501 GB, free: 2 MB / 494.1 MB Notification: Performance of Templates: time 0.006694/0.1903, allocations: 4.638 MB / 0.6546 GB, free: 13.36 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)