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.359/1.359, allocations: 252 MB / 267.3 MB, free: 10.85 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.001018/0.001018, allocations: 172.9 kB / 327 MB, free: 2.102 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.652/1.652, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0009177/0.0009177, allocations: 82.34 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005032, allocations: 10.59 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2311, allocations: 106.3 MB / 0.901 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003062/0.2342, allocations: 2.718 MB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.2369, allocations: 2.122 MB / 0.9057 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003812/0.2374, allocations: 4 kB / 0.9057 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.2391, allocations: 478.1 kB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.2396, allocations: 131.1 kB / 0.9063 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.2398, allocations: 47.97 kB / 0.9063 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006141/0.2404, allocations: 475.7 kB / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.2407, allocations: 123.9 kB / 0.9069 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.241, allocations: 147.4 kB / 0.907 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.2413, allocations: 163.1 kB / 0.9072 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.2413, allocations: 20 kB / 0.9072 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.2414, allocations: 20 kB / 0.9072 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2415, allocations: 83.61 kB / 0.9073 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.2418, allocations: 220.6 kB / 0.9075 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.2422, allocations: 0.5137 MB / 0.908 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2422, allocations: 3.984 kB / 0.908 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2422, allocations: 0 / 0.908 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.2423, allocations: 0 / 0.908 GB, free: 56.09 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.001172/0.2434, allocations: 0.6385 MB / 0.9086 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.2435, allocations: 12.02 kB / 0.9086 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.118e-05/0.2436, allocations: 54.73 kB / 0.9087 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.2437, allocations: 52.38 kB / 0.9087 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.2443, allocations: 370.1 kB / 0.9091 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2443, allocations: 16.81 kB / 0.9091 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.2444, allocations: 24.38 kB / 0.9091 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.2448, allocations: 211.3 kB / 0.9093 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.2448, allocations: 0 / 0.9093 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.2448, allocations: 8 kB / 0.9094 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2449, allocations: 8 kB / 0.9094 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.2453, allocations: 169.7 kB / 0.9095 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.2464, allocations: 0.874 MB / 0.9104 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.2468, allocations: 162.5 kB / 0.9105 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.247, allocations: 121 kB / 0.9106 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.247, allocations: 11.88 kB / 0.9107 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.247, allocations: 34.56 kB / 0.9107 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.013e-06/0.247, allocations: 0 / 0.9107 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005767/0.2476, allocations: 273.3 kB / 0.9109 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.2476, allocations: 59.31 kB / 0.911 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.2481, allocations: 413.7 kB / 0.9114 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2481, allocations: 29.7 kB / 0.9114 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2482, allocations: 204.2 kB / 0.9116 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.2482, allocations: 67.09 kB / 0.9117 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.2483, allocations: 4 kB / 0.9117 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.2483, allocations: 346.8 kB / 0.912 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2485, allocations: 59.97 kB / 0.9121 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2486, allocations: 74.48 kB / 0.9121 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.2489, allocations: 140.8 kB / 0.9123 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2489, allocations: 0 / 0.9123 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000374/0.2493, allocations: 219.1 kB / 0.9125 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2493, allocations: 4 kB / 0.9125 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2493, allocations: 7.938 kB / 0.9125 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2493, allocations: 7.984 kB / 0.9125 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.2496, allocations: 55.97 kB / 0.9126 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.2496, allocations: 0 / 0.9126 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.2498, allocations: 27.83 kB / 0.9126 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2498, allocations: 4 kB / 0.9126 GB, free: 51.15 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.25, allocations: 169.8 kB / 0.9128 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.25, allocations: 35.53 kB / 0.9128 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.2501, allocations: 43.53 kB / 0.9128 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2501, allocations: 8 kB / 0.9128 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2501, allocations: 0 / 0.9128 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.2501, allocations: 0 / 0.9128 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.2505, allocations: 377.2 kB / 0.9132 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.2505, allocations: 0 / 0.9132 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.2508, allocations: 59.91 kB / 0.9133 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2508, allocations: 4 kB / 0.9133 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.2508, allocations: 7.938 kB / 0.9133 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.2508, allocations: 0 / 0.9133 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2508, allocations: 0 / 0.9133 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.2514, allocations: 393.6 kB / 0.9136 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.2515, allocations: 124.6 kB / 0.9138 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.2515, allocations: 7.938 kB / 0.9138 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2517, allocations: 15.98 kB / 0.9138 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.2518, allocations: 8.047 kB / 0.9138 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.2518, allocations: 8 kB / 0.9138 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002694/0.2521, allocations: 311.1 kB / 0.9141 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2521, allocations: 0 / 0.9141 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002895/0.2524, allocations: 71.84 kB / 0.9142 GB, free: 49.45 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 (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.0007617/0.2531, allocations: 0.9344 MB / 0.9151 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.2535, allocations: 157.4 kB / 0.9152 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2535, allocations: 0 / 0.9152 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.2536, allocations: 86.41 kB / 0.9153 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.2542, allocations: 88.67 kB / 0.9154 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.2584, allocations: 3.73 MB / 0.919 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.2587, allocations: 0.7951 MB / 0.9198 GB, free: 43.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001528/0.2589, allocations: 38.95 kB / 0.9199 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.259, allocations: 115.4 kB / 0.92 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.259, allocations: 0 / 0.92 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.2785, allocations: 7.38 MB / 0.9272 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.2788, allocations: 291.7 kB / 0.9274 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/2.784, allocations: 4.062 kB / 0.9275 GB, free: 35.91 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)