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.00125/0.00125, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 302.5 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.919/0.919, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 94.64 kB / 0.5953 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1429, allocations: 86.99 MB / 0.6802 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002399/0.1453, allocations: 1.425 MB / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.1493, allocations: 2.892 MB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.1493, allocations: 3.938 kB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.1494, allocations: 3.984 kB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.1495, allocations: 15.8 kB / 0.6845 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.1528, allocations: 1.582 MB / 0.686 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.508e-05/0.1529, allocations: 47.73 kB / 0.6861 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.1529, allocations: 4 kB / 0.6861 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.564e-05/0.153, allocations: 15.94 kB / 0.6861 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.983e-05/0.153, allocations: 23.84 kB / 0.6861 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.153, allocations: 0 / 0.6861 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.1549, allocations: 1.455 MB / 0.6875 GB, free: 9.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.155, allocations: 7.984 kB / 0.6875 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.155, allocations: 23.86 kB / 0.6876 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.1563, allocations: 1.096 MB / 0.6886 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1563, allocations: 0 / 0.6886 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1563, allocations: 4 kB / 0.6886 GB, free: 8.039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1563, allocations: 0 / 0.6886 GB, free: 8.039 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.0005371/0.1569, allocations: 0.5146 MB / 0.6891 GB, free: 7.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1569, allocations: 8.031 kB / 0.6891 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.157, allocations: 88.12 kB / 0.6892 GB, free: 7.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1571, allocations: 259.4 kB / 0.6895 GB, free: 7.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.1572, allocations: 150.9 kB / 0.6896 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.1572, allocations: 154.9 kB / 0.6898 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.75e-05/0.1573, allocations: 109.1 kB / 0.6899 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.1573, allocations: 79.22 kB / 0.6899 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.1574, allocations: 150.6 kB / 0.6901 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.1574, allocations: 154.6 kB / 0.6902 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.803e-05/0.1575, allocations: 158.5 kB / 0.6904 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.1578, allocations: 461.9 kB / 0.6908 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.1579, allocations: 173.2 kB / 0.691 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.1579, allocations: 80.14 kB / 0.6911 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1579, allocations: 75.28 kB / 0.6911 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.158, allocations: 117.8 kB / 0.6913 GB, free: 5.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.158, allocations: 4 kB / 0.6913 GB, free: 5.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.867e-05/0.1581, allocations: 33.55 kB / 0.6913 GB, free: 5.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1581, allocations: 126.7 kB / 0.6914 GB, free: 5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1583, allocations: 139.6 kB / 0.6915 GB, free: 4.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1583, allocations: 25.7 kB / 0.6916 GB, free: 4.824 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.1584, allocations: 92.14 kB / 0.6917 GB, free: 4.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-06/0.1584, allocations: 4 kB / 0.6917 GB, free: 4.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.1584, allocations: 17.7 kB / 0.6917 GB, free: 4.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1585, allocations: 314.8 kB / 0.692 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.1586, allocations: 4 kB / 0.692 GB, free: 4.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.1586, allocations: 11.98 kB / 0.692 GB, free: 4.371 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.1586, allocations: 8.859 kB / 0.692 GB, free: 4.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1586, allocations: 0 / 0.692 GB, free: 4.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001355/0.1588, allocations: 57.64 kB / 0.6921 GB, free: 4.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1588, allocations: 8.062 kB / 0.6921 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.1588, allocations: 4 kB / 0.6921 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1588, allocations: 3.984 kB / 0.6921 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.315e-06/0.1588, allocations: 0 / 0.6921 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1589, allocations: 7.938 kB / 0.6921 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.1589, allocations: 3.906 kB / 0.6921 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1589, allocations: 0 / 0.6921 GB, free: 4.27 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 9.624e-05/0.159, allocations: 189.8 kB / 0.6923 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.1591, allocations: 116.8 kB / 0.6924 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.1591, allocations: 108.9 kB / 0.6925 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.063e-05/0.1592, allocations: 180.2 kB / 0.6927 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-05/0.1592, allocations: 184.2 kB / 0.6928 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-05/0.1593, allocations: 180.3 kB / 0.693 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.1595, allocations: 413.2 kB / 0.6934 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/0.1596, allocations: 108.9 kB / 0.6935 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.1596, allocations: 105 kB / 0.6936 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.033e-05/0.1597, allocations: 184.2 kB / 0.6938 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.1598, allocations: 176.3 kB / 0.6939 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.417e-05/0.1598, allocations: 180.2 kB / 0.6941 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.574e-05/0.1599, allocations: 192.2 kB / 0.6943 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.16, allocations: 307.8 kB / 0.6946 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.1601, allocations: 189.9 kB / 0.6948 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.1602, allocations: 180.2 kB / 0.6949 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.1603, allocations: 105 kB / 0.695 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.1604, allocations: 180.3 kB / 0.6952 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.1604, allocations: 112.9 kB / 0.6953 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.258e-05/0.1605, allocations: 97.45 kB / 0.6954 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1605, allocations: 0 / 0.6954 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007276/0.1612, allocations: 283.8 kB / 0.6957 GB, free: 360 kB / 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.001002/0.1622, allocations: 0.5356 MB / 0.6962 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.153e-05/0.1623, allocations: 45.69 kB / 0.6963 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1623, allocations: 0 / 0.6963 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.1623, allocations: 0 / 0.6963 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.1627, allocations: 471.6 kB / 0.6967 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.163, allocations: 236.2 kB / 0.6969 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1632, allocations: 0.6924 MB / 0.6976 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.412e-05/0.1633, allocations: 3.906 kB / 0.6976 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-06/0.1633, allocations: 7.438 kB / 0.6976 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1633, allocations: 0 / 0.6976 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.009073/0.1724, allocations: 5.651 MB / 0.7031 GB, free: 8.711 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)