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.001218/0.001218, allocations: 102.2 kB / 16.27 MB, free: 6 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.001242/0.001242, allocations: 191 kB / 17.2 MB, free: 5.609 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8346/0.8346, allocations: 132.2 MB / 423.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 63.91 kB / 0.5025 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4471, allocations: 80.19 MB / 0.5808 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004391/0.4515, allocations: 3.008 MB / 0.5837 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.4542, allocations: 2.154 MB / 0.5858 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.4545, allocations: 3.5 kB / 0.5858 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.456, allocations: 0.5028 MB / 0.5863 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.4564, allocations: 143.9 kB / 0.5865 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.4565, allocations: 61.03 kB / 0.5865 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000441/0.4569, allocations: 443.9 kB / 0.5869 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.4572, allocations: 168.5 kB / 0.5871 GB, free: 22.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.4574, allocations: 156.7 kB / 0.5872 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.4577, allocations: 178.7 kB / 0.5874 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.4577, allocations: 38.67 kB / 0.5875 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.4578, allocations: 34.97 kB / 0.5875 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.4579, allocations: 98.52 kB / 0.5876 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.4581, allocations: 213.7 kB / 0.5878 GB, free: 22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.4586, allocations: 0.5413 MB / 0.5883 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4586, allocations: 0 / 0.5883 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4586, allocations: 1.875 kB / 0.5883 GB, free: 21.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.4586, allocations: 0 / 0.5883 GB, free: 21.59 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.001012/0.4597, allocations: 0.699 MB / 0.589 GB, free: 20.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4597, allocations: 9.781 kB / 0.589 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.115e-05/0.4598, allocations: 42.81 kB / 0.589 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.4602, allocations: 384.2 kB / 0.5894 GB, free: 20.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.4603, allocations: 17.06 kB / 0.5894 GB, free: 20.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.4603, allocations: 29.36 kB / 0.5895 GB, free: 20.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.4607, allocations: 197.8 kB / 0.5896 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.4607, allocations: 0 / 0.5896 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.4608, allocations: 9.5 kB / 0.5897 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.4608, allocations: 5.281 kB / 0.5897 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.4612, allocations: 169 kB / 0.5898 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.4625, allocations: 0.8658 MB / 0.5907 GB, free: 19.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.4628, allocations: 146.9 kB / 0.5908 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.463, allocations: 119.2 kB / 0.5909 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.4631, allocations: 7.391 kB / 0.5909 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.4631, allocations: 39.69 kB / 0.591 GB, free: 19.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.833e-06/0.4631, allocations: 2.969 kB / 0.591 GB, free: 19.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006076/0.4637, allocations: 253.3 kB / 0.5912 GB, free: 19.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.4638, allocations: 55 kB / 0.5913 GB, free: 19.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.4642, allocations: 414 kB / 0.5917 GB, free: 18.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.4642, allocations: 29.7 kB / 0.5917 GB, free: 18.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.4643, allocations: 212.2 kB / 0.5919 GB, free: 18.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.4644, allocations: 63.73 kB / 0.592 GB, free: 18.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.4644, allocations: 29.7 kB / 0.592 GB, free: 18.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.4645, allocations: 347.9 kB / 0.5923 GB, free: 18.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.4646, allocations: 60.59 kB / 0.5924 GB, free: 18.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.4648, allocations: 62.2 kB / 0.5924 GB, free: 18.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.465, allocations: 134.9 kB / 0.5926 GB, free: 17.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4651, allocations: 0 / 0.5926 GB, free: 17.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003302/0.4654, allocations: 210.4 kB / 0.5928 GB, free: 17.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4654, allocations: 11.88 kB / 0.5928 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4654, allocations: 0.5938 kB / 0.5928 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4655, allocations: 0 / 0.5928 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.4657, allocations: 57.88 kB / 0.5928 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.4657, allocations: 0 / 0.5928 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.4659, allocations: 23.77 kB / 0.5928 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.4659, allocations: 4 kB / 0.5929 GB, free: 17.63 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.0001351/0.4661, allocations: 164.3 kB / 0.593 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.4661, allocations: 35.56 kB / 0.593 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.74e-05/0.4662, allocations: 39.59 kB / 0.5931 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4662, allocations: 4 kB / 0.5931 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4662, allocations: 0 / 0.5931 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4662, allocations: 3.438 kB / 0.5931 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.4666, allocations: 385.2 kB / 0.5935 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4666, allocations: 4 kB / 0.5935 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.4668, allocations: 55.97 kB / 0.5935 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4668, allocations: 3.938 kB / 0.5935 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.4668, allocations: 0 / 0.5935 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4669, allocations: 4 kB / 0.5935 GB, free: 16.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4669, allocations: 0 / 0.5935 GB, free: 16.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.4674, allocations: 385.5 kB / 0.5939 GB, free: 16.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.4675, allocations: 120.6 kB / 0.594 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.4675, allocations: 4.562 kB / 0.594 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4677, allocations: 13.05 kB / 0.594 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.4677, allocations: 7.984 kB / 0.594 GB, free: 16.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4677, allocations: 10.06 kB / 0.594 GB, free: 16.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.468, allocations: 299.2 kB / 0.5943 GB, free: 16.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.468, allocations: 0 / 0.5943 GB, free: 16.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.4683, allocations: 71.84 kB / 0.5944 GB, free: 15.98 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.0001395/0.4685, allocations: 108 kB / 0.5945 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.4689, allocations: 153.7 kB / 0.5946 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4689, allocations: 0 / 0.5946 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.469, allocations: 81.11 kB / 0.5947 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.4697, allocations: 95.08 kB / 0.5948 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.4709, allocations: 0.787 MB / 0.5956 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.4711, allocations: 0.7912 MB / 0.5963 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.4712, allocations: 27.44 kB / 0.5964 GB, free: 13.94 MB / 446.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4712, allocations: 0 / 0.5964 GB, free: 13.94 MB / 446.1 MB Notification: Performance of Templates: time 0.005612/0.4768, allocations: 4.36 MB / 0.6006 GB, free: 9.617 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)