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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008747/0.0008746, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00789/0.00789, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003772, allocations: 20.81 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2024, allocations: 82.31 MB / 0.588 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002034/0.2045, allocations: 1.155 MB / 0.5892 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00509/0.2096, allocations: 2.924 MB / 0.592 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.2097, allocations: 4 kB / 0.592 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.2097, allocations: 3.938 kB / 0.592 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.162e-05/0.2098, allocations: 19.84 kB / 0.592 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.2133, allocations: 1.363 MB / 0.5934 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.731e-05/0.2134, allocations: 39.69 kB / 0.5934 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.2134, allocations: 4 kB / 0.5934 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.2135, allocations: 23.91 kB / 0.5934 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.97e-05/0.2135, allocations: 19.88 kB / 0.5935 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.2135, allocations: 0 / 0.5935 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.2156, allocations: 1.455 MB / 0.5949 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.2156, allocations: 7.922 kB / 0.5949 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.2157, allocations: 49.56 kB / 0.5949 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.2171, allocations: 1.107 MB / 0.596 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2171, allocations: 0 / 0.596 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2171, allocations: 0 / 0.596 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.2171, allocations: 4 kB / 0.596 GB, free: 10.34 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.0006444/0.2178, allocations: 0.5108 MB / 0.5965 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.2178, allocations: 8.031 kB / 0.5965 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.2179, allocations: 84.12 kB / 0.5966 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.2181, allocations: 251.5 kB / 0.5968 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/0.2182, allocations: 150.9 kB / 0.597 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.2182, allocations: 162.4 kB / 0.5971 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.418e-05/0.2183, allocations: 101 kB / 0.5972 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.2183, allocations: 75.28 kB / 0.5973 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/0.2184, allocations: 158.5 kB / 0.5975 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.2185, allocations: 150.6 kB / 0.5976 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.017e-05/0.2186, allocations: 154.6 kB / 0.5978 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.2189, allocations: 465.9 kB / 0.5982 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.219, allocations: 173 kB / 0.5984 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.219, allocations: 80.14 kB / 0.5984 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.2191, allocations: 75.28 kB / 0.5985 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.059e-05/0.2191, allocations: 109.8 kB / 0.5986 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2191, allocations: 7.938 kB / 0.5986 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.67e-05/0.2192, allocations: 33.55 kB / 0.5987 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.2193, allocations: 126.7 kB / 0.5988 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2195, allocations: 133.8 kB / 0.5989 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.2195, allocations: 25.7 kB / 0.5989 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.2196, allocations: 96.03 kB / 0.599 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.2196, allocations: 7.938 kB / 0.599 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.2196, allocations: 13.72 kB / 0.599 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2198, allocations: 322.8 kB / 0.5994 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.441e-05/0.2198, allocations: 0 / 0.5994 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/0.2198, allocations: 8 kB / 0.5994 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.2199, allocations: 12.86 kB / 0.5994 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.2199, allocations: 3.938 kB / 0.5994 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001442/0.22, allocations: 49.62 kB / 0.5994 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.22, allocations: 10.03 kB / 0.5994 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.2201, allocations: 64 / 0.5994 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2201, allocations: 12.06 kB / 0.5994 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.2201, allocations: 0 / 0.5994 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2201, allocations: 0 / 0.5994 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.2201, allocations: 7.844 kB / 0.5995 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2201, allocations: 0 / 0.5995 GB, free: 6.586 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.0001325/0.2203, allocations: 193.1 kB / 0.5996 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.2204, allocations: 105 kB / 0.5997 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.2204, allocations: 124.8 kB / 0.5999 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.116e-05/0.2205, allocations: 176.3 kB / 0.6 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.897e-05/0.2206, allocations: 184.3 kB / 0.6002 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.551e-05/0.2207, allocations: 180.2 kB / 0.6004 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.2209, allocations: 417.1 kB / 0.6008 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.812e-05/0.221, allocations: 104.9 kB / 0.6009 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.221, allocations: 105 kB / 0.601 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-05/0.2211, allocations: 180.3 kB / 0.6011 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/0.2212, allocations: 184.2 kB / 0.6013 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.076e-05/0.2213, allocations: 180.2 kB / 0.6015 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.509e-05/0.2213, allocations: 180.2 kB / 0.6017 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.2215, allocations: 315.6 kB / 0.602 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.643e-05/0.2216, allocations: 194 kB / 0.6021 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.2217, allocations: 180.2 kB / 0.6023 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.2218, allocations: 104.9 kB / 0.6024 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.2219, allocations: 184.3 kB / 0.6026 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.2219, allocations: 112.9 kB / 0.6027 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.25e-05/0.222, allocations: 99.25 kB / 0.6028 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.222, allocations: 0 / 0.6028 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007697/0.2228, allocations: 283.8 kB / 0.6031 GB, free: 2.652 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.001065/0.2238, allocations: 0.5287 MB / 0.6036 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.2239, allocations: 41.7 kB / 0.6036 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2239, allocations: 3.938 kB / 0.6036 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.224, allocations: 3.938 kB / 0.6036 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.2244, allocations: 0.5341 MB / 0.6042 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.2248, allocations: 261.9 kB / 0.6044 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.2251, allocations: 0.6848 MB / 0.6051 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.482e-05/0.2251, allocations: 4 kB / 0.6051 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.001e-05/0.2251, allocations: 7.438 kB / 0.6051 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.2251, allocations: 0 / 0.6051 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of Templates: time 0.3193/0.5444, allocations: 5.653 MB / 0.6106 GB, free: 48.4 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)