Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008113/0.008113, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 262.5 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9164/0.9164, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0003999, allocations: 17.17 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1381, allocations: 88.56 MB / 0.6852 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001338/0.1395, allocations: 1.15 MB / 0.6863 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004115/0.1436, allocations: 2.94 MB / 0.6892 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.1436, allocations: 1.094 kB / 0.6892 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.1437, allocations: 7.922 kB / 0.6892 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.1437, allocations: 15.86 kB / 0.6892 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.1468, allocations: 1.386 MB / 0.6906 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.1469, allocations: 47.67 kB / 0.6906 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.1469, allocations: 4 kB / 0.6906 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.636e-05/0.1469, allocations: 15.92 kB / 0.6906 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.684e-05/0.147, allocations: 15.92 kB / 0.6906 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.147, allocations: 0 / 0.6906 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.1488, allocations: 1.462 MB / 0.6921 GB, free: 8.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.1488, allocations: 7.938 kB / 0.6921 GB, free: 8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.1489, allocations: 53.55 kB / 0.6921 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.1502, allocations: 1.103 MB / 0.6932 GB, free: 6.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1502, allocations: 0 / 0.6932 GB, free: 6.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.706e-06/0.1502, allocations: 3.984 kB / 0.6932 GB, free: 6.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1503, allocations: 0 / 0.6932 GB, free: 6.832 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.000564/0.1508, allocations: 0.5107 MB / 0.6937 GB, free: 6.273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1509, allocations: 8.031 kB / 0.6937 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/0.1509, allocations: 88.06 kB / 0.6938 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1511, allocations: 259.5 kB / 0.694 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/0.1511, allocations: 150.9 kB / 0.6942 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.1512, allocations: 150.9 kB / 0.6943 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.1e-05/0.1513, allocations: 105.1 kB / 0.6944 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.1513, allocations: 75.28 kB / 0.6945 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.1513, allocations: 150.6 kB / 0.6947 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.1514, allocations: 158.6 kB / 0.6948 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.1514, allocations: 154.5 kB / 0.695 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.1517, allocations: 465.9 kB / 0.6954 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.1518, allocations: 169.1 kB / 0.6956 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.1518, allocations: 84.14 kB / 0.6956 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1519, allocations: 79.27 kB / 0.6957 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.1519, allocations: 109.8 kB / 0.6958 GB, free: 3.988 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1519, allocations: 0 / 0.6958 GB, free: 3.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.069e-05/0.152, allocations: 45.53 kB / 0.6959 GB, free: 3.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.1521, allocations: 126.7 kB / 0.696 GB, free: 3.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1522, allocations: 140.2 kB / 0.6961 GB, free: 3.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1522, allocations: 25.7 kB / 0.6961 GB, free: 3.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.1523, allocations: 92.08 kB / 0.6962 GB, free: 3.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.1523, allocations: 4 kB / 0.6962 GB, free: 3.527 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.1523, allocations: 13.7 kB / 0.6962 GB, free: 3.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.1524, allocations: 314.8 kB / 0.6965 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.1524, allocations: 4 kB / 0.6965 GB, free: 3.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.1524, allocations: 4 kB / 0.6966 GB, free: 3.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.1525, allocations: 28.88 kB / 0.6966 GB, free: 3.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1525, allocations: 0 / 0.6966 GB, free: 3.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001231/0.1526, allocations: 53.55 kB / 0.6966 GB, free: 3.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1526, allocations: 8 kB / 0.6966 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.1527, allocations: 0 / 0.6966 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1527, allocations: 4 kB / 0.6966 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1527, allocations: 0 / 0.6966 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1527, allocations: 0 / 0.6966 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.902e-05/0.1527, allocations: 0 / 0.6966 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1527, allocations: 0 / 0.6966 GB, free: 3.082 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.832e-05/0.1528, allocations: 197.8 kB / 0.6968 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.1529, allocations: 116.8 kB / 0.6969 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.1529, allocations: 108.9 kB / 0.697 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-05/0.153, allocations: 176.3 kB / 0.6972 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.1e-05/0.1531, allocations: 192.2 kB / 0.6974 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.95e-05/0.1531, allocations: 180.3 kB / 0.6976 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.1533, allocations: 409.2 kB / 0.698 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/0.1534, allocations: 108.9 kB / 0.6981 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.1534, allocations: 104.9 kB / 0.6982 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.385e-05/0.1535, allocations: 188.2 kB / 0.6983 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.1535, allocations: 176.3 kB / 0.6985 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.645e-05/0.1536, allocations: 188.2 kB / 0.6987 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.539e-05/0.1537, allocations: 176.3 kB / 0.6989 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.1538, allocations: 311.7 kB / 0.6992 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.1539, allocations: 186 kB / 0.6993 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.192e-05/0.1539, allocations: 184.2 kB / 0.6995 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.154, allocations: 105 kB / 0.6996 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.1541, allocations: 184.2 kB / 0.6998 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.1541, allocations: 104.9 kB / 0.6999 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.1542, allocations: 105 kB / 0.7 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1542, allocations: 3.938 kB / 0.7 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007035/0.1549, allocations: 283.8 kB / 0.7003 GB, free: 15.15 MB / 0.4981 GB 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.001014/0.1559, allocations: 0.5351 MB / 0.7008 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.322e-05/0.156, allocations: 41.69 kB / 0.7008 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.156, allocations: 0 / 0.7008 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.1561, allocations: 3.938 kB / 0.7008 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1565, allocations: 0.5263 MB / 0.7013 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.1567, allocations: 267.7 kB / 0.7016 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.157, allocations: 0.6809 MB / 0.7023 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.085e-05/0.157, allocations: 0 / 0.7023 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.016e-05/0.157, allocations: 11.44 kB / 0.7023 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.157, allocations: 0 / 0.7023 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.009154/0.1662, allocations: 5.685 MB / 0.7078 GB, free: 7.387 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)