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.001261/0.001261, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001342/0.001342, allocations: 198.1 kB / 16.14 MB, free: 6.715 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002281/0.002281, allocations: 289.7 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9374/0.9374, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 89.88 kB / 0.5946 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1444, allocations: 86.99 MB / 0.6795 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002348/0.1468, allocations: 1.491 MB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003976/0.1508, allocations: 3.008 MB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.1508, allocations: 0 / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.1509, allocations: 7.938 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.872e-05/0.1509, allocations: 15.84 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.1541, allocations: 1.397 MB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.922e-05/0.1542, allocations: 47.67 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.1542, allocations: 4 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.458e-05/0.1542, allocations: 11.94 kB / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.348e-05/0.1543, allocations: 15.92 kB / 0.6854 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.1543, allocations: 0 / 0.6854 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.1561, allocations: 1.466 MB / 0.6868 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.1562, allocations: 3.938 kB / 0.6868 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.1562, allocations: 19.88 kB / 0.6868 GB, free: 9.637 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.1575, allocations: 1.119 MB / 0.6879 GB, free: 8.516 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1575, allocations: 4 kB / 0.6879 GB, free: 8.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1575, allocations: 0 / 0.6879 GB, free: 8.512 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1575, allocations: 0 / 0.6879 GB, free: 8.512 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.0005383/0.158, allocations: 0.5146 MB / 0.6884 GB, free: 7.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1581, allocations: 8.031 kB / 0.6884 GB, free: 7.941 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.1582, allocations: 88.12 kB / 0.6885 GB, free: 7.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1583, allocations: 245.5 kB / 0.6887 GB, free: 7.578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.1584, allocations: 154.9 kB / 0.6889 GB, free: 7.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.1584, allocations: 154.9 kB / 0.689 GB, free: 7.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.953e-05/0.1585, allocations: 105.1 kB / 0.6891 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.1585, allocations: 79.22 kB / 0.6892 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/0.1586, allocations: 162.5 kB / 0.6894 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.1587, allocations: 150.6 kB / 0.6895 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.72e-05/0.1587, allocations: 154.6 kB / 0.6897 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.159, allocations: 465.9 kB / 0.6901 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.1591, allocations: 169.1 kB / 0.6903 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.1591, allocations: 84.08 kB / 0.6903 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1592, allocations: 79.28 kB / 0.6904 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.1592, allocations: 113.8 kB / 0.6905 GB, free: 5.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.1592, allocations: 0 / 0.6905 GB, free: 5.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.7e-05/0.1593, allocations: 29.61 kB / 0.6906 GB, free: 5.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.1593, allocations: 130.6 kB / 0.6907 GB, free: 5.484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1595, allocations: 137.7 kB / 0.6908 GB, free: 5.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1595, allocations: 29.64 kB / 0.6908 GB, free: 5.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1596, allocations: 100.1 kB / 0.6909 GB, free: 5.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.1596, allocations: 0 / 0.6909 GB, free: 5.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.1596, allocations: 17.77 kB / 0.6909 GB, free: 5.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.1598, allocations: 318.8 kB / 0.6913 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.1598, allocations: 7.938 kB / 0.6913 GB, free: 4.852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/0.1598, allocations: 4 kB / 0.6913 GB, free: 4.848 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.1598, allocations: 16.86 kB / 0.6913 GB, free: 4.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1598, allocations: 0 / 0.6913 GB, free: 4.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001159/0.16, allocations: 49.62 kB / 0.6913 GB, free: 4.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.16, allocations: 14.09 kB / 0.6913 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.16, allocations: 0 / 0.6913 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.16, allocations: 0 / 0.6913 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.16, allocations: 4 kB / 0.6913 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.16, allocations: 0 / 0.6913 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.1601, allocations: 3.906 kB / 0.6913 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1601, allocations: 0 / 0.6913 GB, free: 4.754 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.987e-05/0.1602, allocations: 193.7 kB / 0.6915 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.1603, allocations: 120.9 kB / 0.6916 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.1603, allocations: 108.9 kB / 0.6918 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.019e-05/0.1604, allocations: 180.2 kB / 0.6919 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.315e-05/0.1604, allocations: 180.3 kB / 0.6921 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-05/0.1605, allocations: 184.2 kB / 0.6923 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.1607, allocations: 409.2 kB / 0.6927 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.467e-05/0.1608, allocations: 117 kB / 0.6928 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.1608, allocations: 104.9 kB / 0.6929 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.537e-05/0.1609, allocations: 180.3 kB / 0.693 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.161, allocations: 184.2 kB / 0.6932 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-05/0.161, allocations: 180.3 kB / 0.6934 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.076e-05/0.1611, allocations: 180.3 kB / 0.6936 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.1612, allocations: 303.8 kB / 0.6939 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.1613, allocations: 197.9 kB / 0.694 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/0.1614, allocations: 180.3 kB / 0.6942 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.1615, allocations: 101 kB / 0.6943 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.1615, allocations: 184.2 kB / 0.6945 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.1616, allocations: 105 kB / 0.6946 GB, free: 1.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.397e-05/0.1617, allocations: 107.2 kB / 0.6947 GB, free: 1.102 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1617, allocations: 0 / 0.6947 GB, free: 1.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007138/0.1624, allocations: 287.8 kB / 0.695 GB, free: 0.8203 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.001057/0.1634, allocations: 0.5394 MB / 0.6955 GB, free: 280 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.1636, allocations: 41.64 kB / 0.6955 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1636, allocations: 0 / 0.6955 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.1636, allocations: 0 / 0.6955 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.164, allocations: 0.5341 MB / 0.6961 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.1643, allocations: 245.8 kB / 0.6963 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1646, allocations: 0.6887 MB / 0.697 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.523e-05/0.1646, allocations: 4 kB / 0.697 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-06/0.1646, allocations: 7.438 kB / 0.697 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1646, allocations: 0 / 0.697 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.008747/0.1734, allocations: 5.679 MB / 0.7025 GB, free: 9.07 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)