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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, 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.001065/0.001065, allocations: 174.4 kB / 327 MB, free: 2.094 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.753/1.753, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0008599/0.0008599, allocations: 81.61 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 9 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2361, allocations: 106.3 MB / 0.901 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003659/0.2398, allocations: 3.78 MB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.2423, allocations: 2.38 MB / 0.907 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.2426, allocations: 16 kB / 0.907 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.2438, allocations: 0.5017 MB / 0.9075 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.2441, allocations: 214.5 kB / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.2443, allocations: 115.9 kB / 0.9078 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000559/0.2449, allocations: 0.8079 MB / 0.9086 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.2452, allocations: 272.2 kB / 0.9088 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.2455, allocations: 246.9 kB / 0.9091 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.2457, allocations: 282.6 kB / 0.9093 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.2458, allocations: 36 kB / 0.9094 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.2459, allocations: 36 kB / 0.9094 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.246, allocations: 127.5 kB / 0.9095 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.2462, allocations: 363.9 kB / 0.9099 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.2468, allocations: 0.9379 MB / 0.9108 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2468, allocations: 3.984 kB / 0.9108 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2468, allocations: 0 / 0.9108 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2468, allocations: 0 / 0.9108 GB, free: 53.24 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001043/0.2479, allocations: 0.8412 MB / 0.9116 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2479, allocations: 12.03 kB / 0.9116 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.664e-05/0.248, allocations: 86.7 kB / 0.9117 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.364e-05/0.2481, allocations: 76.09 kB / 0.9118 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.2485, allocations: 453.7 kB / 0.9122 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.2486, allocations: 37.38 kB / 0.9123 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.2486, allocations: 48.38 kB / 0.9123 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.2493, allocations: 434.6 kB / 0.9127 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2493, allocations: 4 kB / 0.9127 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.2493, allocations: 20 kB / 0.9127 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.2493, allocations: 12 kB / 0.9128 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/0.2499, allocations: 379.8 kB / 0.9131 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.2515, allocations: 1.539 MB / 0.9146 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.252, allocations: 354.7 kB / 0.915 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.2524, allocations: 331.5 kB / 0.9153 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2524, allocations: 7.938 kB / 0.9153 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2524, allocations: 38.56 kB / 0.9153 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.886e-06/0.2525, allocations: 0 / 0.9153 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0008199/0.2533, allocations: 0.5125 MB / 0.9158 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.2533, allocations: 55.41 kB / 0.9159 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.2537, allocations: 489.9 kB / 0.9163 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2538, allocations: 37.7 kB / 0.9164 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2539, allocations: 276.3 kB / 0.9166 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.254, allocations: 141.9 kB / 0.9168 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.254, allocations: 8 kB / 0.9168 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.2541, allocations: 358.8 kB / 0.9171 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.2543, allocations: 128.7 kB / 0.9172 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.2545, allocations: 133.5 kB / 0.9174 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.255, allocations: 306.5 kB / 0.9177 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.255, allocations: 3.938 kB / 0.9177 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005208/0.2555, allocations: 408.4 kB / 0.9181 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2555, allocations: 8 kB / 0.9181 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2555, allocations: 0 / 0.9181 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2556, allocations: 0 / 0.9181 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.256, allocations: 131.9 kB / 0.9182 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.256, allocations: 0 / 0.9182 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.2563, allocations: 47.61 kB / 0.9182 GB, free: 45.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.2563, allocations: 12 kB / 0.9183 GB, free: 45.36 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 (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.0001689/0.2565, allocations: 201.8 kB / 0.9184 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.2565, allocations: 55.28 kB / 0.9185 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.765e-05/0.2566, allocations: 57.09 kB / 0.9186 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2566, allocations: 8 kB / 0.9186 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2567, allocations: 0 / 0.9186 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2567, allocations: 0 / 0.9186 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.2571, allocations: 0.5713 MB / 0.9191 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2571, allocations: 3.938 kB / 0.9191 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.2576, allocations: 131.8 kB / 0.9192 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2576, allocations: 7.984 kB / 0.9193 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.2577, allocations: 8 kB / 0.9193 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2577, allocations: 4 kB / 0.9193 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2577, allocations: 0 / 0.9193 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.2585, allocations: 0.6633 MB / 0.9199 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.661e-05/0.2586, allocations: 148.3 kB / 0.9201 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.2587, allocations: 4 kB / 0.9201 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.2589, allocations: 27.98 kB / 0.9201 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.259, allocations: 23.91 kB / 0.9201 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.259, allocations: 12 kB / 0.9201 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002987/0.2593, allocations: 355.1 kB / 0.9205 GB, free: 43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2593, allocations: 0 / 0.9205 GB, free: 43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003244/0.2596, allocations: 139.6 kB / 0.9206 GB, free: 42.87 MB / 0.6042 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.001014/0.2607, allocations: 1.235 MB / 0.9218 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.2612, allocations: 324.7 kB / 0.9221 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2612, allocations: 0 / 0.9221 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.2614, allocations: 195.5 kB / 0.9223 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.2621, allocations: 122.1 kB / 0.9224 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/0.2675, allocations: 5.322 MB / 0.9276 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2678, allocations: 0.8743 MB / 0.9285 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001929/0.268, allocations: 52.41 kB / 0.9285 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.2682, allocations: 191.3 kB / 0.9287 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of SimCode: time 9.41e-07/0.2682, allocations: 0 / 0.9287 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.2872, allocations: 10.63 MB / 0.9391 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.2874, allocations: 289.7 kB / 0.9394 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/2.782, allocations: 5 kB / 0.9394 GB, free: 23.74 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)