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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 104.4 kB / 16.4 MB, free: 6.461 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.001309/0.001309, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.256/1.256, 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.6856/0.6856, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 67.03 kB / 0.5578 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1227, 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.InternalResistancesOneUTubeNegative): time 0.002183/0.1249, allocations: 1.418 MB / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.1286, allocations: 2.86 MB / 0.6363 GB, free: 76 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.1286, allocations: 0 / 0.6363 GB, free: 76 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.1287, allocations: 7.922 kB / 0.6363 GB, free: 68 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.1287, allocations: 11.86 kB / 0.6363 GB, free: 56 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.1319, allocations: 1.565 MB / 0.6379 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.903e-05/0.132, allocations: 39.73 kB / 0.6379 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.132, allocations: 4 kB / 0.6379 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.132, allocations: 15.94 kB / 0.6379 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.53e-05/0.1321, allocations: 23.86 kB / 0.638 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.1321, allocations: 0 / 0.638 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.1339, allocations: 1.486 MB / 0.6394 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.1339, allocations: 7.922 kB / 0.6394 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.1339, allocations: 15.88 kB / 0.6394 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.1351, allocations: 1.08 MB / 0.6405 GB, free: 11.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1351, allocations: 0 / 0.6405 GB, free: 11.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1351, allocations: 0 / 0.6405 GB, free: 11.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1351, allocations: 0 / 0.6405 GB, free: 11.83 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.0005081/0.1357, allocations: 0.5284 MB / 0.641 GB, free: 11.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1357, allocations: 8.031 kB / 0.641 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.1358, allocations: 84.2 kB / 0.6411 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1359, allocations: 247.6 kB / 0.6413 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.1359, allocations: 150.9 kB / 0.6415 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.136, allocations: 150.9 kB / 0.6416 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.079e-05/0.1361, allocations: 113.1 kB / 0.6417 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.1361, allocations: 75.28 kB / 0.6418 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.1361, allocations: 150.6 kB / 0.6419 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.1362, allocations: 158.5 kB / 0.6421 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.219e-05/0.1362, allocations: 150.6 kB / 0.6422 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.1365, allocations: 469.8 kB / 0.6427 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.095e-05/0.1366, allocations: 165.1 kB / 0.6428 GB, free: 9.262 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.1366, allocations: 84.14 kB / 0.6429 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1367, allocations: 79.22 kB / 0.643 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.1367, allocations: 117.8 kB / 0.6431 GB, free: 8.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1367, allocations: 0 / 0.6431 GB, free: 8.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.184e-05/0.1368, allocations: 29.7 kB / 0.6431 GB, free: 8.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.1369, allocations: 126.7 kB / 0.6432 GB, free: 8.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.137, allocations: 139.4 kB / 0.6434 GB, free: 8.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.137, allocations: 25.7 kB / 0.6434 GB, free: 8.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.137, allocations: 92.08 kB / 0.6435 GB, free: 8.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.137, allocations: 0 / 0.6435 GB, free: 8.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.1371, allocations: 21.7 kB / 0.6435 GB, free: 8.504 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.1372, allocations: 318.8 kB / 0.6438 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.1372, allocations: 4 kB / 0.6438 GB, free: 8.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.1372, allocations: 7.938 kB / 0.6438 GB, free: 8.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.1373, allocations: 12.84 kB / 0.6438 GB, free: 8.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1373, allocations: 4 kB / 0.6438 GB, free: 8.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001026/0.1374, allocations: 49.58 kB / 0.6439 GB, free: 8.098 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1374, allocations: 4 kB / 0.6439 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.1374, allocations: 4 kB / 0.6439 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1374, allocations: 64 / 0.6439 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-06/0.1375, allocations: 7.984 kB / 0.6439 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1375, allocations: 0 / 0.6439 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.1375, allocations: 3.906 kB / 0.6439 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1375, allocations: 8 kB / 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 7.413e-05/0.1376, allocations: 181.2 kB / 0.6441 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.1376, allocations: 120.9 kB / 0.6442 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.1377, allocations: 104.9 kB / 0.6443 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.529e-05/0.1378, allocations: 192.2 kB / 0.6445 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.467e-05/0.1378, allocations: 176.3 kB / 0.6447 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.524e-05/0.1379, allocations: 176.3 kB / 0.6448 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.1381, allocations: 417.2 kB / 0.6452 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/0.1381, allocations: 104.9 kB / 0.6453 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.1382, allocations: 112.9 kB / 0.6454 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.862e-05/0.1382, allocations: 180.3 kB / 0.6456 GB, free: 6.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.1383, allocations: 176.3 kB / 0.6458 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.686e-05/0.1383, allocations: 184.2 kB / 0.6459 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-05/0.1384, allocations: 176.3 kB / 0.6461 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.1385, allocations: 315.7 kB / 0.6464 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.1386, allocations: 189.9 kB / 0.6466 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.1387, allocations: 180.2 kB / 0.6468 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.1388, allocations: 113 kB / 0.6469 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.1388, allocations: 180.2 kB / 0.6471 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.1389, allocations: 105 kB / 0.6472 GB, free: 4.531 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.861e-05/0.1389, allocations: 97.14 kB / 0.6472 GB, free: 4.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1389, allocations: 0 / 0.6472 GB, free: 4.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005756/0.1395, allocations: 279.8 kB / 0.6475 GB, free: 4.164 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.0008787/0.1404, allocations: 0.5215 MB / 0.648 GB, free: 3.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.1405, allocations: 41.64 kB / 0.6481 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1405, allocations: 7.938 kB / 0.6481 GB, free: 3.578 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.1405, allocations: 0 / 0.6481 GB, free: 3.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1409, allocations: 468.2 kB / 0.6485 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.1411, allocations: 236.2 kB / 0.6487 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.1414, allocations: 0.6807 MB / 0.6494 GB, free: 2.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.328e-05/0.1414, allocations: 3.984 kB / 0.6494 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.1414, allocations: 11.44 kB / 0.6494 GB, free: 2.137 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1414, allocations: 0 / 0.6494 GB, free: 2.137 MB / 494.1 MB Notification: Performance of Templates: time 0.008325/0.1498, allocations: 5.457 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.InternalResistancesOneUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)