Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 90.36 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.006416/0.006416, allocations: 170.5 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.678/2.678, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 8.562 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2628, allocations: 159.6 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004407/0.2672, allocations: 3.795 MB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00348/0.2707, allocations: 2.34 MB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005135/0.2713, allocations: 8 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.273, allocations: 0.4978 MB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007336/0.2738, allocations: 218.4 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.2741, allocations: 123.9 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.2752, allocations: 0.802 MB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004722/0.2757, allocations: 280.2 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004111/0.2761, allocations: 242.9 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.2766, allocations: 286.6 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.263e-05/0.2767, allocations: 39.94 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.2768, allocations: 32 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.277, allocations: 131.4 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.2774, allocations: 359.9 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.2782, allocations: 0.9418 MB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2782, allocations: 4 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2782, allocations: 0 / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.042e-05/0.2782, allocations: 0 / 1.069 GB, free: 10.71 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001423/0.2797, allocations: 0.8374 MB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.2797, allocations: 11.97 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.2799, allocations: 86.7 kB / 1.07 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.28, allocations: 76.09 kB / 1.07 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.2806, allocations: 457.6 kB / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.2807, allocations: 41.38 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-05/0.2808, allocations: 48.38 kB / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.2816, allocations: 430.6 kB / 1.071 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.2816, allocations: 7.938 kB / 1.071 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.2816, allocations: 20 kB / 1.071 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.2817, allocations: 15.98 kB / 1.071 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007241/0.2824, allocations: 379.8 kB / 1.071 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.2845, allocations: 1.524 MB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.2851, allocations: 355.6 kB / 1.073 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.2855, allocations: 328.8 kB / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.2856, allocations: 15.86 kB / 1.073 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.2856, allocations: 42.5 kB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=42): time 1.853e-06/0.2856, allocations: 0 / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.0009584/0.2866, allocations: 0.4971 MB / 1.074 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.2866, allocations: 59.41 kB / 1.074 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/0.2872, allocations: 485.9 kB / 1.074 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.2872, allocations: 33.7 kB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.2874, allocations: 276.3 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.2875, allocations: 141.9 kB / 1.075 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.2876, allocations: 33.7 kB / 1.075 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2877, allocations: 370.8 kB / 1.075 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.288, allocations: 124.7 kB / 1.075 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.2883, allocations: 137.1 kB / 1.075 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.2888, allocations: 310.3 kB / 1.076 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2888, allocations: 0 / 1.076 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006657/0.2895, allocations: 408.6 kB / 1.076 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2895, allocations: 4 kB / 1.076 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2895, allocations: 0 / 1.076 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2895, allocations: 0 / 1.076 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.29, allocations: 135.8 kB / 1.076 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.29, allocations: 0 / 1.076 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.2903, allocations: 55.66 kB / 1.076 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.2904, allocations: 8 kB / 1.076 GB, free: 2.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 (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.0002292/0.2906, allocations: 205.6 kB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.2907, allocations: 55.28 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.2908, allocations: 61.11 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2908, allocations: 8 kB / 1.076 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2908, allocations: 3.984 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2908, allocations: 0 / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006508/0.2915, allocations: 0.5712 MB / 1.077 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2915, allocations: 3.938 kB / 1.077 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.292, allocations: 131.9 kB / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.292, allocations: 0 / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.2921, allocations: 8 kB / 1.077 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2921, allocations: 4 kB / 1.077 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2921, allocations: 0 / 1.077 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009773/0.2931, allocations: 0.6636 MB / 1.078 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.2932, allocations: 144.2 kB / 1.078 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.2933, allocations: 12 kB / 1.078 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.2935, allocations: 19.98 kB / 1.078 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.2936, allocations: 23.95 kB / 1.078 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.2936, allocations: 12 kB / 1.078 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003702/0.294, allocations: 351.1 kB / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.294, allocations: 0 / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003965/0.2944, allocations: 147.6 kB / 1.078 GB, free: 300 kB / 0.8262 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.001258/0.2957, allocations: 1.22 MB / 1.08 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006086/0.2963, allocations: 339.3 kB / 1.08 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2963, allocations: 0 / 1.08 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.2966, allocations: 187.9 kB / 1.08 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/0.2973, allocations: 118 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006663/0.304, allocations: 5.341 MB / 1.085 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3044, allocations: 0.8668 MB / 1.086 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001888/0.3046, allocations: 56.38 kB / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.3048, allocations: 188.9 kB / 1.087 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.3048, allocations: 4 kB / 1.087 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.088/3.393, allocations: 10.63 MB / 1.097 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.03301/3.426, allocations: 276.5 kB / 1.097 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.785/6.211, allocations: 0 / 1.097 GB, free: 13.18 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)