Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001363/0.001363, allocations: 189.5 kB / 16.14 MB, free: 6.703 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.428/1.428, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.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.648/1.648, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001384/0.001384, allocations: 67.81 kB / 0.6708 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2397, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004919/0.2447, allocations: 4.181 MB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003114/0.2478, allocations: 2.415 MB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.2482, allocations: 12 kB / 0.7892 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.2498, allocations: 0.4978 MB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.2502, allocations: 214.4 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.2504, allocations: 119.9 kB / 0.79 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006575/0.251, allocations: 0.8098 MB / 0.7908 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.2514, allocations: 276.1 kB / 0.791 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.2517, allocations: 263 kB / 0.7913 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.252, allocations: 318.6 kB / 0.7916 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.2521, allocations: 48 kB / 0.7916 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-05/0.2522, allocations: 44 kB / 0.7917 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.2523, allocations: 147.4 kB / 0.7918 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.2526, allocations: 362.3 kB / 0.7921 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006841/0.2533, allocations: 0.9693 MB / 0.7931 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2533, allocations: 0 / 0.7931 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2533, allocations: 0 / 0.7931 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.2533, allocations: 0 / 0.7931 GB, free: 3.281 MB / 0.6075 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.001348/0.2547, allocations: 0.9424 MB / 0.794 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2547, allocations: 8.031 kB / 0.794 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.2548, allocations: 76 kB / 0.7941 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.2554, allocations: 461.6 kB / 0.7945 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.2554, allocations: 37.38 kB / 0.7946 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.2555, allocations: 48.38 kB / 0.7946 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007463/0.2562, allocations: 430.8 kB / 0.795 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.2563, allocations: 0 / 0.795 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.2563, allocations: 20 kB / 0.795 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2563, allocations: 12 kB / 0.7951 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.257, allocations: 367.8 kB / 0.7954 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.2589, allocations: 1.535 MB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.2594, allocations: 342.7 kB / 0.7972 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/0.2599, allocations: 324.5 kB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.2599, allocations: 4 kB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2599, allocations: 38.44 kB / 0.7976 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.483e-06/0.26, allocations: 4 kB / 0.7976 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0009104/0.2609, allocations: 0.4899 MB / 0.7981 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.2609, allocations: 59.41 kB / 0.7981 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.2614, allocations: 489.9 kB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.2615, allocations: 29.7 kB / 0.7986 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.2616, allocations: 280.3 kB / 0.7989 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.2617, allocations: 145.8 kB / 0.799 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.2618, allocations: 66.02 kB / 0.7991 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.262, allocations: 358.8 kB / 0.7994 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.2622, allocations: 125.5 kB / 0.7996 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.2625, allocations: 133.1 kB / 0.7997 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.263, allocations: 294.2 kB / 0.8 GB, free: 12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.263, allocations: 0 / 0.8 GB, free: 12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006743/0.2637, allocations: 392.5 kB / 0.8003 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2637, allocations: 12 kB / 0.8003 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2637, allocations: 0 / 0.8003 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2637, allocations: 3.938 kB / 0.8003 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.2642, allocations: 123.9 kB / 0.8005 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2643, allocations: 4 kB / 0.8005 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.2645, allocations: 47.58 kB / 0.8005 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2646, allocations: 15.94 kB / 0.8005 GB, free: 11.41 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.2648, allocations: 198.4 kB / 0.8007 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/0.2649, allocations: 55.28 kB / 0.8008 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.265, allocations: 57.09 kB / 0.8008 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.265, allocations: 8 kB / 0.8008 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.265, allocations: 0 / 0.8008 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.265, allocations: 0 / 0.8008 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.2656, allocations: 0.5674 MB / 0.8014 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2656, allocations: 4 kB / 0.8014 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.2662, allocations: 127.8 kB / 0.8015 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.2662, allocations: 3.984 kB / 0.8015 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.2662, allocations: 15.98 kB / 0.8015 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2662, allocations: 0 / 0.8015 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2662, allocations: 0 / 0.8015 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.2672, allocations: 0.6518 MB / 0.8022 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.2673, allocations: 144.3 kB / 0.8023 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.2674, allocations: 8 kB / 0.8023 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.2677, allocations: 19.98 kB / 0.8023 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.2677, allocations: 19.97 kB / 0.8024 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.2678, allocations: 20 kB / 0.8024 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003704/0.2681, allocations: 355.1 kB / 0.8027 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.373e-06/0.2681, allocations: 0 / 0.8027 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003948/0.2685, allocations: 143.5 kB / 0.8028 GB, free: 8.941 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.000153/0.2687, allocations: 115.2 kB / 0.803 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005723/0.2693, allocations: 327.8 kB / 0.8033 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2693, allocations: 4 kB / 0.8033 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.2696, allocations: 175.8 kB / 0.8034 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.2703, allocations: 124.6 kB / 0.8036 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.2722, allocations: 1.415 MB / 0.8049 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.2726, allocations: 0.8668 MB / 0.8058 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.2728, allocations: 56.38 kB / 0.8058 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-05/0.2729, allocations: 35.44 kB / 0.8059 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.2729, allocations: 0 / 0.8059 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of Templates: time 0.01001/0.2829, allocations: 5.611 MB / 0.8114 GB, free: 308 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)