Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.097/2.097, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 183.3 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.422/2.422, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009417/0.0009416, allocations: 93.81 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000631/0.0006312, allocations: 20.22 kB / 0.7958 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2088, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004956/0.2138, allocations: 3.604 MB / 0.9031 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003991/0.2179, allocations: 2.253 MB / 0.9053 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005279/0.2185, allocations: 12 kB / 0.9053 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.2203, allocations: 449.9 kB / 0.9057 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007832/0.2211, allocations: 214.5 kB / 0.9059 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.2215, allocations: 79.92 kB / 0.906 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009799/0.2225, allocations: 0.7681 MB / 0.9067 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005089/0.223, allocations: 273.5 kB / 0.907 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.2234, allocations: 227.1 kB / 0.9072 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.2238, allocations: 274.7 kB / 0.9075 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.111e-05/0.2239, allocations: 36 kB / 0.9075 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.224, allocations: 36 kB / 0.9075 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.2242, allocations: 123.5 kB / 0.9077 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.2243, allocations: 165.3 kB / 0.9078 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008102/0.2252, allocations: 0.7829 MB / 0.9086 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.392e-05/0.2252, allocations: 4 kB / 0.9086 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.607e-06/0.2252, allocations: 0 / 0.9086 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.2253, allocations: 0 / 0.9086 GB, free: 56.18 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001733/0.227, allocations: 0.8452 MB / 0.9094 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.2271, allocations: 12.03 kB / 0.9094 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.2272, allocations: 79.98 kB / 0.9095 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007286/0.228, allocations: 434.1 kB / 0.9099 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.228, allocations: 33.38 kB / 0.9099 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.617e-05/0.2281, allocations: 52.38 kB / 0.91 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.2293, allocations: 442.7 kB / 0.9104 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.2294, allocations: 3.906 kB / 0.9104 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.2294, allocations: 20 kB / 0.9104 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.2295, allocations: 12 kB / 0.9104 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.2305, allocations: 371.8 kB / 0.9108 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.2334, allocations: 1.543 MB / 0.9123 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007549/0.2342, allocations: 339.7 kB / 0.9126 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/0.235, allocations: 363.3 kB / 0.913 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.235, allocations: 8 kB / 0.913 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2351, allocations: 46.28 kB / 0.913 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 4.438e-06/0.2351, allocations: 0 / 0.913 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.001434/0.2365, allocations: 0.5041 MB / 0.9135 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.2366, allocations: 59.34 kB / 0.9136 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007485/0.2373, allocations: 481.9 kB / 0.914 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.2374, allocations: 29.7 kB / 0.9141 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.2376, allocations: 276.4 kB / 0.9143 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.2377, allocations: 145.8 kB / 0.9145 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.2378, allocations: 12 kB / 0.9145 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2379, allocations: 362.8 kB / 0.9148 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.2383, allocations: 124.7 kB / 0.9149 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.2387, allocations: 133.2 kB / 0.9151 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.2391, allocations: 141.9 kB / 0.9152 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2391, allocations: 0 / 0.9152 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001043/0.2402, allocations: 396.7 kB / 0.9156 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2402, allocations: 17.48 kB / 0.9156 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2402, allocations: 0 / 0.9156 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.2403, allocations: 0 / 0.9156 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009045/0.2412, allocations: 139.7 kB / 0.9157 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.2412, allocations: 3.984 kB / 0.9157 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.2417, allocations: 55.58 kB / 0.9158 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.2418, allocations: 8 kB / 0.9158 GB, free: 48.54 MB / 0.6042 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003281/0.2421, allocations: 197.8 kB / 0.916 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2422, allocations: 55.28 kB / 0.916 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.2423, allocations: 65.09 kB / 0.9161 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2424, allocations: 0 / 0.9161 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2424, allocations: 0 / 0.9161 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.2425, allocations: 140.4 kB / 0.9162 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.2426, allocations: 4 kB / 0.9162 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.2431, allocations: 23.98 kB / 0.9163 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.2432, allocations: 27.95 kB / 0.9163 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001807/0.245, allocations: 0.533 MB / 0.9168 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001514/0.2465, allocations: 0.7471 MB / 0.9175 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004165/0.247, allocations: 168.3 kB / 0.9177 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005358/0.2475, allocations: 347.1 kB / 0.918 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of Backend: time 7.02e-07/0.2475, allocations: 0 / 0.918 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.2486, allocations: 287.4 kB / 0.9183 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002808/0.2514, allocations: 1.869 MB / 0.9201 GB, free: 43.99 MB / 0.6042 GB Notification: Performance of Templates: time 0.01674/0.2682, allocations: 6.098 MB / 0.9261 GB, free: 38 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)