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.001195/0.001195, allocations: 110.8 kB / 16.41 MB, free: 6.504 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.0009409/0.0009409, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6544/0.6544, allocations: 115.3 MB / 406.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 66.39 kB / 0.5578 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1182, allocations: 76.17 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002138/0.1204, allocations: 1.412 MB / 0.6335 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.1241, allocations: 2.864 MB / 0.6363 GB, free: 80 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.973e-05/0.1241, allocations: 0 / 0.6363 GB, free: 80 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.1242, allocations: 7.922 kB / 0.6363 GB, free: 72 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.1242, allocations: 7.875 kB / 0.6363 GB, free: 64 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.1273, allocations: 1.568 MB / 0.6379 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.357e-05/0.1274, allocations: 47.67 kB / 0.6379 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.907e-05/0.1274, allocations: 4 kB / 0.6379 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.1275, allocations: 11.94 kB / 0.6379 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.536e-05/0.1275, allocations: 23.91 kB / 0.638 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.425e-06/0.1275, allocations: 0 / 0.638 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.1294, allocations: 1.486 MB / 0.6394 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.1294, allocations: 3.938 kB / 0.6394 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.1294, allocations: 19.88 kB / 0.6394 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.1306, allocations: 1.083 MB / 0.6405 GB, free: 11.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1306, allocations: 0 / 0.6405 GB, free: 11.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1306, allocations: 4 kB / 0.6405 GB, free: 11.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1306, allocations: 4 kB / 0.6405 GB, free: 11.82 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.0004963/0.1311, allocations: 0.5206 MB / 0.641 GB, free: 11.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1312, allocations: 8.031 kB / 0.641 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.1312, allocations: 80.22 kB / 0.6411 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1314, allocations: 245.6 kB / 0.6413 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.1314, allocations: 150.9 kB / 0.6415 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.1315, allocations: 158.9 kB / 0.6416 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.955e-05/0.1315, allocations: 105.1 kB / 0.6417 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.1316, allocations: 87.27 kB / 0.6418 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.1316, allocations: 150.6 kB / 0.6419 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.1317, allocations: 150.6 kB / 0.6421 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.1317, allocations: 150.6 kB / 0.6422 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.132, allocations: 469.8 kB / 0.6427 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.154e-05/0.132, allocations: 169.1 kB / 0.6428 GB, free: 9.262 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.1321, allocations: 80.14 kB / 0.6429 GB, free: 9.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1321, allocations: 75.28 kB / 0.643 GB, free: 9.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.1321, allocations: 117.8 kB / 0.6431 GB, free: 8.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1321, allocations: 0 / 0.6431 GB, free: 8.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.672e-05/0.1322, allocations: 29.64 kB / 0.6431 GB, free: 8.945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1323, allocations: 130.7 kB / 0.6433 GB, free: 8.805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1324, allocations: 133.7 kB / 0.6434 GB, free: 8.664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.1324, allocations: 29.7 kB / 0.6434 GB, free: 8.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.1325, allocations: 92.12 kB / 0.6435 GB, free: 8.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.1325, allocations: 4 kB / 0.6435 GB, free: 8.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.1325, allocations: 13.72 kB / 0.6435 GB, free: 8.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.1326, allocations: 322.8 kB / 0.6438 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.1326, allocations: 7.938 kB / 0.6438 GB, free: 8.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/0.1327, allocations: 0 / 0.6438 GB, free: 8.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.439e-05/0.1327, allocations: 20.8 kB / 0.6438 GB, free: 8.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1327, allocations: 0 / 0.6438 GB, free: 8.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001041/0.1328, allocations: 53.56 kB / 0.6439 GB, free: 8.098 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.1328, allocations: 4.062 kB / 0.6439 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.1329, allocations: 11.98 kB / 0.6439 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.1329, allocations: 0 / 0.6439 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.1329, allocations: 0 / 0.6439 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.1329, allocations: 0 / 0.6439 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.1329, allocations: 11.91 kB / 0.6439 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.1329, allocations: 0 / 0.6439 GB, free: 8.07 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 8.098e-05/0.133, allocations: 181.2 kB / 0.6441 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.1331, allocations: 112.9 kB / 0.6442 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.1331, allocations: 120.8 kB / 0.6443 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.447e-05/0.1332, allocations: 180.3 kB / 0.6445 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.232e-05/0.1332, allocations: 176.3 kB / 0.6447 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.74e-05/0.1333, allocations: 180.2 kB / 0.6448 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.1335, allocations: 413.2 kB / 0.6452 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.572e-05/0.1335, allocations: 112.9 kB / 0.6453 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.1336, allocations: 105 kB / 0.6454 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.292e-05/0.1336, allocations: 180.3 kB / 0.6456 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.1337, allocations: 180.2 kB / 0.6458 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-05/0.1337, allocations: 176.3 kB / 0.6459 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.407e-05/0.1338, allocations: 188.2 kB / 0.6461 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.1339, allocations: 315.7 kB / 0.6464 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.134, allocations: 185.9 kB / 0.6466 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.1341, allocations: 184.2 kB / 0.6468 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.1341, allocations: 108.9 kB / 0.6469 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.1342, allocations: 184.3 kB / 0.6471 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.1342, allocations: 104.9 kB / 0.6472 GB, free: 4.527 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.805e-05/0.1343, allocations: 97.14 kB / 0.6473 GB, free: 4.434 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1343, allocations: 4 kB / 0.6473 GB, free: 4.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006305/0.1349, allocations: 275.8 kB / 0.6475 GB, free: 4.16 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.0008659/0.1358, allocations: 0.5176 MB / 0.648 GB, free: 3.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.603e-05/0.1359, allocations: 41.69 kB / 0.6481 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1359, allocations: 0 / 0.6481 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.1359, allocations: 0 / 0.6481 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.1363, allocations: 464.3 kB / 0.6485 GB, free: 3.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.1365, allocations: 236.1 kB / 0.6487 GB, free: 2.871 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.1368, allocations: 0.6846 MB / 0.6494 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.356e-05/0.1368, allocations: 4 kB / 0.6494 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-06/0.1368, allocations: 7.438 kB / 0.6494 GB, free: 2.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1368, allocations: 0 / 0.6494 GB, free: 2.148 MB / 494.1 MB Notification: Performance of Templates: time 0.008015/0.1448, allocations: 5.458 MB / 0.6547 GB, free: 12.73 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)