Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.924/1.924, allocations: 288.2 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 173.1 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 0.6305 GB, free: 9.938 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008591/0.0008592, allocations: 97.59 kB / 0.7439 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004266, allocations: 20.58 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2698, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002977/0.2729, allocations: 2.42 MB / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.2754, allocations: 1.942 MB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.2756, allocations: 8 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.2768, allocations: 446.4 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.2771, allocations: 151.6 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.2772, allocations: 35.97 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.2775, allocations: 325.1 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.2777, allocations: 111 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2779, allocations: 143.4 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.2781, allocations: 147.3 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.2781, allocations: 20 kB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.496e-05/0.2782, allocations: 16 kB / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.267e-05/0.2783, allocations: 71.69 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.2783, allocations: 109.5 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.2786, allocations: 446.7 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2786, allocations: 4 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2787, allocations: 0 / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.2787, allocations: 0 / 0.9857 GB, free: 21.2 MB / 0.6198 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.0008592/0.2795, allocations: 0.6461 MB / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2796, allocations: 11.97 kB / 0.9864 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.2797, allocations: 54.55 kB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.2797, allocations: 55.38 kB / 0.9865 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.2802, allocations: 357.1 kB / 0.9868 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2802, allocations: 16.44 kB / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.2802, allocations: 16 kB / 0.9868 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.2806, allocations: 211.3 kB / 0.987 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2806, allocations: 0 / 0.987 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.2807, allocations: 11.94 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.2807, allocations: 8 kB / 0.9871 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003493/0.281, allocations: 169.6 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.2821, allocations: 0.8779 MB / 0.9881 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.2823, allocations: 162.5 kB / 0.9882 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2824, allocations: 0 / 0.9882 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.2824, allocations: 38.56 kB / 0.9883 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.2824, allocations: 0 / 0.9883 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005477/0.2829, allocations: 262.9 kB / 0.9885 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.283, allocations: 55.41 kB / 0.9886 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.2834, allocations: 417.7 kB / 0.989 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2834, allocations: 25.7 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2835, allocations: 212.2 kB / 0.9892 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.2836, allocations: 71.02 kB / 0.9893 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.2836, allocations: 4 kB / 0.9893 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.2837, allocations: 342.8 kB / 0.9896 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2838, allocations: 63.97 kB / 0.9897 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.284, allocations: 63.92 kB / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.2841, allocations: 66.05 kB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2841, allocations: 0 / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003504/0.2845, allocations: 221.1 kB / 0.99 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2845, allocations: 4 kB / 0.99 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2845, allocations: 3.938 kB / 0.99 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.2846, allocations: 0 / 0.99 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.2848, allocations: 59.91 kB / 0.9901 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.2848, allocations: 11.97 kB / 0.9901 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.285, allocations: 23.84 kB / 0.9901 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.285, allocations: 7.984 kB / 0.9901 GB, free: 16.46 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.2852, allocations: 161.8 kB / 0.9903 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.2852, allocations: 35.62 kB / 0.9903 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.29e-05/0.2853, allocations: 47.58 kB / 0.9903 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2853, allocations: 0 / 0.9903 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.2853, allocations: 0 / 0.9903 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2853, allocations: 3.938 kB / 0.9903 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.2857, allocations: 381.2 kB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2857, allocations: 0 / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.2859, allocations: 59.95 kB / 0.9908 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.286, allocations: 0 / 0.9908 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.286, allocations: 4 kB / 0.9908 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.286, allocations: 4 kB / 0.9908 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.286, allocations: 4 kB / 0.9908 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.2866, allocations: 398.3 kB / 0.9911 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.2867, allocations: 124.5 kB / 0.9913 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.2867, allocations: 8 kB / 0.9913 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.2869, allocations: 8 kB / 0.9913 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.2869, allocations: 11.97 kB / 0.9913 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.287, allocations: 8 kB / 0.9913 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002818/0.2872, allocations: 299.2 kB / 0.9916 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2873, allocations: 0 / 0.9916 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002929/0.2876, allocations: 75.84 kB / 0.9917 GB, free: 14.78 MB / 0.6198 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 (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.0009392/0.2885, allocations: 0.9357 MB / 0.9926 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.2889, allocations: 151.9 kB / 0.9927 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2889, allocations: 4 kB / 0.9927 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.289, allocations: 79.91 kB / 0.9928 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.2897, allocations: 81.5 kB / 0.9929 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.293, allocations: 2.186 MB / 0.995 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.2933, allocations: 0.807 MB / 0.9958 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.2935, allocations: 34.97 kB / 0.9958 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.2936, allocations: 119.4 kB / 0.9959 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of SimCode: time 3.2e-07/0.2937, allocations: 0 / 0.9959 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.3141, allocations: 7.166 MB / 1.003 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.3144, allocations: 268.6 kB / 1.003 GB, free: 3.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/2.379, allocations: 3.938 kB / 1.003 GB, free: 3.051 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)