Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001978/0.001978, allocations: 188.2 kB / 16.13 MB, free: 6.656 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7724/0.7724, allocations: 132.2 MB / 422.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.94 kB / 0.5012 GB, free: 9.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1912, allocations: 80.2 MB / 0.5795 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002551/0.1938, allocations: 1.482 MB / 0.5809 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004211/0.198, allocations: 2.955 MB / 0.5838 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.198, allocations: 3.938 kB / 0.5838 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.1981, allocations: 7.938 kB / 0.5838 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.587e-05/0.1982, allocations: 11.86 kB / 0.5838 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.2015, allocations: 1.378 MB / 0.5852 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.263e-05/0.2015, allocations: 39.73 kB / 0.5852 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.2016, allocations: 7.938 kB / 0.5852 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.2016, allocations: 4 kB / 0.5852 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.657e-05/0.2017, allocations: 19.86 kB / 0.5853 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.2017, allocations: 8 kB / 0.5853 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.2037, allocations: 1.416 MB / 0.5866 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.2037, allocations: 15.97 kB / 0.5867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.2037, allocations: 11.88 kB / 0.5867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.205, allocations: 1.088 MB / 0.5877 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2051, allocations: 3.938 kB / 0.5877 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2051, allocations: 0 / 0.5877 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.2051, allocations: 0 / 0.5877 GB, free: 0.7148 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.0005935/0.2057, allocations: 0.5146 MB / 0.5882 GB, free: 156 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2057, allocations: 8.031 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.2058, allocations: 84.12 kB / 0.5883 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.206, allocations: 251.5 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/0.206, allocations: 150.9 kB / 0.5887 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.2061, allocations: 158.5 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.499e-05/0.2062, allocations: 105 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.2062, allocations: 79.28 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.2063, allocations: 150.6 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/0.2063, allocations: 150.6 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/0.2064, allocations: 158.5 kB / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.2067, allocations: 465.9 kB / 0.5899 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.2068, allocations: 169.1 kB / 0.5901 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.2068, allocations: 80.14 kB / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.2069, allocations: 75.28 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.2069, allocations: 113.8 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.2069, allocations: 0 / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.164e-05/0.207, allocations: 33.61 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.2071, allocations: 130.7 kB / 0.5905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.2072, allocations: 132.3 kB / 0.5906 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2073, allocations: 25.7 kB / 0.5906 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.2073, allocations: 88.12 kB / 0.5907 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.2073, allocations: 0 / 0.5907 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.2074, allocations: 21.72 kB / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2075, allocations: 322.8 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.2075, allocations: 4 kB / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.2075, allocations: 7.938 kB / 0.5911 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.2076, allocations: 16.8 kB / 0.5911 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.2076, allocations: 3.938 kB / 0.5911 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000124/0.2077, allocations: 49.62 kB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2077, allocations: 8 kB / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.2078, allocations: 0 / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2078, allocations: 0 / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.2078, allocations: 0 / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2078, allocations: 8.062 kB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.2078, allocations: 0 / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2078, allocations: 3.938 kB / 0.5912 GB, free: 12.98 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.0001102/0.208, allocations: 189.7 kB / 0.5913 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.208, allocations: 112.8 kB / 0.5914 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.319e-05/0.2081, allocations: 121 kB / 0.5916 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-05/0.2082, allocations: 184.2 kB / 0.5917 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.504e-05/0.2082, allocations: 180.3 kB / 0.5919 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.634e-05/0.2083, allocations: 176.3 kB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.2086, allocations: 421.1 kB / 0.5925 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/0.2086, allocations: 101 kB / 0.5926 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.2087, allocations: 108.9 kB / 0.5927 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-05/0.2087, allocations: 184.3 kB / 0.5929 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.708e-05/0.2088, allocations: 180.3 kB / 0.593 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.665e-05/0.2089, allocations: 184.2 kB / 0.5932 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.658e-05/0.209, allocations: 180.3 kB / 0.5934 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.2091, allocations: 311.7 kB / 0.5937 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.2092, allocations: 186 kB / 0.5938 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/0.2093, allocations: 184.2 kB / 0.594 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.167e-05/0.2094, allocations: 101 kB / 0.5941 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.2095, allocations: 184.2 kB / 0.5943 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.2096, allocations: 101 kB / 0.5944 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.2096, allocations: 111.2 kB / 0.5945 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2097, allocations: 0 / 0.5945 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008242/0.2105, allocations: 275.8 kB / 0.5948 GB, free: 9.055 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.001138/0.2116, allocations: 0.5097 MB / 0.5953 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.2118, allocations: 41.69 kB / 0.5953 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.2118, allocations: 4.062 kB / 0.5953 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/0.2118, allocations: 7.938 kB / 0.5953 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.2122, allocations: 0.5272 MB / 0.5958 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.2126, allocations: 237.8 kB / 0.596 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.2129, allocations: 0.6925 MB / 0.5967 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.437e-05/0.2129, allocations: 3.938 kB / 0.5967 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.267e-05/0.2129, allocations: 11.44 kB / 0.5967 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2129, allocations: 0 / 0.5967 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.009028/0.222, allocations: 5.462 MB / 0.6021 GB, free: 1.551 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)