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.001212/0.001212, allocations: 106.8 kB / 16.37 MB, free: 6.012 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.001206/0.001206, allocations: 195.2 kB / 17.31 MB, free: 5.613 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.746/0.746, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 55.91 kB / 0.5068 GB, free: 7.598 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3033, allocations: 80.91 MB / 0.5858 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002065/0.3054, allocations: 1.424 MB / 0.5872 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.3085, allocations: 2.831 MB / 0.59 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.3085, allocations: 1 kB / 0.59 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.3085, allocations: 7.922 kB / 0.59 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.818e-05/0.3086, allocations: 13.7 kB / 0.59 GB, free: 22.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.3113, allocations: 1.553 MB / 0.5915 GB, free: 20.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.3114, allocations: 39.69 kB / 0.5916 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.3114, allocations: 7.984 kB / 0.5916 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.3114, allocations: 11.94 kB / 0.5916 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.994e-05/0.3114, allocations: 11.94 kB / 0.5916 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.3115, allocations: 4 kB / 0.5916 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.3129, allocations: 1.484 MB / 0.5931 GB, free: 19.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.3129, allocations: 11.88 kB / 0.5931 GB, free: 19.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.3129, allocations: 15.88 kB / 0.5931 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009237/0.3139, allocations: 1.062 MB / 0.5941 GB, free: 18.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3139, allocations: 0.5 kB / 0.5941 GB, free: 18.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3139, allocations: 5.062 kB / 0.5941 GB, free: 18.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.3139, allocations: 0 / 0.5941 GB, free: 18.18 MB / 446.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.0003844/0.3143, allocations: 0.5201 MB / 0.5946 GB, free: 17.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.3143, allocations: 8.031 kB / 0.5946 GB, free: 17.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.3144, allocations: 84.12 kB / 0.5947 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.851e-05/0.3144, allocations: 251.5 kB / 0.595 GB, free: 17.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3145, allocations: 152.3 kB / 0.5951 GB, free: 17.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3145, allocations: 154.5 kB / 0.5952 GB, free: 16.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.18e-05/0.3145, allocations: 106 kB / 0.5953 GB, free: 16.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3145, allocations: 77.38 kB / 0.5954 GB, free: 16.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.3146, allocations: 150.6 kB / 0.5956 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.3146, allocations: 154.6 kB / 0.5957 GB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.736e-05/0.3146, allocations: 157.2 kB / 0.5959 GB, free: 16.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.3148, allocations: 465.9 kB / 0.5963 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.614e-05/0.3148, allocations: 173.5 kB / 0.5965 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/0.3148, allocations: 80.77 kB / 0.5966 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.3149, allocations: 77.38 kB / 0.5966 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.3149, allocations: 105.8 kB / 0.5967 GB, free: 15.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.3149, allocations: 0 / 0.5967 GB, free: 15.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.701e-05/0.3149, allocations: 39.12 kB / 0.5968 GB, free: 15.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.315, allocations: 130.6 kB / 0.5969 GB, free: 15.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.3151, allocations: 132 kB / 0.597 GB, free: 15.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/0.3151, allocations: 26.39 kB / 0.597 GB, free: 15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.3151, allocations: 92.7 kB / 0.5971 GB, free: 14.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.3151, allocations: 2.094 kB / 0.5971 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.3151, allocations: 13.72 kB / 0.5971 GB, free: 14.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.756e-05/0.3152, allocations: 322.8 kB / 0.5974 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.3152, allocations: 0 / 0.5974 GB, free: 14.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.3152, allocations: 5.094 kB / 0.5975 GB, free: 14.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.3153, allocations: 12.86 kB / 0.5975 GB, free: 14.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3153, allocations: 7.875 kB / 0.5975 GB, free: 14.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.372e-05/0.3154, allocations: 55.38 kB / 0.5975 GB, free: 14.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.3154, allocations: 4 kB / 0.5975 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.3154, allocations: 4 kB / 0.5975 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.3154, allocations: 0 / 0.5975 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.3154, allocations: 0 / 0.5975 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3154, allocations: 1.688 kB / 0.5975 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.3155, allocations: 4 kB / 0.5975 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-06/0.3155, allocations: 7.984 kB / 0.5975 GB, free: 14.45 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 4.529e-05/0.3155, allocations: 186.6 kB / 0.5977 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.3156, allocations: 108.9 kB / 0.5978 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.3156, allocations: 109.8 kB / 0.5979 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.3156, allocations: 185 kB / 0.5981 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-05/0.3156, allocations: 197.1 kB / 0.5983 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.3157, allocations: 186.5 kB / 0.5985 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.3158, allocations: 413.2 kB / 0.5989 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.3158, allocations: 104.9 kB / 0.599 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.3158, allocations: 101 kB / 0.5991 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-05/0.3158, allocations: 185 kB / 0.5992 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.3159, allocations: 185 kB / 0.5994 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.772e-05/0.3159, allocations: 179.2 kB / 0.5996 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-05/0.3159, allocations: 180.2 kB / 0.5998 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.191e-05/0.316, allocations: 312.9 kB / 0.6001 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.316, allocations: 186 kB / 0.6002 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.316, allocations: 177.4 kB / 0.6004 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.3161, allocations: 108.9 kB / 0.6005 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.3161, allocations: 182.4 kB / 0.6007 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3161, allocations: 108.9 kB / 0.6008 GB, free: 10.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.3162, allocations: 97.61 kB / 0.6009 GB, free: 10.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3162, allocations: 0 / 0.6009 GB, free: 10.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004986/0.3167, allocations: 282.1 kB / 0.6012 GB, free: 10.56 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.0007577/0.3174, allocations: 0.5091 MB / 0.6016 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.38e-05/0.3175, allocations: 42.28 kB / 0.6017 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3175, allocations: 0 / 0.6017 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3175, allocations: 2.75 kB / 0.6017 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.3178, allocations: 467.6 kB / 0.6021 GB, free: 9.535 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002155/0.318, allocations: 238.2 kB / 0.6024 GB, free: 9.277 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.941e-05/0.3181, allocations: 0.6807 MB / 0.603 GB, free: 8.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.063e-05/0.3181, allocations: 0.7812 kB / 0.603 GB, free: 8.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-06/0.3182, allocations: 11.44 kB / 0.603 GB, free: 8.559 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3182, allocations: 1.719 kB / 0.603 GB, free: 8.559 MB / 446.1 MB Notification: Performance of Templates: time 0.006808/0.325, allocations: 5.428 MB / 0.6083 GB, free: 3.207 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)