Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00124/0.00124, allocations: 112.2 kB / 16.37 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.001257/0.001256, allocations: 191.9 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.851/1.851, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.91 kB / 0.673 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2343, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005019/0.2394, allocations: 3.044 MB / 0.7878 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4928/0.7322, allocations: 2.183 MB / 0.7899 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.7324, allocations: 2.875 kB / 0.7899 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.7337, allocations: 0.5023 MB / 0.7904 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.734, allocations: 146.7 kB / 0.7906 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.7341, allocations: 64.05 kB / 0.7906 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003915/0.7345, allocations: 450.8 kB / 0.7911 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.7347, allocations: 148.6 kB / 0.7912 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.7349, allocations: 163.1 kB / 0.7913 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.7351, allocations: 177.6 kB / 0.7915 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.7351, allocations: 35.09 kB / 0.7916 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.128e-05/0.7352, allocations: 34.41 kB / 0.7916 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.59e-05/0.7353, allocations: 102.9 kB / 0.7917 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.7354, allocations: 218.9 kB / 0.7919 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.7358, allocations: 0.5374 MB / 0.7924 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7358, allocations: 0 / 0.7924 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7358, allocations: 0 / 0.7924 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.7358, allocations: 0 / 0.7924 GB, free: 46.19 MB / 0.6544 GB 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.0008072/0.7366, allocations: 0.7045 MB / 0.7931 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.7367, allocations: 10.47 kB / 0.7931 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.7367, allocations: 47.78 kB / 0.7932 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.7372, allocations: 380.8 kB / 0.7935 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.7372, allocations: 15.94 kB / 0.7935 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.7373, allocations: 23.09 kB / 0.7936 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.7376, allocations: 207.4 kB / 0.7938 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.7376, allocations: 1.312 kB / 0.7938 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.7377, allocations: 9 kB / 0.7938 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.7377, allocations: 7.281 kB / 0.7938 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.738, allocations: 165 kB / 0.7939 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009433/0.739, allocations: 0.8603 MB / 0.7948 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.7392, allocations: 158 kB / 0.7949 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.7394, allocations: 111.9 kB / 0.795 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.7395, allocations: 0.6875 kB / 0.795 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.7395, allocations: 38.16 kB / 0.7951 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.7395, allocations: 0 / 0.7951 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.000523/0.74, allocations: 259.6 kB / 0.7953 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.7401, allocations: 59.72 kB / 0.7954 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.7404, allocations: 413.7 kB / 0.7958 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.7404, allocations: 32.42 kB / 0.7958 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.229e-05/0.7405, allocations: 205.7 kB / 0.796 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.7406, allocations: 57.91 kB / 0.796 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.7406, allocations: 36.02 kB / 0.7961 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.7407, allocations: 350.2 kB / 0.7964 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.7408, allocations: 53.33 kB / 0.7965 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.741, allocations: 62.09 kB / 0.7965 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.7412, allocations: 136.7 kB / 0.7967 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7412, allocations: 0 / 0.7967 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003348/0.7416, allocations: 210.3 kB / 0.7969 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.7416, allocations: 6.875 kB / 0.7969 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.7416, allocations: 0 / 0.7969 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.7416, allocations: 3.938 kB / 0.7969 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.7419, allocations: 53.81 kB / 0.7969 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.7419, allocations: 3.531 kB / 0.7969 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.742, allocations: 24.14 kB / 0.7969 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.742, allocations: 3.5 kB / 0.7969 GB, free: 44.06 MB / 0.6544 GB 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.0001194/0.7422, allocations: 162.8 kB / 0.7971 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.7422, allocations: 37.06 kB / 0.7971 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.7423, allocations: 42.38 kB / 0.7972 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7423, allocations: 3.469 kB / 0.7972 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.7423, allocations: 1.531 kB / 0.7972 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7423, allocations: 8.469 kB / 0.7972 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.7426, allocations: 377 kB / 0.7976 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7426, allocations: 2.812 kB / 0.7976 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.7429, allocations: 52.36 kB / 0.7976 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7429, allocations: 0.5625 kB / 0.7976 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.7429, allocations: 15.25 kB / 0.7976 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7429, allocations: 0 / 0.7976 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7429, allocations: 0 / 0.7976 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.7434, allocations: 380.4 kB / 0.798 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.7435, allocations: 112.3 kB / 0.7981 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.7436, allocations: 7.562 kB / 0.7981 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.7437, allocations: 18.08 kB / 0.7981 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.7438, allocations: 6.625 kB / 0.7981 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.7438, allocations: 3.375 kB / 0.7981 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00026/0.7441, allocations: 305.9 kB / 0.7984 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7441, allocations: 0.9375 kB / 0.7984 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003043/0.7444, allocations: 69.03 kB / 0.7985 GB, free: 43.34 MB / 0.6544 GB 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.0001205/0.7445, allocations: 108.4 kB / 0.7986 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.7448, allocations: 150.1 kB / 0.7987 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7448, allocations: 0 / 0.7987 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.745, allocations: 81.66 kB / 0.7988 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.7455, allocations: 90.59 kB / 0.7989 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.7469, allocations: 0.7865 MB / 0.7997 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.7472, allocations: 0.797 MB / 0.8004 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.7472, allocations: 24.94 kB / 0.8005 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.7472, allocations: 0 / 0.8005 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.009181/0.7564, allocations: 4.357 MB / 0.8047 GB, free: 41.79 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)