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.001249/0.001249, allocations: 116.4 kB / 17.08 MB, free: 6.012 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.00127/0.00127, allocations: 195 kB / 18.02 MB, free: 5.094 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.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7571/0.7571, allocations: 115.3 MB / 407.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.39 kB / 0.5584 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1899, allocations: 76.18 MB / 0.6328 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003107/0.1931, allocations: 1.412 MB / 0.6342 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004421/0.1976, allocations: 2.858 MB / 0.637 GB, free: 204 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.1976, allocations: 0 / 0.637 GB, free: 204 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.1977, allocations: 7.922 kB / 0.637 GB, free: 196 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.1978, allocations: 15.86 kB / 0.637 GB, free: 180 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003912/0.2017, allocations: 1.569 MB / 0.6385 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2018, allocations: 43.72 kB / 0.6386 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.2019, allocations: 4 kB / 0.6386 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.906e-05/0.2019, allocations: 15.88 kB / 0.6386 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.714e-05/0.2019, allocations: 11.92 kB / 0.6386 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.202, allocations: 8 kB / 0.6386 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.2041, allocations: 1.478 MB / 0.6401 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.2041, allocations: 15.91 kB / 0.6401 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.2041, allocations: 15.88 kB / 0.6401 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.2055, allocations: 1.08 MB / 0.6411 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2055, allocations: 0 / 0.6411 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.2055, allocations: 0 / 0.6411 GB, free: 11.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2055, allocations: 0 / 0.6411 GB, free: 11.95 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.0005854/0.2061, allocations: 0.5262 MB / 0.6417 GB, free: 11.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2062, allocations: 12.03 kB / 0.6417 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.2062, allocations: 76.22 kB / 0.6417 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.2064, allocations: 247.6 kB / 0.642 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.2065, allocations: 150.9 kB / 0.6421 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.2065, allocations: 154.9 kB / 0.6423 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.644e-05/0.2066, allocations: 105.1 kB / 0.6424 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.2067, allocations: 79.28 kB / 0.6424 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/0.2067, allocations: 158.4 kB / 0.6426 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/0.2068, allocations: 154.6 kB / 0.6427 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.055e-05/0.2068, allocations: 150.6 kB / 0.6429 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.2071, allocations: 469.8 kB / 0.6433 GB, free: 9.551 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.853e-05/0.2072, allocations: 169.1 kB / 0.6435 GB, free: 9.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.2072, allocations: 84.12 kB / 0.6436 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.2073, allocations: 79.22 kB / 0.6436 GB, free: 9.211 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.2073, allocations: 109.8 kB / 0.6438 GB, free: 9.094 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 3.366e-06/0.2073, allocations: 4 kB / 0.6438 GB, free: 9.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.54e-05/0.2074, allocations: 29.7 kB / 0.6438 GB, free: 9.055 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.2075, allocations: 126.7 kB / 0.6439 GB, free: 8.918 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2076, allocations: 139.4 kB / 0.644 GB, free: 8.773 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2077, allocations: 25.7 kB / 0.6441 GB, free: 8.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.2077, allocations: 88.14 kB / 0.6441 GB, free: 8.652 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.2077, allocations: 0 / 0.6441 GB, free: 8.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.2078, allocations: 21.7 kB / 0.6442 GB, free: 8.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2079, allocations: 318.8 kB / 0.6445 GB, free: 8.305 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.2079, allocations: 4 kB / 0.6445 GB, free: 8.301 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.2079, allocations: 11.92 kB / 0.6445 GB, free: 8.289 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.693e-05/0.208, allocations: 12.86 kB / 0.6445 GB, free: 8.273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.208, allocations: 0 / 0.6445 GB, free: 8.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/0.2081, allocations: 49.58 kB / 0.6445 GB, free: 8.219 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2081, allocations: 4 kB / 0.6446 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.2081, allocations: 7.984 kB / 0.6446 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2082, allocations: 0 / 0.6446 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.51e-07/0.2082, allocations: 0 / 0.6446 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2082, allocations: 4.062 kB / 0.6446 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.2082, allocations: 3.906 kB / 0.6446 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2082, allocations: 0 / 0.6446 GB, free: 8.199 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.0001098/0.2083, allocations: 189.2 kB / 0.6447 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.2084, allocations: 116.9 kB / 0.6449 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.2085, allocations: 112.9 kB / 0.645 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-05/0.2085, allocations: 184.2 kB / 0.6451 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.437e-05/0.2086, allocations: 184.3 kB / 0.6453 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.915e-05/0.2087, allocations: 176.3 kB / 0.6455 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.2089, allocations: 413.2 kB / 0.6459 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-05/0.2089, allocations: 112.9 kB / 0.646 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.209, allocations: 104.9 kB / 0.6461 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.938e-05/0.2091, allocations: 184.3 kB / 0.6463 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.2091, allocations: 176.3 kB / 0.6464 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-05/0.2092, allocations: 184.2 kB / 0.6466 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-05/0.2093, allocations: 176.3 kB / 0.6468 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.2094, allocations: 319.6 kB / 0.6471 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.2095, allocations: 193.9 kB / 0.6473 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/0.2095, allocations: 180.2 kB / 0.6474 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.2096, allocations: 105 kB / 0.6475 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.2097, allocations: 184.2 kB / 0.6477 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.2097, allocations: 101 kB / 0.6478 GB, free: 4.648 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.169e-05/0.2098, allocations: 105 kB / 0.6479 GB, free: 4.547 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2098, allocations: 0 / 0.6479 GB, free: 4.547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007163/0.2105, allocations: 279.8 kB / 0.6482 GB, free: 4.273 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.001035/0.2116, allocations: 0.5059 MB / 0.6487 GB, free: 3.758 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.2117, allocations: 41.64 kB / 0.6487 GB, free: 3.711 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.2117, allocations: 4.062 kB / 0.6487 GB, free: 3.707 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.2117, allocations: 0 / 0.6487 GB, free: 3.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.2121, allocations: 468.3 kB / 0.6492 GB, free: 3.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.2125, allocations: 263.8 kB / 0.6494 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.2128, allocations: 0.6885 MB / 0.6501 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.2128, allocations: 7.438 kB / 0.6501 GB, free: 2.234 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2128, allocations: 0 / 0.6501 GB, free: 2.234 MB / 494.1 MB Notification: Performance of Templates: time 0.00848/0.2213, allocations: 4.63 MB / 0.6546 GB, free: 13.61 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)