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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 109.4 kB / 16.41 MB, free: 6.027 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.00117/0.00117, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.23/1.23, allocations: 222.9 MB / 241 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.6711/0.6711, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 62.77 kB / 0.5578 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1264, allocations: 76.18 MB / 0.6322 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002203/0.1287, allocations: 1.424 MB / 0.6335 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00405/0.1327, allocations: 2.895 MB / 0.6364 GB, free: 8 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.1328, allocations: 0 / 0.6364 GB, free: 8 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.1328, allocations: 7.938 kB / 0.6364 GB, free: 0 / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.193e-05/0.1329, allocations: 19.91 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003232/0.1361, allocations: 1.583 MB / 0.6379 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.892e-05/0.1362, allocations: 51.67 kB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.1e-05/0.1363, allocations: 0 / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.606e-05/0.1363, allocations: 19.91 kB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.643e-05/0.1363, allocations: 15.94 kB / 0.638 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1363, allocations: 4 kB / 0.638 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.1385, allocations: 1.533 MB / 0.6395 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.1386, allocations: 3.984 kB / 0.6395 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.1386, allocations: 27.86 kB / 0.6396 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.14, allocations: 1.107 MB / 0.6406 GB, free: 11.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.14, allocations: 4 kB / 0.6406 GB, free: 11.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1401, allocations: 0 / 0.6406 GB, free: 11.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1401, allocations: 0 / 0.6406 GB, free: 11.64 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.0005098/0.1406, allocations: 0.5184 MB / 0.6411 GB, free: 11.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.1406, allocations: 12.03 kB / 0.6412 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.1407, allocations: 80.22 kB / 0.6412 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1408, allocations: 255.5 kB / 0.6415 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.1409, allocations: 150.9 kB / 0.6416 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.1409, allocations: 150.9 kB / 0.6418 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.636e-05/0.141, allocations: 113.1 kB / 0.6419 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/0.141, allocations: 79.28 kB / 0.642 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.1411, allocations: 154.6 kB / 0.6421 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.1412, allocations: 158.4 kB / 0.6423 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.1413, allocations: 150.6 kB / 0.6424 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.1415, allocations: 469.8 kB / 0.6428 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.097e-05/0.1416, allocations: 169.1 kB / 0.643 GB, free: 9.062 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.1417, allocations: 80.14 kB / 0.6431 GB, free: 8.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1417, allocations: 79.28 kB / 0.6432 GB, free: 8.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.52e-05/0.1418, allocations: 113.7 kB / 0.6433 GB, free: 8.781 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1418, allocations: 0 / 0.6433 GB, free: 8.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.711e-05/0.1419, allocations: 37.69 kB / 0.6433 GB, free: 8.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.1419, allocations: 130.7 kB / 0.6434 GB, free: 8.598 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.142, allocations: 133 kB / 0.6436 GB, free: 8.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1421, allocations: 25.7 kB / 0.6436 GB, free: 8.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.1421, allocations: 92.14 kB / 0.6437 GB, free: 8.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-06/0.1421, allocations: 0 / 0.6437 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.1422, allocations: 17.7 kB / 0.6437 GB, free: 8.312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.1423, allocations: 318.9 kB / 0.644 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.1423, allocations: 8 kB / 0.644 GB, free: 7.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.1423, allocations: 7.984 kB / 0.644 GB, free: 7.977 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.647e-05/0.1424, allocations: 28.73 kB / 0.644 GB, free: 7.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.1424, allocations: 0 / 0.644 GB, free: 7.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001126/0.1425, allocations: 53.55 kB / 0.6441 GB, free: 7.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1425, allocations: 4 kB / 0.6441 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.1425, allocations: 4 kB / 0.6441 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1425, allocations: 0 / 0.6441 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1425, allocations: 0 / 0.6441 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1426, allocations: 3.984 kB / 0.6441 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.1426, allocations: 4.062 kB / 0.6441 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1426, allocations: 4 kB / 0.6441 GB, free: 7.867 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.417e-05/0.1427, allocations: 181.1 kB / 0.6443 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.1427, allocations: 116.8 kB / 0.6444 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.1428, allocations: 108.9 kB / 0.6445 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.857e-05/0.1428, allocations: 184.2 kB / 0.6447 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.981e-05/0.1429, allocations: 184.3 kB / 0.6448 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.781e-05/0.1429, allocations: 176.3 kB / 0.645 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.1432, allocations: 417.2 kB / 0.6454 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/0.1433, allocations: 104.9 kB / 0.6455 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.1433, allocations: 112.8 kB / 0.6456 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.882e-05/0.1433, allocations: 180.3 kB / 0.6458 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.1434, allocations: 180.3 kB / 0.646 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.833e-05/0.1435, allocations: 184.2 kB / 0.6461 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.773e-05/0.1435, allocations: 176.3 kB / 0.6463 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.1436, allocations: 311.8 kB / 0.6466 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.1437, allocations: 189.9 kB / 0.6468 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.1438, allocations: 184.2 kB / 0.647 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.1438, allocations: 113 kB / 0.6471 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.1439, allocations: 180.2 kB / 0.6472 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.144, allocations: 101 kB / 0.6473 GB, free: 4.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1441, allocations: 99.27 kB / 0.6474 GB, free: 4.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1441, allocations: 0 / 0.6474 GB, free: 4.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006243/0.1447, allocations: 283.8 kB / 0.6477 GB, free: 3.953 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.0009316/0.1456, allocations: 0.5331 MB / 0.6482 GB, free: 3.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.461e-05/0.1457, allocations: 49.62 kB / 0.6483 GB, free: 3.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.1457, allocations: 0 / 0.6483 GB, free: 3.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.1457, allocations: 4 kB / 0.6483 GB, free: 3.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1461, allocations: 462 kB / 0.6487 GB, free: 2.898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.1464, allocations: 247.8 kB / 0.6489 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.1466, allocations: 0.6807 MB / 0.6496 GB, free: 1.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.136e-05/0.1466, allocations: 7.938 kB / 0.6496 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-06/0.1466, allocations: 7.438 kB / 0.6496 GB, free: 1.906 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1466, allocations: 0 / 0.6496 GB, free: 1.906 MB / 494.1 MB Notification: Performance of Templates: time 0.008651/0.1553, allocations: 5.634 MB / 0.6551 GB, free: 12.32 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)