Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.652/1.652, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001103/0.001103, allocations: 183.2 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009428/0.0009428, allocations: 94.34 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004657, allocations: 9.844 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2631, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003039/0.2662, allocations: 2.432 MB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.2685, allocations: 1.953 MB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.2687, allocations: 8 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.2698, allocations: 448.3 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.27, allocations: 147.6 kB / 0.905 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.284e-05/0.27, allocations: 35.97 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.2704, allocations: 327.2 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.2706, allocations: 119 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.2708, allocations: 139.4 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.271, allocations: 151.3 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.271, allocations: 20 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.593e-05/0.2711, allocations: 16 kB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.2712, allocations: 71.69 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.2713, allocations: 109.5 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.2716, allocations: 430.7 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2716, allocations: 4 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2716, allocations: 0 / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.2716, allocations: 0 / 0.9064 GB, free: 57.41 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008713/0.2725, allocations: 0.65 MB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.2725, allocations: 8.031 kB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.66e-05/0.2726, allocations: 58.55 kB / 0.9071 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.2727, allocations: 51.38 kB / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.2732, allocations: 361.1 kB / 0.9075 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2732, allocations: 16.44 kB / 0.9075 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.2733, allocations: 16 kB / 0.9075 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.2736, allocations: 203.3 kB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2737, allocations: 0 / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.2737, allocations: 8 kB / 0.9077 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2737, allocations: 12 kB / 0.9077 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.2741, allocations: 177.5 kB / 0.9079 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009985/0.2751, allocations: 0.874 MB / 0.9088 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.2753, allocations: 162.5 kB / 0.9089 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.2754, allocations: 0 / 0.9089 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.2754, allocations: 30.56 kB / 0.9089 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.2754, allocations: 4 kB / 0.9089 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005707/0.276, allocations: 275.7 kB / 0.9092 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.276, allocations: 51.41 kB / 0.9093 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.2764, allocations: 413.7 kB / 0.9097 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2764, allocations: 29.7 kB / 0.9097 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2766, allocations: 216.2 kB / 0.9099 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.2766, allocations: 59.09 kB / 0.9099 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.2766, allocations: 4 kB / 0.91 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.2767, allocations: 346.8 kB / 0.9103 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.2769, allocations: 63.91 kB / 0.9103 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.277, allocations: 70.5 kB / 0.9104 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.2771, allocations: 67.97 kB / 0.9105 GB, free: 53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2771, allocations: 0 / 0.9105 GB, free: 53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003295/0.2775, allocations: 223.4 kB / 0.9107 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2775, allocations: 4 kB / 0.9107 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2775, allocations: 0 / 0.9107 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2775, allocations: 0 / 0.9107 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2778, allocations: 55.91 kB / 0.9107 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2778, allocations: 4 kB / 0.9107 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.2779, allocations: 27.83 kB / 0.9108 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.2779, allocations: 4 kB / 0.9108 GB, free: 52.69 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 (20): * Single equations (assignments): 20 * 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.0001282/0.2781, allocations: 165.8 kB / 0.9109 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.2781, allocations: 39.53 kB / 0.911 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.2782, allocations: 39.59 kB / 0.911 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.2782, allocations: 0 / 0.911 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2782, allocations: 3.938 kB / 0.911 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2782, allocations: 7.984 kB / 0.911 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.2786, allocations: 377.2 kB / 0.9114 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2786, allocations: 4 kB / 0.9114 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.2788, allocations: 55.97 kB / 0.9114 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2788, allocations: 0 / 0.9114 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2788, allocations: 4 kB / 0.9114 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2788, allocations: 7.938 kB / 0.9115 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2788, allocations: 3.984 kB / 0.9115 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.2794, allocations: 393.7 kB / 0.9118 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.2794, allocations: 116.7 kB / 0.9119 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.2795, allocations: 12 kB / 0.912 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.2796, allocations: 11.98 kB / 0.912 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.2797, allocations: 7.984 kB / 0.912 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.2797, allocations: 8 kB / 0.912 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002807/0.28, allocations: 299.1 kB / 0.9123 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.28, allocations: 0 / 0.9123 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002731/0.2803, allocations: 75.84 kB / 0.9123 GB, free: 50.99 MB / 0.6042 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 (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.0006711/0.281, allocations: 0.9384 MB / 0.9133 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003034/0.2813, allocations: 155.8 kB / 0.9134 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2813, allocations: 4 kB / 0.9134 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2814, allocations: 83.97 kB / 0.9135 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.2819, allocations: 85.44 kB / 0.9136 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.2847, allocations: 2.178 MB / 0.9157 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.285, allocations: 0.8109 MB / 0.9165 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000125/0.2851, allocations: 34.91 kB / 0.9165 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.2852, allocations: 119.4 kB / 0.9166 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.2852, allocations: 0 / 0.9166 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.3028, allocations: 7.154 MB / 0.9236 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.3031, allocations: 251.4 kB / 0.9239 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.454, allocations: 15.66 kB / 0.9239 GB, free: 39.29 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)