Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008393/0.0008392, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005135/0.005135, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 281.7 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.937/0.937, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004305, allocations: 13.34 kB / 0.5987 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1487, allocations: 88.56 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001371/0.1501, allocations: 1.146 MB / 0.6863 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.154, allocations: 2.893 MB / 0.6891 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.154, allocations: 0 / 0.6891 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.154, allocations: 11.86 kB / 0.6891 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.1541, allocations: 11.86 kB / 0.6892 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.157, allocations: 1.355 MB / 0.6905 GB, free: 9.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.183e-05/0.1571, allocations: 35.75 kB / 0.6905 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.1571, allocations: 7.938 kB / 0.6905 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.456e-05/0.1571, allocations: 15.92 kB / 0.6905 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.42e-05/0.1572, allocations: 15.92 kB / 0.6906 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-06/0.1572, allocations: 0 / 0.6906 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.1589, allocations: 1.423 MB / 0.6919 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.159, allocations: 11.94 kB / 0.692 GB, free: 8.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.159, allocations: 37.58 kB / 0.692 GB, free: 8.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.1602, allocations: 1.088 MB / 0.693 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1603, allocations: 7.984 kB / 0.6931 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1603, allocations: 0 / 0.6931 GB, free: 6.945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1603, allocations: 0 / 0.6931 GB, free: 6.945 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.1608, allocations: 0.5069 MB / 0.6936 GB, free: 6.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1608, allocations: 8.031 kB / 0.6936 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.1609, allocations: 80.12 kB / 0.6936 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.161, allocations: 257.5 kB / 0.6939 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.1611, allocations: 154.9 kB / 0.694 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.1611, allocations: 154.9 kB / 0.6942 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.449e-05/0.1612, allocations: 109 kB / 0.6943 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.1612, allocations: 75.28 kB / 0.6944 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.1613, allocations: 150.6 kB / 0.6945 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.1613, allocations: 150.6 kB / 0.6946 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.1614, allocations: 162.5 kB / 0.6948 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.1617, allocations: 457.9 kB / 0.6952 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.18e-05/0.1617, allocations: 173.1 kB / 0.6954 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.1618, allocations: 80.14 kB / 0.6955 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.1618, allocations: 79.28 kB / 0.6955 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.1618, allocations: 113.8 kB / 0.6957 GB, free: 4.109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1618, allocations: 0 / 0.6957 GB, free: 4.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.478e-05/0.1619, allocations: 33.61 kB / 0.6957 GB, free: 4.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.162, allocations: 130.7 kB / 0.6958 GB, free: 3.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1621, allocations: 136 kB / 0.6959 GB, free: 3.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.1621, allocations: 25.7 kB / 0.696 GB, free: 3.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.1622, allocations: 96.14 kB / 0.6961 GB, free: 3.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.1622, allocations: 0 / 0.6961 GB, free: 3.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.1622, allocations: 9.719 kB / 0.6961 GB, free: 3.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.1623, allocations: 322.8 kB / 0.6964 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.1623, allocations: 0 / 0.6964 GB, free: 3.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.164e-05/0.1623, allocations: 4 kB / 0.6964 GB, free: 3.316 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.1624, allocations: 20.89 kB / 0.6964 GB, free: 3.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1624, allocations: 0 / 0.6964 GB, free: 3.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/0.1625, allocations: 53.59 kB / 0.6965 GB, free: 3.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1625, allocations: 8 kB / 0.6965 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.1625, allocations: 4 kB / 0.6965 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1626, allocations: 0 / 0.6965 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.1626, allocations: 3.938 kB / 0.6965 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.1626, allocations: 0 / 0.6965 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.1626, allocations: 3.938 kB / 0.6965 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1626, allocations: 4 kB / 0.6965 GB, free: 3.211 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.836e-05/0.1627, allocations: 181.8 kB / 0.6966 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.1627, allocations: 128.9 kB / 0.6968 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.1628, allocations: 108.9 kB / 0.6969 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.853e-05/0.1629, allocations: 184.2 kB / 0.6971 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.542e-05/0.1629, allocations: 176.3 kB / 0.6972 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-05/0.163, allocations: 188.2 kB / 0.6974 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.1632, allocations: 417.2 kB / 0.6978 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.1632, allocations: 112.9 kB / 0.6979 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-05/0.1632, allocations: 101 kB / 0.698 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-05/0.1633, allocations: 180.3 kB / 0.6982 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/0.1633, allocations: 184.2 kB / 0.6983 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.892e-05/0.1634, allocations: 176.3 kB / 0.6985 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.226e-05/0.1635, allocations: 184.2 kB / 0.6987 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.1636, allocations: 303.8 kB / 0.699 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.1636, allocations: 193.9 kB / 0.6992 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.1637, allocations: 180.2 kB / 0.6993 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.1638, allocations: 108.9 kB / 0.6994 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.1638, allocations: 188.3 kB / 0.6996 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.1639, allocations: 104.9 kB / 0.6997 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.1639, allocations: 99.25 kB / 0.6998 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1639, allocations: 0 / 0.6998 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006029/0.1646, allocations: 275.8 kB / 0.7001 GB, free: 15.29 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.000929/0.1655, allocations: 0.5175 MB / 0.7006 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.405e-05/0.1656, allocations: 37.7 kB / 0.7006 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1656, allocations: 0 / 0.7006 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.1656, allocations: 4 kB / 0.7006 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.166, allocations: 0.5287 MB / 0.7011 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.1662, allocations: 268.4 kB / 0.7014 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.1664, allocations: 0.6809 MB / 0.7021 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.114e-05/0.1665, allocations: 4 kB / 0.7021 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.153e-05/0.1665, allocations: 11.44 kB / 0.7021 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1665, allocations: 0 / 0.7021 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.008535/0.175, allocations: 5.476 MB / 0.7074 GB, free: 7.75 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)