Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001251/0.001251, allocations: 108 kB / 15.6 MB, free: 128 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.001314/0.001314, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7201/0.7201, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 68.42 kB / 0.5018 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4025, allocations: 80.21 MB / 0.5802 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002575/0.4052, allocations: 1.412 MB / 0.5815 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.409, allocations: 2.837 MB / 0.5843 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.4091, allocations: 0 / 0.5843 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.4092, allocations: 6.875 kB / 0.5843 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.749e-05/0.4092, allocations: 14.8 kB / 0.5843 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004081/0.4133, allocations: 1.541 MB / 0.5858 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.521e-05/0.4134, allocations: 40.72 kB / 0.5859 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.4135, allocations: 9.766 kB / 0.5859 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.343e-05/0.4135, allocations: 20.67 kB / 0.5859 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.027e-05/0.4135, allocations: 15.89 kB / 0.5859 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.4136, allocations: 1.312 kB / 0.5859 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.4159, allocations: 1.416 MB / 0.5873 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.4159, allocations: 2.656 kB / 0.5873 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.4159, allocations: 28.11 kB / 0.5873 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.4175, allocations: 1.066 MB / 0.5884 GB, free: 316 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4175, allocations: 0.8438 kB / 0.5884 GB, free: 316 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4175, allocations: 0 / 0.5884 GB, free: 316 kB / 430.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.4175, allocations: 0 / 0.5884 GB, free: 316 kB / 430.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.000625/0.4182, allocations: 0.5125 MB / 0.5889 GB, free: 15.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4182, allocations: 9.844 kB / 0.5889 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.4183, allocations: 82.44 kB / 0.589 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.4184, allocations: 253.7 kB / 0.5892 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/0.4185, allocations: 152.6 kB / 0.5893 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.4186, allocations: 154.5 kB / 0.5895 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.532e-05/0.4186, allocations: 110.1 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.4187, allocations: 76.16 kB / 0.5897 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.4187, allocations: 151.2 kB / 0.5898 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.4188, allocations: 155.7 kB / 0.59 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/0.4189, allocations: 154.6 kB / 0.5901 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.4192, allocations: 465.5 kB / 0.5906 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.571e-05/0.4192, allocations: 178.6 kB / 0.5907 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.4193, allocations: 80.14 kB / 0.5908 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.4193, allocations: 76.69 kB / 0.5909 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.4194, allocations: 110.8 kB / 0.591 GB, free: 13.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.4194, allocations: 0.8438 kB / 0.591 GB, free: 13.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.13e-05/0.4194, allocations: 32.98 kB / 0.591 GB, free: 13.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.4195, allocations: 130.6 kB / 0.5911 GB, free: 13.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.4196, allocations: 132.7 kB / 0.5913 GB, free: 13.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.4197, allocations: 25.7 kB / 0.5913 GB, free: 13.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.4197, allocations: 88.67 kB / 0.5914 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.4197, allocations: 0 / 0.5914 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.4198, allocations: 24.31 kB / 0.5914 GB, free: 13.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4199, allocations: 318.8 kB / 0.5917 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.4199, allocations: 3 kB / 0.5917 GB, free: 12.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.4199, allocations: 3.578 kB / 0.5917 GB, free: 12.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.42, allocations: 14.89 kB / 0.5917 GB, free: 12.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.42, allocations: 4.719 kB / 0.5917 GB, free: 12.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001213/0.4201, allocations: 52.95 kB / 0.5918 GB, free: 12.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4201, allocations: 5.344 kB / 0.5918 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.4202, allocations: 3.016 kB / 0.5918 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4202, allocations: 5.125 kB / 0.5918 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-07/0.4202, allocations: 0 / 0.5918 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4202, allocations: 5.891 kB / 0.5918 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.4202, allocations: 0 / 0.5918 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.4202, allocations: 1.312 kB / 0.5918 GB, free: 12.77 MB / 446.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 9.707e-05/0.4203, allocations: 195.3 kB / 0.592 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.4204, allocations: 109.1 kB / 0.5921 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.4205, allocations: 115.6 kB / 0.5922 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.216e-05/0.4205, allocations: 182.8 kB / 0.5924 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.508e-05/0.4206, allocations: 186.1 kB / 0.5925 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.438e-05/0.4207, allocations: 185.6 kB / 0.5927 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.4209, allocations: 413.5 kB / 0.5931 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/0.4209, allocations: 105.9 kB / 0.5932 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.421, allocations: 107.1 kB / 0.5933 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.097e-05/0.421, allocations: 177.5 kB / 0.5935 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.4211, allocations: 185.8 kB / 0.5937 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.034e-05/0.4212, allocations: 177.9 kB / 0.5938 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.994e-05/0.4212, allocations: 182.6 kB / 0.594 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.4214, allocations: 311.1 kB / 0.5943 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.4214, allocations: 188.6 kB / 0.5945 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.4215, allocations: 178.9 kB / 0.5947 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.4216, allocations: 106.4 kB / 0.5948 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.4217, allocations: 177.7 kB / 0.5949 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.4217, allocations: 107.6 kB / 0.595 GB, free: 9.281 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.886e-05/0.4218, allocations: 105.9 kB / 0.5951 GB, free: 9.195 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4218, allocations: 0.6875 kB / 0.5951 GB, free: 9.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008561/0.4227, allocations: 276.2 kB / 0.5954 GB, free: 9.129 MB / 446.1 MB 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.001072/0.4237, allocations: 0.509 MB / 0.5959 GB, free: 8.867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.88e-05/0.4238, allocations: 43.45 kB / 0.5959 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4239, allocations: 0 / 0.5959 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.4239, allocations: 0 / 0.5959 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.4242, allocations: 469.9 kB / 0.5964 GB, free: 8.371 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.4246, allocations: 243.9 kB / 0.5966 GB, free: 8.156 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.4248, allocations: 0.6817 MB / 0.5973 GB, free: 7.461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.436e-05/0.4248, allocations: 4.781 kB / 0.5973 GB, free: 7.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.083e-05/0.4249, allocations: 9.344 kB / 0.5973 GB, free: 7.449 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4249, allocations: 0 / 0.5973 GB, free: 7.449 MB / 446.1 MB Notification: Performance of Templates: time 0.009172/0.434, allocations: 5.448 MB / 0.6026 GB, free: 5.098 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)