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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008691/0.0008689, allocations: 91.84 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.006205/0.006205, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9776/0.9776, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 8 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2085, allocations: 82.31 MB / 0.588 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001639/0.2102, allocations: 1.144 MB / 0.5891 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004404/0.2147, allocations: 2.893 MB / 0.592 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.2147, allocations: 0 / 0.592 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.2147, allocations: 0 / 0.592 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.532e-05/0.2148, allocations: 15.84 kB / 0.592 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.2182, allocations: 1.353 MB / 0.5933 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.092e-05/0.2183, allocations: 31.81 kB / 0.5933 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.2183, allocations: 7.984 kB / 0.5933 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.2184, allocations: 11.94 kB / 0.5934 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.674e-05/0.2184, allocations: 19.81 kB / 0.5934 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2184, allocations: 4 kB / 0.5934 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.2204, allocations: 1.42 MB / 0.5948 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.2205, allocations: 8 kB / 0.5948 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.2205, allocations: 41.58 kB / 0.5948 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.2219, allocations: 1.092 MB / 0.5959 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2219, allocations: 0 / 0.5959 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2219, allocations: 0 / 0.5959 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2219, allocations: 4 kB / 0.5959 GB, free: 10.54 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.0005934/0.2225, allocations: 0.4952 MB / 0.5964 GB, free: 10 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.2226, allocations: 16.67 kB / 0.5964 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.2227, allocations: 84.12 kB / 0.5965 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.2228, allocations: 250.3 kB / 0.5967 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.439e-05/0.2229, allocations: 150.9 kB / 0.5968 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/0.223, allocations: 166.4 kB / 0.597 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.12e-05/0.2231, allocations: 101 kB / 0.5971 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.2231, allocations: 75.28 kB / 0.5972 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/0.2232, allocations: 154.6 kB / 0.5973 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/0.2232, allocations: 154.5 kB / 0.5975 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.89e-05/0.2233, allocations: 150.6 kB / 0.5976 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.2236, allocations: 465.9 kB / 0.5981 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.2237, allocations: 173 kB / 0.5982 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.2237, allocations: 80.14 kB / 0.5983 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.2238, allocations: 83.27 kB / 0.5984 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.2238, allocations: 109.8 kB / 0.5985 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.2238, allocations: 0 / 0.5985 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.164e-05/0.2239, allocations: 33.55 kB / 0.5985 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.224, allocations: 130.7 kB / 0.5986 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.2241, allocations: 129.8 kB / 0.5988 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.2241, allocations: 25.7 kB / 0.5988 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.2242, allocations: 88.14 kB / 0.5989 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.2242, allocations: 0 / 0.5989 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.2242, allocations: 21.7 kB / 0.5989 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2244, allocations: 318.8 kB / 0.5992 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.2244, allocations: 4 kB / 0.5992 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/0.2244, allocations: 4 kB / 0.5992 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.2245, allocations: 16.84 kB / 0.5992 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2245, allocations: 3.938 kB / 0.5992 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001239/0.2246, allocations: 49.55 kB / 0.5993 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2246, allocations: 4 kB / 0.5993 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.2246, allocations: 8 kB / 0.5993 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2247, allocations: 4.062 kB / 0.5993 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.255e-06/0.2247, allocations: 3.984 kB / 0.5993 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2247, allocations: 0 / 0.5993 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.2247, allocations: 0 / 0.5993 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2247, allocations: 0 / 0.5993 GB, free: 6.82 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.0001029/0.2248, allocations: 197 kB / 0.5995 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/0.2249, allocations: 108.9 kB / 0.5996 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.042e-05/0.225, allocations: 116.9 kB / 0.5997 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.525e-05/0.225, allocations: 184.3 kB / 0.5999 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.471e-05/0.2251, allocations: 184.3 kB / 0.6 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.904e-05/0.2252, allocations: 180.2 kB / 0.6002 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.2254, allocations: 409.2 kB / 0.6006 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-05/0.2255, allocations: 108.9 kB / 0.6007 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.2256, allocations: 109 kB / 0.6008 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-05/0.2256, allocations: 180.3 kB / 0.601 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.2257, allocations: 180.2 kB / 0.6012 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.724e-05/0.2258, allocations: 180.3 kB / 0.6013 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.229e-05/0.2258, allocations: 180.2 kB / 0.6015 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.226, allocations: 319.6 kB / 0.6018 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.2261, allocations: 182.1 kB / 0.602 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-05/0.2262, allocations: 176.3 kB / 0.6021 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.2263, allocations: 108.9 kB / 0.6022 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.2263, allocations: 176.3 kB / 0.6024 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.2264, allocations: 116.9 kB / 0.6025 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.2265, allocations: 105.5 kB / 0.6026 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2265, allocations: 0 / 0.6026 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007084/0.2272, allocations: 279.8 kB / 0.6029 GB, free: 2.895 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.001028/0.2282, allocations: 0.5136 MB / 0.6034 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.557e-05/0.2283, allocations: 37.7 kB / 0.6034 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2283, allocations: 0 / 0.6034 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.456e-06/0.2284, allocations: 4 kB / 0.6034 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.2288, allocations: 0.5372 MB / 0.604 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.2291, allocations: 255.7 kB / 0.6042 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.2294, allocations: 0.6809 MB / 0.6049 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.584e-05/0.2294, allocations: 8.016 kB / 0.6049 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.107e-05/0.2294, allocations: 11.44 kB / 0.6049 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.2294, allocations: 0 / 0.6049 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of Templates: time 0.3365/0.5659, allocations: 5.438 MB / 0.6102 GB, free: 48.45 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)