Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001504/0.001504, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001469/0.001469, allocations: 196.4 kB / 16.26 MB, free: 6.625 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9054/0.9054, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.12 kB / 0.5054 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1521, allocations: 81.02 MB / 0.5846 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002527/0.1546, allocations: 1.487 MB / 0.586 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00407/0.1587, allocations: 2.876 MB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.1587, allocations: 0 / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.1588, allocations: 3.984 kB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.162e-05/0.1588, allocations: 11.86 kB / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.162, allocations: 1.452 MB / 0.5903 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.222e-05/0.1621, allocations: 39.69 kB / 0.5903 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.1621, allocations: 12.25 kB / 0.5903 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/0.1621, allocations: 11.94 kB / 0.5903 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.299e-05/0.1622, allocations: 11.94 kB / 0.5903 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.735e-06/0.1622, allocations: 4 kB / 0.5903 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.164, allocations: 1.462 MB / 0.5918 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.1641, allocations: 7.938 kB / 0.5918 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.1641, allocations: 19.88 kB / 0.5918 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.1654, allocations: 1.084 MB / 0.5928 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1654, allocations: 3.938 kB / 0.5928 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1654, allocations: 0 / 0.5928 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1654, allocations: 0 / 0.5928 GB, free: 11.78 MB / 0.4981 GB 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.000593/0.166, allocations: 0.5184 MB / 0.5934 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1661, allocations: 8.75 kB / 0.5934 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.1661, allocations: 88.12 kB / 0.5934 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1663, allocations: 249.9 kB / 0.5937 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/0.1664, allocations: 150.9 kB / 0.5938 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.1664, allocations: 154.5 kB / 0.594 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.756e-05/0.1665, allocations: 109 kB / 0.5941 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.1666, allocations: 79.28 kB / 0.5942 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/0.1666, allocations: 150.6 kB / 0.5943 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.284e-05/0.1667, allocations: 154.5 kB / 0.5944 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.34e-05/0.1668, allocations: 154.5 kB / 0.5946 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.1671, allocations: 465.9 kB / 0.595 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/0.1672, allocations: 173.1 kB / 0.5952 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.052e-05/0.1672, allocations: 80.14 kB / 0.5953 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.1673, allocations: 75.28 kB / 0.5954 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.1673, allocations: 113.8 kB / 0.5955 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1673, allocations: 7.938 kB / 0.5955 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.187e-05/0.1674, allocations: 29.61 kB / 0.5955 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.1675, allocations: 138.6 kB / 0.5956 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1676, allocations: 133.8 kB / 0.5958 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1676, allocations: 25.7 kB / 0.5958 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.1677, allocations: 92.14 kB / 0.5959 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-06/0.1677, allocations: 3.984 kB / 0.5959 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.1677, allocations: 17.7 kB / 0.5959 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1679, allocations: 318.8 kB / 0.5962 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.1679, allocations: 4 kB / 0.5962 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.1679, allocations: 4 kB / 0.5962 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.951e-05/0.168, allocations: 24.78 kB / 0.5962 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.168, allocations: 3.938 kB / 0.5962 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001076/0.1681, allocations: 45.61 kB / 0.5963 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1681, allocations: 8 kB / 0.5963 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.1681, allocations: 0 / 0.5963 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1682, allocations: 4.062 kB / 0.5963 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.394e-06/0.1682, allocations: 8.062 kB / 0.5963 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1682, allocations: 0 / 0.5963 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.1682, allocations: 0 / 0.5963 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1682, allocations: 0 / 0.5963 GB, free: 8.02 MB / 0.4981 GB 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 0.0001126/0.1683, allocations: 197.1 kB / 0.5965 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.1684, allocations: 112.8 kB / 0.5966 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.266e-05/0.1685, allocations: 108.9 kB / 0.5967 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.821e-05/0.1686, allocations: 184.2 kB / 0.5969 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.525e-05/0.1687, allocations: 184.2 kB / 0.597 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.05e-05/0.1687, allocations: 180.3 kB / 0.5972 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.169, allocations: 413.1 kB / 0.5976 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.887e-05/0.1691, allocations: 105 kB / 0.5977 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.1692, allocations: 104.9 kB / 0.5978 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.882e-05/0.1693, allocations: 188.2 kB / 0.598 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/0.1694, allocations: 176.3 kB / 0.5982 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.137e-05/0.1694, allocations: 184.2 kB / 0.5983 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.606e-05/0.1695, allocations: 176.3 kB / 0.5985 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1698, allocations: 319.6 kB / 0.5988 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.1699, allocations: 182.1 kB / 0.599 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.17, allocations: 184.1 kB / 0.5992 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.1701, allocations: 105 kB / 0.5993 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.1702, allocations: 188.2 kB / 0.5994 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.1702, allocations: 101 kB / 0.5995 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.255e-05/0.1703, allocations: 108.3 kB / 0.5996 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1703, allocations: 0 / 0.5996 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000648/0.171, allocations: 283.8 kB / 0.5999 GB, free: 4.09 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.0009797/0.1719, allocations: 0.5253 MB / 0.6004 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.172, allocations: 41.69 kB / 0.6005 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1721, allocations: 3.938 kB / 0.6005 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.1721, allocations: 7.938 kB / 0.6005 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.1726, allocations: 467.6 kB / 0.6009 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.1729, allocations: 238.5 kB / 0.6011 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1732, allocations: 0.6846 MB / 0.6018 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.052e-05/0.1732, allocations: 7.938 kB / 0.6018 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.1732, allocations: 7.438 kB / 0.6018 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1732, allocations: 4 kB / 0.6018 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of Templates: time 0.2064/0.3796, allocations: 5.616 MB / 0.6073 GB, free: 51.26 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)