Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_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_10_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007621/0.007621, allocations: 102.2 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 196.3 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.448/2.448, allocations: 437 MB / 0.7105 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2556, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00245/0.2581, allocations: 1.432 MB / 1.168 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00398/0.2621, allocations: 2.856 MB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.2622, allocations: 4 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.2623, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.2623, allocations: 11.86 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.266, allocations: 1.573 MB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.577e-05/0.2661, allocations: 43.67 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.2661, allocations: 4 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.2662, allocations: 15.92 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.727e-05/0.2662, allocations: 19.92 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.2662, allocations: 4 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.2683, allocations: 1.482 MB / 1.174 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.2684, allocations: 7.938 kB / 1.174 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.2684, allocations: 15.88 kB / 1.174 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.27, allocations: 1.089 MB / 1.175 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.27, allocations: 3.938 kB / 1.175 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.27, allocations: 0 / 1.175 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.27, allocations: 0 / 1.175 GB, free: 14.8 MB / 0.9356 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.0006169/0.2706, allocations: 0.5223 MB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2707, allocations: 8.031 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.2707, allocations: 106 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.2708, allocations: 80.22 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.2709, allocations: 251.5 kB / 1.176 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.271, allocations: 150.9 kB / 1.176 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.271, allocations: 154.9 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.638e-05/0.2711, allocations: 116.9 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.2711, allocations: 75.28 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.2712, allocations: 154.5 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.2712, allocations: 154.6 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.2713, allocations: 150.6 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.2715, allocations: 465.9 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.072e-05/0.2716, allocations: 169.1 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.2717, allocations: 80.14 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.2717, allocations: 79.22 kB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.2717, allocations: 113.8 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2717, allocations: 0 / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.851e-05/0.2718, allocations: 29.7 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.2719, allocations: 126.7 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.272, allocations: 143.8 kB / 1.178 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.272, allocations: 25.7 kB / 1.178 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.2721, allocations: 92.14 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.2721, allocations: 0 / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.2721, allocations: 17.72 kB / 1.178 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.2722, allocations: 322.8 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.2722, allocations: 4 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.2723, allocations: 4 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.765e-05/0.2723, allocations: 16.91 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2723, allocations: 0 / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001167/0.2724, allocations: 53.56 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2724, allocations: 4 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.2725, allocations: 4 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2725, allocations: 4.062 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.2725, allocations: 3.938 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2725, allocations: 0 / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.2725, allocations: 7.906 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2725, allocations: 0 / 1.178 GB, free: 10.93 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.207e-05/0.2726, allocations: 185.1 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.2727, allocations: 116.8 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.2727, allocations: 108.9 kB / 1.179 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.503e-05/0.2728, allocations: 188.2 kB / 1.179 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.358e-05/0.2728, allocations: 176.3 kB / 1.179 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.164e-05/0.2729, allocations: 184.2 kB / 1.179 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.2731, allocations: 413.2 kB / 1.179 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-05/0.2731, allocations: 108.9 kB / 1.18 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.2732, allocations: 105 kB / 1.18 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.826e-05/0.2732, allocations: 180.3 kB / 1.18 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.432e-05/0.2733, allocations: 184.2 kB / 1.18 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-05/0.2733, allocations: 176.3 kB / 1.18 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.184e-05/0.2734, allocations: 180.2 kB / 1.18 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.2735, allocations: 315.7 kB / 1.181 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.2736, allocations: 189.9 kB / 1.181 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.2737, allocations: 176.3 kB / 1.181 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.2737, allocations: 112.9 kB / 1.181 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.2738, allocations: 180.3 kB / 1.181 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.2738, allocations: 109 kB / 1.181 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.547e-05/0.2739, allocations: 95.27 kB / 1.181 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2739, allocations: 0 / 1.181 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007323/0.2746, allocations: 279.8 kB / 1.182 GB, free: 7.023 MB / 0.9356 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 (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.001306/0.276, allocations: 1.164 MB / 1.183 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.175e-05/0.2761, allocations: 37.7 kB / 1.183 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2761, allocations: 0 / 1.183 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/0.2761, allocations: 3.938 kB / 1.183 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.2765, allocations: 477.6 kB / 1.183 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.2778, allocations: 1.57 MB / 1.185 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.278, allocations: 0.6807 MB / 1.186 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.402e-05/0.278, allocations: 3.938 kB / 1.186 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.2781, allocations: 15.42 kB / 1.186 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.2781, allocations: 0 / 1.186 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3017, allocations: 6.878 MB / 1.192 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/7.793, allocations: 10.83 kB / 1.192 GB, free: 12.26 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)