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.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-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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001673/0.001673, 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.002433/0.002433, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9303/0.9303, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 60.41 kB / 0.5054 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1984, allocations: 80.93 MB / 0.5844 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002643/0.2011, allocations: 1.42 MB / 0.5858 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004067/0.2052, allocations: 2.823 MB / 0.5886 GB, free: 228 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.2052, allocations: 0 / 0.5886 GB, free: 228 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.2053, allocations: 3.938 kB / 0.5886 GB, free: 224 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.2054, allocations: 15.84 kB / 0.5886 GB, free: 208 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.209, allocations: 1.543 MB / 0.5901 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.2091, allocations: 47.67 kB / 0.5901 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.2091, allocations: 288 / 0.5901 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.2091, allocations: 15.94 kB / 0.5902 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.859e-05/0.2092, allocations: 19.92 kB / 0.5902 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.2092, allocations: 0 / 0.5902 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.2111, allocations: 1.42 MB / 0.5916 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.2112, allocations: 3.938 kB / 0.5916 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.2112, allocations: 15.94 kB / 0.5916 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.2125, allocations: 1.072 MB / 0.5926 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2125, allocations: 0 / 0.5926 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2125, allocations: 0 / 0.5926 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2125, allocations: 0 / 0.5926 GB, free: 12.09 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.0005796/0.2131, allocations: 0.5146 MB / 0.5931 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2132, allocations: 8.031 kB / 0.5931 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.2132, allocations: 80.22 kB / 0.5932 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.2134, allocations: 259.4 kB / 0.5935 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.2135, allocations: 154.9 kB / 0.5936 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.2135, allocations: 158.5 kB / 0.5938 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.351e-05/0.2136, allocations: 108.9 kB / 0.5939 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.2136, allocations: 75.28 kB / 0.5939 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.2137, allocations: 150.6 kB / 0.5941 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.2137, allocations: 150.6 kB / 0.5942 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.2138, allocations: 158.6 kB / 0.5944 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.2141, allocations: 465.9 kB / 0.5948 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.559e-05/0.2142, allocations: 173 kB / 0.595 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.2142, allocations: 80.14 kB / 0.5951 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.2142, allocations: 79.28 kB / 0.5951 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.2143, allocations: 113.8 kB / 0.5952 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2143, allocations: 0 / 0.5952 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.981e-05/0.2144, allocations: 33.69 kB / 0.5953 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.2144, allocations: 130.7 kB / 0.5954 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2146, allocations: 131.9 kB / 0.5955 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2146, allocations: 25.7 kB / 0.5956 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.2147, allocations: 92.14 kB / 0.5956 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.2147, allocations: 3.938 kB / 0.5956 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.2147, allocations: 21.7 kB / 0.5957 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2148, allocations: 318.8 kB / 0.596 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.2149, allocations: 0 / 0.596 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.2149, allocations: 8 kB / 0.596 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.494e-05/0.2149, allocations: 12.84 kB / 0.596 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2149, allocations: 3.938 kB / 0.596 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001223/0.2151, allocations: 49.61 kB / 0.596 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2151, allocations: 4 kB / 0.596 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.2151, allocations: 8 kB / 0.5961 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2151, allocations: 4.062 kB / 0.5961 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.2151, allocations: 0 / 0.5961 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2151, allocations: 7.922 kB / 0.5961 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.2152, allocations: 3.938 kB / 0.5961 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.2152, allocations: 4 kB / 0.5961 GB, free: 8.324 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 9.787e-05/0.2153, allocations: 189 kB / 0.5963 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.2153, allocations: 108.9 kB / 0.5964 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.2154, allocations: 108.9 kB / 0.5965 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.224e-05/0.2155, allocations: 188.2 kB / 0.5966 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-05/0.2155, allocations: 180.3 kB / 0.5968 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.4e-05/0.2156, allocations: 180.2 kB / 0.597 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.2158, allocations: 417.2 kB / 0.5974 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.191e-05/0.2159, allocations: 101 kB / 0.5975 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.2159, allocations: 112.9 kB / 0.5976 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.803e-05/0.216, allocations: 176.3 kB / 0.5978 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.216, allocations: 184.2 kB / 0.5979 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.799e-05/0.2161, allocations: 176.3 kB / 0.5981 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.945e-05/0.2162, allocations: 184.2 kB / 0.5983 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.2163, allocations: 307.8 kB / 0.5986 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.2164, allocations: 193.9 kB / 0.5988 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.2164, allocations: 180.3 kB / 0.5989 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.2165, allocations: 105 kB / 0.599 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.2166, allocations: 188.2 kB / 0.5992 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.2166, allocations: 105 kB / 0.5993 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.808e-05/0.2167, allocations: 97.3 kB / 0.5994 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2167, allocations: 0 / 0.5994 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007005/0.2174, allocations: 275.8 kB / 0.5997 GB, free: 4.422 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.0009503/0.2184, allocations: 0.5188 MB / 0.6002 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.961e-05/0.2185, allocations: 41.64 kB / 0.6002 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2185, allocations: 0 / 0.6002 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.065e-06/0.2185, allocations: 4 kB / 0.6002 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.2189, allocations: 471.3 kB / 0.6007 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.2193, allocations: 240 kB / 0.6009 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2196, allocations: 0.6884 MB / 0.6016 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.2196, allocations: 0 / 0.6016 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.2196, allocations: 11.44 kB / 0.6016 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.2196, allocations: 0 / 0.6016 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of Templates: time 0.2729/0.4926, allocations: 5.443 MB / 0.6069 GB, free: 52.05 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)