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.Functions.Validation.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.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.409/1.409, allocations: 252 MB / 267 MB, free: 10.95 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.001051/0.001051, allocations: 182.5 kB / 326.6 MB, free: 2.211 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.836/1.836, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.000836/0.000836, allocations: 87.98 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 13.78 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2336, allocations: 106.4 MB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00152/0.2352, allocations: 1.142 MB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003514/0.2387, allocations: 2.703 MB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.2388, allocations: 0 / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.2388, allocations: 7.922 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.874e-05/0.2389, allocations: 15.92 kB / 0.9041 GB, free: 60.24 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.242, allocations: 1.295 MB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.571e-05/0.2421, allocations: 43.62 kB / 0.9055 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.2422, allocations: 3.984 kB / 0.9055 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.076e-05/0.2422, allocations: 12 kB / 0.9055 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.2422, allocations: 19.88 kB / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.2423, allocations: 0 / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.2439, allocations: 1.232 MB / 0.9067 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.2439, allocations: 0 / 0.9067 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.2439, allocations: 37.64 kB / 0.9067 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007403/0.2447, allocations: 0.6982 MB / 0.9074 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2447, allocations: 0 / 0.9074 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2447, allocations: 0 / 0.9074 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.2447, allocations: 0 / 0.9074 GB, free: 56.91 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004461/0.2452, allocations: 0.5106 MB / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2452, allocations: 8.031 kB / 0.9079 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.2452, allocations: 109.8 kB / 0.908 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.2453, allocations: 83.23 kB / 0.9081 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/0.2454, allocations: 250.2 kB / 0.9083 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.2454, allocations: 154.5 kB / 0.9085 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.2455, allocations: 150.6 kB / 0.9086 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.916e-05/0.2455, allocations: 108.9 kB / 0.9087 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2455, allocations: 79.22 kB / 0.9088 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.2456, allocations: 154.6 kB / 0.909 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.2456, allocations: 150.6 kB / 0.9091 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.662e-05/0.2456, allocations: 154.5 kB / 0.9092 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.2458, allocations: 469.9 kB / 0.9097 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.2458, allocations: 169.1 kB / 0.9099 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.2459, allocations: 84.14 kB / 0.9099 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.2459, allocations: 75.28 kB / 0.91 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2459, allocations: 109.8 kB / 0.9101 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.2459, allocations: 4 kB / 0.9101 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.524e-05/0.246, allocations: 33.59 kB / 0.9101 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.246, allocations: 126.7 kB / 0.9103 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2461, allocations: 128.7 kB / 0.9104 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.2462, allocations: 33.64 kB / 0.9104 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.2462, allocations: 88.14 kB / 0.9105 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.2462, allocations: 0 / 0.9105 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.2462, allocations: 4 kB / 0.9105 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.2463, allocations: 326.8 kB / 0.9108 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.2463, allocations: 0 / 0.9108 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.2463, allocations: 4 kB / 0.9108 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.422e-05/0.2463, allocations: 8 kB / 0.9108 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2463, allocations: 0 / 0.9108 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.881e-05/0.2465, allocations: 49.59 kB / 0.9109 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2465, allocations: 4 kB / 0.9109 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.2465, allocations: 0 / 0.9109 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2465, allocations: 8.062 kB / 0.9109 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.2465, allocations: 0 / 0.9109 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2465, allocations: 0 / 0.9109 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.2466, allocations: 0 / 0.9109 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.2466, allocations: 4 kB / 0.9109 GB, free: 53.1 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.518e-05/0.2466, allocations: 203.1 kB / 0.9111 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.2467, allocations: 108.9 kB / 0.9112 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.2467, allocations: 108.9 kB / 0.9113 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.2467, allocations: 184.2 kB / 0.9115 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.711e-05/0.2468, allocations: 188.3 kB / 0.9117 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.2468, allocations: 180.2 kB / 0.9118 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.247, allocations: 413.2 kB / 0.9122 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.247, allocations: 105 kB / 0.9123 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.247, allocations: 108.9 kB / 0.9124 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.516e-05/0.2471, allocations: 180.3 kB / 0.9126 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.2471, allocations: 180.2 kB / 0.9128 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-05/0.2471, allocations: 184.2 kB / 0.9129 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.561e-05/0.2472, allocations: 180.2 kB / 0.9131 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.733e-05/0.2472, allocations: 315.6 kB / 0.9134 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.2473, allocations: 190 kB / 0.9136 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.2473, allocations: 176.3 kB / 0.9138 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.637e-05/0.2474, allocations: 101 kB / 0.9139 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.2474, allocations: 180.2 kB / 0.914 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2474, allocations: 113.3 kB / 0.9141 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.2475, allocations: 105.8 kB / 0.9142 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2475, allocations: 0 / 0.9142 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006187/0.2481, allocations: 271.8 kB / 0.9145 GB, free: 49.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001054/0.2492, allocations: 1.167 MB / 0.9156 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.633e-05/0.2493, allocations: 41.69 kB / 0.9157 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2493, allocations: 0 / 0.9157 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.2493, allocations: 0 / 0.9157 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.2496, allocations: 0.5302 MB / 0.9162 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006984/0.2503, allocations: 0.6747 MB / 0.9169 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2504, allocations: 0.6848 MB / 0.9175 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.303e-05/0.2504, allocations: 0 / 0.9175 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.2505, allocations: 15.42 kB / 0.9175 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2505, allocations: 0 / 0.9175 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.2699, allocations: 6.763 MB / 0.9241 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.2702, allocations: 319.1 kB / 0.9245 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.292, allocations: 0 / 0.9245 GB, free: 39.09 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)