Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.0007839/0.0007839, allocations: 96.62 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.004858/0.004858, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7666/0.7666, allocations: 132.4 MB / 423.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 12 kB / 0.504 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3889, allocations: 81.57 MB / 0.5837 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00284/0.3917, allocations: 2.691 MB / 0.5863 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.3943, allocations: 2.081 MB / 0.5884 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.3945, allocations: 8.688 kB / 0.5884 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.3959, allocations: 473.4 kB / 0.5888 GB, free: 368 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.3962, allocations: 135.1 kB / 0.589 GB, free: 280 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.3963, allocations: 54.5 kB / 0.589 GB, free: 240 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.3969, allocations: 463.7 kB / 0.5895 GB, free: 20 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.3971, allocations: 135.1 kB / 0.5896 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.3974, allocations: 141.1 kB / 0.5897 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.3976, allocations: 169.7 kB / 0.5899 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.3977, allocations: 18.59 kB / 0.5899 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.3977, allocations: 18.16 kB / 0.5899 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3979, allocations: 77.75 kB / 0.59 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.3981, allocations: 224.5 kB / 0.5902 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005851/0.3987, allocations: 0.5145 MB / 0.5907 GB, free: 15.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3987, allocations: 4 kB / 0.5907 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3987, allocations: 1.281 kB / 0.5907 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3987, allocations: 0 / 0.5907 GB, free: 15.46 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.0009951/0.3997, allocations: 0.6466 MB / 0.5913 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3998, allocations: 10.31 kB / 0.5914 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.679e-05/0.3999, allocations: 41.75 kB / 0.5914 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.4004, allocations: 381.3 kB / 0.5918 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.4004, allocations: 17.28 kB / 0.5918 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.035e-05/0.4005, allocations: 25.84 kB / 0.5918 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.401, allocations: 209.1 kB / 0.592 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.401, allocations: 4 kB / 0.592 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.401, allocations: 10.7 kB / 0.592 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.401, allocations: 5.594 kB / 0.592 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.4015, allocations: 170.2 kB / 0.5922 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.4029, allocations: 0.8732 MB / 0.593 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.4032, allocations: 164.5 kB / 0.5932 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.4035, allocations: 114 kB / 0.5933 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.4035, allocations: 6.031 kB / 0.5933 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.4035, allocations: 44.22 kB / 0.5933 GB, free: 13.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.4035, allocations: 0 / 0.5933 GB, free: 13.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006866/0.4042, allocations: 271.3 kB / 0.5936 GB, free: 13.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.4043, allocations: 52.94 kB / 0.5937 GB, free: 13.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.4049, allocations: 418.6 kB / 0.5941 GB, free: 13.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.4049, allocations: 30.95 kB / 0.5941 GB, free: 13.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.4051, allocations: 207.3 kB / 0.5943 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.4051, allocations: 60.67 kB / 0.5943 GB, free: 13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.4052, allocations: 22.39 kB / 0.5944 GB, free: 12.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4053, allocations: 352.4 kB / 0.5947 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.4055, allocations: 57.89 kB / 0.5947 GB, free: 12.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.4057, allocations: 65.22 kB / 0.5948 GB, free: 12.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.406, allocations: 153.2 kB / 0.595 GB, free: 12.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.406, allocations: 1.188 kB / 0.595 GB, free: 12.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000437/0.4065, allocations: 221.1 kB / 0.5952 GB, free: 12.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4065, allocations: 10.06 kB / 0.5952 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4065, allocations: 0 / 0.5952 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4065, allocations: 1.188 kB / 0.5952 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.4068, allocations: 53.33 kB / 0.5952 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4068, allocations: 0.9688 kB / 0.5952 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.407, allocations: 30.98 kB / 0.5953 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.407, allocations: 7.719 kB / 0.5953 GB, free: 12.41 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.000172/0.4072, allocations: 166.8 kB / 0.5954 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.4073, allocations: 40.41 kB / 0.5955 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.222e-05/0.4074, allocations: 41.05 kB / 0.5955 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4074, allocations: 5.859 kB / 0.5955 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4074, allocations: 1.062 kB / 0.5955 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4074, allocations: 1.266 kB / 0.5955 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.4079, allocations: 375.4 kB / 0.5959 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4079, allocations: 4 kB / 0.5959 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.4082, allocations: 53 kB / 0.5959 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4082, allocations: 10.08 kB / 0.5959 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.4082, allocations: 5.562 kB / 0.5959 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4082, allocations: 1.344 kB / 0.5959 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.4082, allocations: 0 / 0.5959 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006631/0.4089, allocations: 392.8 kB / 0.5963 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.911e-05/0.409, allocations: 118.3 kB / 0.5964 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.4091, allocations: 5.859 kB / 0.5964 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.4093, allocations: 15.7 kB / 0.5964 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.4093, allocations: 13.47 kB / 0.5965 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.4093, allocations: 3.703 kB / 0.5965 GB, free: 11.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003558/0.4097, allocations: 302 kB / 0.5968 GB, free: 11.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4097, allocations: 0 / 0.5968 GB, free: 11.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.41, allocations: 75.03 kB / 0.5968 GB, free: 11.41 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.0001217/0.4102, allocations: 110.6 kB / 0.5969 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003919/0.4106, allocations: 157 kB / 0.5971 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4106, allocations: 0 / 0.5971 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.4108, allocations: 90.06 kB / 0.5972 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/0.4114, allocations: 96.19 kB / 0.5973 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.4128, allocations: 0.9355 MB / 0.5982 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.4132, allocations: 0.7935 MB / 0.5989 GB, free: 9.902 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.4133, allocations: 39.48 kB / 0.599 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.4134, allocations: 24.48 kB / 0.599 GB, free: 9.887 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4134, allocations: 0 / 0.599 GB, free: 9.887 MB / 446.1 MB Notification: Performance of Templates: time 0.008038/0.4214, allocations: 3.674 MB / 0.6026 GB, free: 8.336 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)