Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009539/0.000954, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006185/0.006185, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.648/2.648, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 13.17 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2703, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003176/0.2735, allocations: 2.717 MB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.2762, allocations: 2.091 MB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.2765, allocations: 4 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.278, allocations: 474.1 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.2784, allocations: 143.1 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.2785, allocations: 47.97 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.2791, allocations: 465.8 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.2794, allocations: 123.9 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.2796, allocations: 131.3 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.2798, allocations: 171.1 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.2799, allocations: 20 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.182e-05/0.28, allocations: 16 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.2801, allocations: 83.67 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.2803, allocations: 228.6 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.2807, allocations: 0.5136 MB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2807, allocations: 4 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2807, allocations: 0 / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.2808, allocations: 0 / 1.066 GB, free: 13.61 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009697/0.2817, allocations: 0.6424 MB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2818, allocations: 11.97 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.99e-05/0.2819, allocations: 54.73 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.2819, allocations: 44.38 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.2824, allocations: 378.1 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.2825, allocations: 16.75 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.2825, allocations: 20.38 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.2829, allocations: 211.4 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2829, allocations: 3.984 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.283, allocations: 8 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.283, allocations: 4 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.2834, allocations: 181.6 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.2846, allocations: 0.8662 MB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2849, allocations: 166.5 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.2851, allocations: 118.8 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.2852, allocations: 4 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.2852, allocations: 42.55 kB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.2852, allocations: 0 / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0006104/0.2858, allocations: 279.1 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2859, allocations: 51.41 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.2863, allocations: 421.7 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2863, allocations: 25.7 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.2865, allocations: 208.2 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.2866, allocations: 74.95 kB / 1.07 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.2866, allocations: 17.72 kB / 1.07 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2867, allocations: 350.8 kB / 1.07 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2869, allocations: 59.97 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.287, allocations: 65.34 kB / 1.07 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.2873, allocations: 146 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2873, allocations: 0 / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003996/0.2877, allocations: 223 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2878, allocations: 4 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2878, allocations: 7.922 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2878, allocations: 4 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.288, allocations: 59.89 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2881, allocations: 4 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.2882, allocations: 23.89 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2883, allocations: 4 kB / 1.07 GB, free: 8.621 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 (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.0001501/0.2884, allocations: 161.8 kB / 1.071 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.2885, allocations: 39.52 kB / 1.071 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/0.2886, allocations: 43.53 kB / 1.071 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2886, allocations: 4 kB / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.2886, allocations: 0 / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2886, allocations: 4 kB / 1.071 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.289, allocations: 373.3 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.289, allocations: 0 / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.2892, allocations: 63.84 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2893, allocations: 0 / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.2893, allocations: 3.938 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2893, allocations: 4 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2893, allocations: 4 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.2899, allocations: 388.4 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.29, allocations: 124.6 kB / 1.072 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.29, allocations: 3.938 kB / 1.072 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.2902, allocations: 15.98 kB / 1.072 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.2903, allocations: 15.92 kB / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.2903, allocations: 8 kB / 1.072 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003103/0.2906, allocations: 295.2 kB / 1.072 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2906, allocations: 4.062 kB / 1.072 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003051/0.2909, allocations: 71.84 kB / 1.072 GB, free: 6.934 MB / 0.8262 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.0008628/0.2918, allocations: 0.9405 MB / 1.073 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.2922, allocations: 159.9 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2922, allocations: 0 / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.2923, allocations: 87.84 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.2929, allocations: 85.5 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.2975, allocations: 3.73 MB / 1.077 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.2979, allocations: 0.7992 MB / 1.078 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.298, allocations: 34.97 kB / 1.078 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.2982, allocations: 119.3 kB / 1.078 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.2982, allocations: 0 / 1.078 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.196/2.494, allocations: 7.379 MB / 1.085 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003439/2.494, allocations: 271.4 kB / 1.085 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/5.537, allocations: 1.25 kB / 1.085 GB, free: 9.41 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)