Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 108 kB / 15.61 MB, free: 152 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.001233/0.001233, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.219/1.219, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6814/0.6814, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 60.72 kB / 0.5018 GB, free: 8.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1487, allocations: 80.21 MB / 0.5802 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.00217/0.1509, allocations: 1.361 MB / 0.5815 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1532, allocations: 1.792 MB / 0.5832 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.1533, allocations: 0 / 0.5832 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.069e-05/0.1534, allocations: 11.92 kB / 0.5832 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1535, allocations: 27.84 kB / 0.5833 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.1556, allocations: 1.138 MB / 0.5844 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.306e-05/0.1557, allocations: 59.64 kB / 0.5844 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.196e-05/0.1558, allocations: 4 kB / 0.5844 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.87e-05/0.1558, allocations: 15.98 kB / 0.5845 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.1559, allocations: 35.78 kB / 0.5845 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1559, allocations: 0 / 0.5845 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009705/0.1569, allocations: 0.8501 MB / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.1569, allocations: 19.92 kB / 0.5853 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.157, allocations: 31.78 kB / 0.5854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.1578, allocations: 0.7916 MB / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1578, allocations: 4 kB / 0.5862 GB, free: 2.559 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1578, allocations: 0 / 0.5862 GB, free: 2.559 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1578, allocations: 0 / 0.5862 GB, free: 2.559 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004567/0.1583, allocations: 482.8 kB / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.1583, allocations: 8.031 kB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.1583, allocations: 8.844 kB / 0.5866 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1585, allocations: 193.2 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-06/0.1585, allocations: 0 / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.1585, allocations: 0 / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.451e-05/0.1586, allocations: 61.62 kB / 0.5869 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1586, allocations: 0 / 0.5869 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-06/0.1586, allocations: 0 / 0.5869 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1586, allocations: 4 kB / 0.5869 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.1587, allocations: 20 kB / 0.5869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.1588, allocations: 197.5 kB / 0.5871 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.155e-05/0.1589, allocations: 46.56 kB / 0.5871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.1589, allocations: 28.89 kB / 0.5872 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.159, allocations: 7.938 kB / 0.5872 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.159, allocations: 30.56 kB / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.159, allocations: 0 / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001717/0.1592, allocations: 121.5 kB / 0.5873 GB, free: 1.207 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.1592, allocations: 51.41 kB / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1593, allocations: 160.7 kB / 0.5875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1594, allocations: 25.7 kB / 0.5875 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.1594, allocations: 96.31 kB / 0.5876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.1595, allocations: 31.64 kB / 0.5877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.1595, allocations: 17.66 kB / 0.5877 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.1596, allocations: 330.8 kB / 0.588 GB, free: 468 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.1596, allocations: 19.98 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.1597, allocations: 31.92 kB / 0.588 GB, free: 416 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/0.1598, allocations: 60.83 kB / 0.5881 GB, free: 352 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1598, allocations: 0 / 0.5881 GB, free: 352 kB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.802e-05/0.1599, allocations: 89.59 kB / 0.5882 GB, free: 256 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.1599, allocations: 12 kB / 0.5882 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.1599, allocations: 0 / 0.5882 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1599, allocations: 7.984 kB / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.1599, allocations: 0 / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1599, allocations: 0 / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.989e-05/0.16, allocations: 3.906 kB / 0.5882 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.16, allocations: 3.938 kB / 0.5882 GB, free: 228 kB / 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.038e-05/0.1601, allocations: 122.5 kB / 0.5883 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.1601, allocations: 7.906 kB / 0.5883 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.1602, allocations: 114.1 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1603, allocations: 0 / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1603, allocations: 4 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1603, allocations: 0 / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.1604, allocations: 193.6 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1604, allocations: 4 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-06/0.1604, allocations: 4 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1604, allocations: 0 / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.1604, allocations: 0 / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1604, allocations: 0 / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1604, allocations: 8.031 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.1606, allocations: 133.1 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.1606, allocations: 84.95 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1606, allocations: 7.984 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.1607, allocations: 0 / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.1607, allocations: 0 / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1607, allocations: 0 / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.084e-05/0.1608, allocations: 120.5 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.413e-06/0.1608, allocations: 4 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004327/0.1612, allocations: 203.8 kB / 0.5892 GB, free: 15.14 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 (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 Backend phase and start with SimCode phase: time 0.0005805/0.1618, allocations: 331 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.1619, allocations: 97.66 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1619, allocations: 0 / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.162, allocations: 69.62 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.1622, allocations: 12.11 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.1625, allocations: 229.7 kB / 0.5899 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1627, allocations: 0.7041 MB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.561e-05/0.1628, allocations: 4 kB / 0.5906 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.1628, allocations: 11.44 kB / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1628, allocations: 3.938 kB / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.006718/0.1695, allocations: 4.303 MB / 0.5948 GB, free: 9.371 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)