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.00116/0.00116, allocations: 107.5 kB / 15.99 MB, free: 5.91 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.001092/0.001092, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.461/1.461, allocations: 205.1 MB / 222.8 MB, free: 4.562 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.814/1.814, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001365/0.001365, allocations: 63.88 kB / 0.6717 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2547, allocations: 114.6 MB / 0.7836 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005329/0.2601, allocations: 4.184 MB / 0.7876 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00331/0.2635, allocations: 2.407 MB / 0.79 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003018/0.2638, allocations: 12 kB / 0.79 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.2654, allocations: 0.494 MB / 0.7905 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.2659, allocations: 222.4 kB / 0.7907 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.2661, allocations: 115.9 kB / 0.7908 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006988/0.2668, allocations: 0.8059 MB / 0.7916 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.2672, allocations: 326.5 kB / 0.7919 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.2676, allocations: 294.9 kB / 0.7922 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.2679, allocations: 334.6 kB / 0.7925 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.156e-05/0.268, allocations: 76 kB / 0.7926 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/0.2681, allocations: 76 kB / 0.7927 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.2682, allocations: 171.4 kB / 0.7928 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.2685, allocations: 386.3 kB / 0.7932 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00068/0.2692, allocations: 0.8104 MB / 0.794 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2692, allocations: 0 / 0.794 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.885e-06/0.2693, allocations: 0 / 0.794 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.2693, allocations: 0 / 0.794 GB, free: 3.148 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.001552/0.2708, allocations: 0.9463 MB / 0.7949 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2709, allocations: 16.03 kB / 0.7949 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.271, allocations: 79.94 kB / 0.795 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.2715, allocations: 465.5 kB / 0.7954 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.2716, allocations: 33.38 kB / 0.7955 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.2717, allocations: 48.38 kB / 0.7955 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.2724, allocations: 430.8 kB / 0.7959 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.2724, allocations: 0 / 0.7959 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.2725, allocations: 20 kB / 0.7959 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.2725, allocations: 12 kB / 0.796 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000627/0.2731, allocations: 367.8 kB / 0.7963 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.2751, allocations: 1.528 MB / 0.7978 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.2756, allocations: 347.5 kB / 0.7981 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/0.276, allocations: 320.5 kB / 0.7984 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.276, allocations: 8 kB / 0.7984 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2761, allocations: 42.48 kB / 0.7985 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.453e-06/0.2761, allocations: 0 / 0.7985 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0008871/0.277, allocations: 0.4937 MB / 0.799 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.277, allocations: 55.41 kB / 0.799 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.2775, allocations: 485.9 kB / 0.7995 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.2776, allocations: 33.7 kB / 0.7995 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.2777, allocations: 276.3 kB / 0.7998 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.2779, allocations: 149.8 kB / 0.7999 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/0.278, allocations: 58.08 kB / 0.8 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2781, allocations: 370.8 kB / 0.8003 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.2783, allocations: 124.7 kB / 0.8004 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.2786, allocations: 129.2 kB / 0.8006 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.279, allocations: 290.2 kB / 0.8008 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.279, allocations: 0 / 0.8008 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005917/0.2796, allocations: 400.4 kB / 0.8012 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2797, allocations: 4 kB / 0.8012 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2797, allocations: 0 / 0.8012 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2797, allocations: 4 kB / 0.8012 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.2802, allocations: 123.9 kB / 0.8014 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2802, allocations: 0 / 0.8014 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.2805, allocations: 55.56 kB / 0.8014 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.2805, allocations: 12 kB / 0.8014 GB, free: 11.27 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.0002024/0.2807, allocations: 194.4 kB / 0.8016 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.2808, allocations: 55.38 kB / 0.8017 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.2809, allocations: 57.11 kB / 0.8017 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.2809, allocations: 7.984 kB / 0.8017 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2809, allocations: 4 kB / 0.8017 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.2809, allocations: 3.984 kB / 0.8017 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.2815, allocations: 0.5712 MB / 0.8023 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2816, allocations: 0 / 0.8023 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/0.2821, allocations: 131.7 kB / 0.8024 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2821, allocations: 4 kB / 0.8024 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.2821, allocations: 4 kB / 0.8024 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2821, allocations: 4 kB / 0.8024 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2821, allocations: 3.938 kB / 0.8024 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009072/0.283, allocations: 0.6518 MB / 0.8031 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.2832, allocations: 140.3 kB / 0.8032 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.229e-05/0.2832, allocations: 12 kB / 0.8032 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.2835, allocations: 19.98 kB / 0.8032 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.2835, allocations: 27.95 kB / 0.8033 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2836, allocations: 12 kB / 0.8033 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000371/0.2839, allocations: 347.1 kB / 0.8036 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2839, allocations: 0 / 0.8036 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003904/0.2843, allocations: 139.7 kB / 0.8037 GB, free: 8.805 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.0001486/0.2845, allocations: 111.2 kB / 0.8038 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006769/0.2852, allocations: 355.7 kB / 0.8042 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2852, allocations: 0 / 0.8042 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.2855, allocations: 179.8 kB / 0.8043 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/0.2862, allocations: 128.5 kB / 0.8045 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.2882, allocations: 1.466 MB / 0.8059 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.2886, allocations: 0.8665 MB / 0.8067 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.2888, allocations: 39.44 kB / 0.8068 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.2888, allocations: 0 / 0.8068 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of Templates: time 0.009645/0.2984, allocations: 6.83 MB / 0.8135 GB, free: 14.84 MB / 0.6387 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)