Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001221/0.001222, allocations: 193.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.313/1.313, 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.7675/0.7675, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 0.5068 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.315, allocations: 80.9 MB / 0.5858 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003346/0.3184, allocations: 3.02 MB / 0.5888 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.3205, allocations: 2.152 MB / 0.5909 GB, free: 21.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.3207, allocations: 4 kB / 0.5909 GB, free: 21.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.3218, allocations: 0.4929 MB / 0.5913 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.322, allocations: 156.9 kB / 0.5915 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.341e-05/0.3221, allocations: 55.94 kB / 0.5915 GB, free: 20.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.3224, allocations: 445.8 kB / 0.592 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.3226, allocations: 153.5 kB / 0.5921 GB, free: 20.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3227, allocations: 155.4 kB / 0.5923 GB, free: 20.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.3229, allocations: 183.1 kB / 0.5924 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.3229, allocations: 36 kB / 0.5925 GB, free: 19.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.315e-05/0.323, allocations: 41.12 kB / 0.5925 GB, free: 19.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.957e-05/0.3231, allocations: 95.66 kB / 0.5926 GB, free: 19.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.3232, allocations: 218.9 kB / 0.5928 GB, free: 19.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.3235, allocations: 0.5467 MB / 0.5933 GB, free: 18.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3235, allocations: 0 / 0.5933 GB, free: 18.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3235, allocations: 0 / 0.5933 GB, free: 18.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3235, allocations: 0 / 0.5933 GB, free: 18.95 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007393/0.3243, allocations: 0.6993 MB / 0.594 GB, free: 18.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.3243, allocations: 10.92 kB / 0.594 GB, free: 18.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.3244, allocations: 52.36 kB / 0.5941 GB, free: 18.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.3247, allocations: 378.1 kB / 0.5944 GB, free: 17.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3248, allocations: 18.19 kB / 0.5945 GB, free: 17.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.3248, allocations: 20.12 kB / 0.5945 GB, free: 17.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.3251, allocations: 207.3 kB / 0.5947 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3251, allocations: 1.156 kB / 0.5947 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3252, allocations: 12 kB / 0.5947 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3252, allocations: 7.984 kB / 0.5947 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.3255, allocations: 161.3 kB / 0.5949 GB, free: 17.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008251/0.3263, allocations: 0.8661 MB / 0.5957 GB, free: 16.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.3266, allocations: 157.4 kB / 0.5959 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.3267, allocations: 112.8 kB / 0.596 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3268, allocations: 0 / 0.596 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.3268, allocations: 39.66 kB / 0.596 GB, free: 16.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.062e-06/0.3268, allocations: 4 kB / 0.596 GB, free: 16.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004528/0.3272, allocations: 247.3 kB / 0.5962 GB, free: 15.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.3273, allocations: 55.41 kB / 0.5963 GB, free: 15.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.3276, allocations: 422.5 kB / 0.5967 GB, free: 15.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3276, allocations: 29.7 kB / 0.5967 GB, free: 15.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.3277, allocations: 201.1 kB / 0.5969 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.3277, allocations: 63.09 kB / 0.597 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.3278, allocations: 39.5 kB / 0.597 GB, free: 14.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.3279, allocations: 346.8 kB / 0.5973 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.328, allocations: 51.97 kB / 0.5974 GB, free: 14.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3281, allocations: 60.97 kB / 0.5974 GB, free: 14.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.3283, allocations: 143.6 kB / 0.5976 GB, free: 14.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3283, allocations: 1.219 kB / 0.5976 GB, free: 14.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002848/0.3286, allocations: 199.8 kB / 0.5978 GB, free: 14.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3286, allocations: 10.81 kB / 0.5978 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3286, allocations: 0.6875 kB / 0.5978 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3287, allocations: 4 kB / 0.5978 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.3289, allocations: 60.95 kB / 0.5979 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3289, allocations: 0 / 0.5979 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.329, allocations: 20.97 kB / 0.5979 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.329, allocations: 8 kB / 0.5979 GB, free: 14.09 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001031/0.3291, allocations: 165 kB / 0.598 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.3292, allocations: 39.47 kB / 0.5981 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.3293, allocations: 43.58 kB / 0.5981 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3293, allocations: 0 / 0.5981 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3293, allocations: 0 / 0.5981 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3293, allocations: 4 kB / 0.5981 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.3296, allocations: 377.2 kB / 0.5985 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3296, allocations: 0.9375 kB / 0.5985 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.3298, allocations: 55.89 kB / 0.5985 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3298, allocations: 5.188 kB / 0.5985 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3298, allocations: 8 kB / 0.5985 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3298, allocations: 0 / 0.5985 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3298, allocations: 2.375 kB / 0.5985 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.3303, allocations: 380.1 kB / 0.5989 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.3304, allocations: 120.6 kB / 0.599 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.3304, allocations: 11.98 kB / 0.599 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3306, allocations: 8.531 kB / 0.599 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.3306, allocations: 13.48 kB / 0.5991 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.3306, allocations: 4 kB / 0.5991 GB, free: 12.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.3309, allocations: 307.1 kB / 0.5994 GB, free: 12.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3309, allocations: 0 / 0.5994 GB, free: 12.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3311, allocations: 73.25 kB / 0.5994 GB, free: 12.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.000103/0.3313, allocations: 107.2 kB / 0.5995 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.3316, allocations: 145.1 kB / 0.5997 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3316, allocations: 1.438 kB / 0.5997 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3317, allocations: 75.91 kB / 0.5997 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.3322, allocations: 105.9 kB / 0.5998 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/0.3332, allocations: 0.7405 MB / 0.6006 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.3334, allocations: 0.8067 MB / 0.6013 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.976e-05/0.3335, allocations: 30.97 kB / 0.6014 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.3335, allocations: 23.44 kB / 0.6014 GB, free: 10.39 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3335, allocations: 0 / 0.6014 GB, free: 10.39 MB / 446.1 MB Notification: Performance of Templates: time 0.00631/0.3398, allocations: 3.941 MB / 0.6053 GB, free: 6.562 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)