Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001277/0.001277, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 197.8 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.632/2.632, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 66.22 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2543, allocations: 159.2 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002468/0.2568, allocations: 1.434 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003893/0.2607, allocations: 2.857 MB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.2608, allocations: 0 / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.2608, allocations: 7.922 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.711e-05/0.2608, allocations: 11.86 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00312/0.264, allocations: 1.57 MB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.264, allocations: 39.75 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.2641, allocations: 3.984 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.2641, allocations: 15.94 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.765e-05/0.2641, allocations: 15.88 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.2642, allocations: 4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.266, allocations: 1.423 MB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.266, allocations: 11.98 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.266, allocations: 11.88 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.2673, allocations: 1.084 MB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2673, allocations: 0 / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2673, allocations: 0 / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2673, allocations: 0 / 1.072 GB, free: 5.66 MB / 0.8262 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.0005382/0.2679, allocations: 0.5107 MB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2679, allocations: 12.03 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.753e-05/0.268, allocations: 106 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.2681, allocations: 84.12 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.2682, allocations: 251.5 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.2683, allocations: 162.9 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.2684, allocations: 150.9 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.267e-05/0.2684, allocations: 108.9 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.2685, allocations: 75.28 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/0.2685, allocations: 150.6 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.2686, allocations: 150.6 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.617e-05/0.2686, allocations: 150.6 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.2689, allocations: 473.8 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.433e-05/0.269, allocations: 173.1 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.2691, allocations: 80.14 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.2691, allocations: 87.25 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.2692, allocations: 113.8 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.2692, allocations: 0 / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.856e-05/0.2692, allocations: 37.55 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.2693, allocations: 126.7 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2694, allocations: 127.5 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2694, allocations: 25.7 kB / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.2695, allocations: 104 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.2695, allocations: 0 / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.2695, allocations: 17.72 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2697, allocations: 318.8 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.2697, allocations: 4 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.809e-05/0.2697, allocations: 8 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.2698, allocations: 8.859 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2698, allocations: 0 / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001114/0.2699, allocations: 57.56 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2699, allocations: 4 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.2699, allocations: 4 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2699, allocations: 4.062 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.2699, allocations: 0 / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.27, allocations: 0 / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.27, allocations: 7.844 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.27, allocations: 0 / 1.076 GB, free: 1.789 MB / 0.8262 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 9.625e-05/0.2701, allocations: 185.1 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.2702, allocations: 112.9 kB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.2702, allocations: 112.8 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.618e-05/0.2703, allocations: 180.3 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.816e-05/0.2704, allocations: 184.2 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.748e-05/0.2704, allocations: 180.2 kB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.2707, allocations: 413.2 kB / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-05/0.2707, allocations: 108.9 kB / 1.077 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.2708, allocations: 105 kB / 1.077 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.27e-05/0.2709, allocations: 180.2 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-05/0.2709, allocations: 184.2 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-05/0.271, allocations: 180.3 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.97e-05/0.2711, allocations: 188.2 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.2712, allocations: 315.6 kB / 1.078 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.2713, allocations: 190 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.2714, allocations: 180.3 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.2715, allocations: 104.9 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.2716, allocations: 180.3 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.2716, allocations: 108.9 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.999e-05/0.2717, allocations: 100.8 kB / 1.079 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2717, allocations: 0 / 1.079 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005913/0.2723, allocations: 279.8 kB / 1.08 GB, free: 13.88 MB / 0.8419 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.001175/0.2735, allocations: 1.156 MB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.57e-05/0.2736, allocations: 41.64 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2736, allocations: 0 / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.2736, allocations: 0 / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.274, allocations: 468.4 kB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2753, allocations: 1.569 MB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.2756, allocations: 0.6884 MB / 1.083 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.026e-05/0.2756, allocations: 48 / 1.083 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.2756, allocations: 15.47 kB / 1.083 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2756, allocations: 0 / 1.083 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.04/1.316, allocations: 6.864 MB / 1.09 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.6, allocations: 16.44 kB / 1.09 GB, free: 3.113 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)