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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.00129, allocations: 115.5 kB / 17.05 MB, free: 6.039 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.001191/0.001191, allocations: 191 kB / 17.99 MB, free: 5.121 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.226/1.226, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6882/0.6882, allocations: 115.3 MB / 407.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 62.95 kB / 0.5583 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1428, allocations: 76.17 MB / 0.6327 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002181/0.145, allocations: 1.356 MB / 0.634 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.1476, allocations: 1.798 MB / 0.6358 GB, free: 1.273 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.1476, allocations: 0 / 0.6358 GB, free: 1.273 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.054e-05/0.1477, allocations: 15.92 kB / 0.6358 GB, free: 1.258 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.1479, allocations: 23.89 kB / 0.6358 GB, free: 1.234 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.1502, allocations: 1.14 MB / 0.6369 GB, free: 108 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.825e-05/0.1503, allocations: 51.77 kB / 0.637 GB, free: 56 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.1504, allocations: 8 kB / 0.637 GB, free: 48 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.1504, allocations: 27.86 kB / 0.637 GB, free: 20 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.1505, allocations: 35.97 kB / 0.637 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1506, allocations: 0 / 0.637 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.1516, allocations: 0.889 MB / 0.6379 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.1517, allocations: 59.81 kB / 0.638 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.1518, allocations: 75.36 kB / 0.638 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000877/0.1527, allocations: 0.8768 MB / 0.6389 GB, free: 14.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1527, allocations: 0 / 0.6389 GB, free: 14.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1527, allocations: 0 / 0.6389 GB, free: 14.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.1527, allocations: 0 / 0.6389 GB, free: 14.08 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006166/0.1533, allocations: 0.5839 MB / 0.6395 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1534, allocations: 15.98 kB / 0.6395 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.1534, allocations: 24.64 kB / 0.6395 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.1536, allocations: 222.8 kB / 0.6397 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-06/0.1536, allocations: 384 / 0.6397 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1536, allocations: 8.312 kB / 0.6397 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1538, allocations: 113.8 kB / 0.6398 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1538, allocations: 0 / 0.6398 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1538, allocations: 0 / 0.6398 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1538, allocations: 3.984 kB / 0.6398 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.865e-05/0.1539, allocations: 75.97 kB / 0.6399 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.1541, allocations: 277.9 kB / 0.6402 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1543, allocations: 118.5 kB / 0.6403 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.1544, allocations: 116.8 kB / 0.6404 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1544, allocations: 7.875 kB / 0.6404 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.1544, allocations: 34.56 kB / 0.6404 GB, free: 12.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.112e-06/0.1544, allocations: 0 / 0.6404 GB, free: 12.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003611/0.1548, allocations: 330.6 kB / 0.6407 GB, free: 12.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.1548, allocations: 51.41 kB / 0.6408 GB, free: 11.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.155, allocations: 253 kB / 0.641 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.1551, allocations: 25.73 kB / 0.6411 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.1551, allocations: 136.7 kB / 0.6412 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.1552, allocations: 98.47 kB / 0.6413 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.1553, allocations: 29.7 kB / 0.6413 GB, free: 11.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1554, allocations: 338.8 kB / 0.6416 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.1555, allocations: 79.91 kB / 0.6417 GB, free: 10.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.1555, allocations: 79.95 kB / 0.6418 GB, free: 10.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1557, allocations: 196.8 kB / 0.642 GB, free: 10.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1557, allocations: 0 / 0.642 GB, free: 10.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002018/0.1559, allocations: 233.5 kB / 0.6422 GB, free: 10.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1559, allocations: 7.938 kB / 0.6422 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.1559, allocations: 0 / 0.6422 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.156, allocations: 0 / 0.6422 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.156, allocations: 0 / 0.6422 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.156, allocations: 4 kB / 0.6422 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.156, allocations: 7.844 kB / 0.6422 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.156, allocations: 3.984 kB / 0.6422 GB, free: 10.44 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.0001125/0.1561, allocations: 165.7 kB / 0.6424 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.1562, allocations: 31.59 kB / 0.6424 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.1564, allocations: 254.1 kB / 0.6426 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1565, allocations: 0 / 0.6426 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1565, allocations: 0 / 0.6426 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1565, allocations: 0 / 0.6426 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.1567, allocations: 281.9 kB / 0.6429 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1567, allocations: 3.938 kB / 0.6429 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1567, allocations: 0 / 0.6429 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1567, allocations: 0 / 0.6429 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.1567, allocations: 4 kB / 0.6429 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1567, allocations: 4.031 kB / 0.6429 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1567, allocations: 0 / 0.6429 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.1569, allocations: 260.6 kB / 0.6432 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.157, allocations: 104.7 kB / 0.6433 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.157, allocations: 0 / 0.6433 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.411e-05/0.1571, allocations: 0 / 0.6433 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.1571, allocations: 4 kB / 0.6433 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.1571, allocations: 0 / 0.6433 GB, free: 9.242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1572, allocations: 200.4 kB / 0.6435 GB, free: 9.043 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1572, allocations: 0 / 0.6435 GB, free: 9.043 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005326/0.1578, allocations: 203.9 kB / 0.6437 GB, free: 8.844 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 (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 Backend phase and start with SimCode phase: time 0.000669/0.1585, allocations: 334.9 kB / 0.644 GB, free: 8.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.1587, allocations: 265.6 kB / 0.6442 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1587, allocations: 0 / 0.6442 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.1589, allocations: 185.6 kB / 0.6444 GB, free: 8.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.1591, allocations: 21.33 kB / 0.6444 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.1598, allocations: 0.5271 MB / 0.645 GB, free: 7.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1601, allocations: 0.7711 MB / 0.6457 GB, free: 6.672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.1601, allocations: 7.438 kB / 0.6457 GB, free: 6.664 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1601, allocations: 0 / 0.6457 GB, free: 6.664 MB / 494.1 MB Notification: Performance of Templates: time 0.006925/0.167, allocations: 4.684 MB / 0.6503 GB, free: 1.984 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)