Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.2 MB / 303.2 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 199.8 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008685/0.0008683, allocations: 105.7 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004521, allocations: 12.94 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2676, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003088/0.2707, allocations: 3.266 MB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.2731, allocations: 2.23 MB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.2734, allocations: 11.94 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.2744, allocations: 482.2 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.2748, allocations: 243.4 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.2749, allocations: 91.91 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.2754, allocations: 0.5679 MB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.2757, allocations: 241.5 kB / 0.9865 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.276, allocations: 231.1 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.2762, allocations: 262.9 kB / 0.9869 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.2763, allocations: 36 kB / 0.987 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.878e-05/0.2764, allocations: 36 kB / 0.987 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.712e-05/0.2765, allocations: 115.5 kB / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.2766, allocations: 165.4 kB / 0.9873 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.277, allocations: 0.7867 MB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2771, allocations: 0 / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2771, allocations: 0 / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.2771, allocations: 0 / 0.988 GB, free: 18.8 MB / 0.6198 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.001105/0.2782, allocations: 0.8488 MB / 0.9889 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2782, allocations: 12.02 kB / 0.9889 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.193e-05/0.2783, allocations: 90.52 kB / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.567e-05/0.2784, allocations: 75.16 kB / 0.989 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.2789, allocations: 444.6 kB / 0.9895 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.2789, allocations: 37 kB / 0.9895 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.279, allocations: 48 kB / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.2797, allocations: 422.5 kB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.2797, allocations: 7.938 kB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.2797, allocations: 20 kB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2798, allocations: 12 kB / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006221/0.2804, allocations: 375.8 kB / 0.9903 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.2821, allocations: 1.543 MB / 0.9918 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.2825, allocations: 334.7 kB / 0.9922 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.2826, allocations: 11.95 kB / 0.9922 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2826, allocations: 39.33 kB / 0.9922 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 2.915e-06/0.2826, allocations: 3.984 kB / 0.9922 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0008267/0.2834, allocations: 0.5028 MB / 0.9927 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.2835, allocations: 55.41 kB / 0.9928 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.2839, allocations: 481.9 kB / 0.9932 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.284, allocations: 37.7 kB / 0.9933 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.2841, allocations: 276.3 kB / 0.9935 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.459e-05/0.2842, allocations: 149.8 kB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.2842, allocations: 8 kB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.2843, allocations: 362.8 kB / 0.994 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.2846, allocations: 128.7 kB / 0.9941 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.2848, allocations: 129.2 kB / 0.9943 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.285, allocations: 150.6 kB / 0.9944 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.285, allocations: 0 / 0.9944 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005406/0.2856, allocations: 403.8 kB / 0.9948 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2856, allocations: 7.953 kB / 0.9948 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2856, allocations: 0 / 0.9948 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2856, allocations: 0 / 0.9948 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.2861, allocations: 131.9 kB / 0.9949 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2861, allocations: 0 / 0.9949 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.2864, allocations: 55.66 kB / 0.995 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.2864, allocations: 12 kB / 0.995 GB, free: 11.42 MB / 0.6198 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.0002034/0.2866, allocations: 191.3 kB / 0.9952 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.2867, allocations: 51.34 kB / 0.9952 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.2868, allocations: 69.05 kB / 0.9953 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.2868, allocations: 4 kB / 0.9953 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.2868, allocations: 0 / 0.9953 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2869, allocations: 3.984 kB / 0.9953 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.2874, allocations: 0.5674 MB / 0.9958 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2874, allocations: 4 kB / 0.9959 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.2879, allocations: 131.8 kB / 0.996 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2879, allocations: 0 / 0.996 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.288, allocations: 12 kB / 0.996 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.288, allocations: 11.83 kB / 0.996 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.288, allocations: 0 / 0.996 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008581/0.2889, allocations: 0.6658 MB / 0.9966 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.289, allocations: 140.4 kB / 0.9968 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.289, allocations: 8 kB / 0.9968 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.2893, allocations: 27.98 kB / 0.9968 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.2893, allocations: 23.92 kB / 0.9968 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2894, allocations: 8 kB / 0.9968 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000317/0.2897, allocations: 351.1 kB / 0.9972 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2897, allocations: 0 / 0.9972 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003612/0.2901, allocations: 143.6 kB / 0.9973 GB, free: 8.934 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.2911, allocations: 1.227 MB / 0.9985 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005508/0.2916, allocations: 327.8 kB / 0.9988 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2917, allocations: 0 / 0.9988 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.2919, allocations: 187.8 kB / 0.999 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.2925, allocations: 109.9 kB / 0.9991 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.2968, allocations: 3.282 MB / 1.002 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.2971, allocations: 0.8824 MB / 1.003 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.2973, allocations: 56.33 kB / 1.003 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.2975, allocations: 187.4 kB / 1.003 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.2975, allocations: 0 / 1.003 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.32, allocations: 10.34 MB / 1.014 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.3203, allocations: 251.4 kB / 1.014 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/2.428, allocations: 6.594 kB / 1.014 GB, free: 8.234 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)