Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_8_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.001273/0.001273, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001158/0.001158, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.996/1.996, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005652/0.0005653, allocations: 16.94 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.304, allocations: 116.3 MB / 0.7873 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003291/0.3073, allocations: 2.424 MB / 0.7896 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.31, allocations: 1.946 MB / 0.7915 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.3102, allocations: 8 kB / 0.7915 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.3113, allocations: 454.4 kB / 0.792 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.3116, allocations: 147.6 kB / 0.7921 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.3117, allocations: 39.97 kB / 0.7921 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.3121, allocations: 318.2 kB / 0.7925 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.3124, allocations: 115 kB / 0.7926 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.3126, allocations: 139.4 kB / 0.7927 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.3127, allocations: 143.3 kB / 0.7928 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.3128, allocations: 20 kB / 0.7928 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.3128, allocations: 16 kB / 0.7929 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.313, allocations: 79.67 kB / 0.7929 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.067e-05/0.3131, allocations: 105.5 kB / 0.793 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.3135, allocations: 446.7 kB / 0.7935 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3135, allocations: 0 / 0.7935 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3135, allocations: 0 / 0.7935 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3135, allocations: 0 / 0.7935 GB, free: 5.43 MB / 0.6075 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.001008/0.3145, allocations: 0.6462 MB / 0.7941 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.3146, allocations: 8.031 kB / 0.7941 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.58e-05/0.3146, allocations: 66.53 kB / 0.7942 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.3147, allocations: 55.33 kB / 0.7942 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.3152, allocations: 365 kB / 0.7946 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3153, allocations: 12.44 kB / 0.7946 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.3153, allocations: 20 kB / 0.7946 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.3157, allocations: 211.2 kB / 0.7948 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3158, allocations: 0 / 0.7948 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.3158, allocations: 4 kB / 0.7948 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.3158, allocations: 12 kB / 0.7948 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.3162, allocations: 169.7 kB / 0.795 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.3174, allocations: 0.8701 MB / 0.7958 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.3177, allocations: 170.5 kB / 0.796 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3177, allocations: 3.984 kB / 0.796 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.3178, allocations: 38.5 kB / 0.796 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.844e-06/0.3178, allocations: 0 / 0.796 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.000594/0.3184, allocations: 268.3 kB / 0.7963 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.3184, allocations: 51.41 kB / 0.7963 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.3189, allocations: 413.7 kB / 0.7967 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.3189, allocations: 37.7 kB / 0.7968 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.3191, allocations: 204.2 kB / 0.797 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.3192, allocations: 67.09 kB / 0.797 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.3192, allocations: 0 / 0.797 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3193, allocations: 342.8 kB / 0.7974 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.3195, allocations: 63.95 kB / 0.7974 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.3196, allocations: 74.78 kB / 0.7975 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3198, allocations: 63.98 kB / 0.7975 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3198, allocations: 0 / 0.7975 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003743/0.3202, allocations: 221.1 kB / 0.7978 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3202, allocations: 4 kB / 0.7978 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3202, allocations: 0 / 0.7978 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3202, allocations: 0 / 0.7978 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.3205, allocations: 55.91 kB / 0.7978 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3205, allocations: 4 kB / 0.7978 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.3207, allocations: 35.77 kB / 0.7979 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3207, allocations: 0 / 0.7979 GB, free: 0.6953 MB / 0.6075 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.0002193/0.3209, allocations: 165.8 kB / 0.798 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.321, allocations: 35.62 kB / 0.798 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.887e-05/0.3211, allocations: 43.58 kB / 0.7981 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3211, allocations: 0 / 0.7981 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3211, allocations: 0 / 0.7981 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3211, allocations: 4 kB / 0.7981 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.3215, allocations: 381.2 kB / 0.7985 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3215, allocations: 0 / 0.7985 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.3218, allocations: 64 kB / 0.7985 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3218, allocations: 3.938 kB / 0.7985 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3218, allocations: 0 / 0.7985 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3219, allocations: 0 / 0.7985 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3219, allocations: 4 kB / 0.7985 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/0.3225, allocations: 397.4 kB / 0.7989 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3226, allocations: 116.6 kB / 0.799 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.3227, allocations: 12.05 kB / 0.799 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3228, allocations: 16 kB / 0.799 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.3229, allocations: 11.92 kB / 0.799 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.3229, allocations: 4 kB / 0.7991 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003268/0.3232, allocations: 303.1 kB / 0.7993 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.3233, allocations: 0 / 0.7993 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003062/0.3236, allocations: 71.84 kB / 0.7994 GB, free: 15 MB / 0.6231 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.0009472/0.3245, allocations: 0.9414 MB / 0.8003 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.3249, allocations: 147.9 kB / 0.8005 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3249, allocations: 4 kB / 0.8005 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.3251, allocations: 83.97 kB / 0.8006 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.3257, allocations: 81.5 kB / 0.8006 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.3291, allocations: 2.189 MB / 0.8028 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.3294, allocations: 0.8031 MB / 0.8036 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.3296, allocations: 30.97 kB / 0.8036 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.3298, allocations: 119.3 kB / 0.8037 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/0.3298, allocations: 4 kB / 0.8037 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.349, allocations: 7.155 MB / 0.8107 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.3492, allocations: 243.5 kB / 0.8109 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.388, allocations: 5.609 kB / 0.8109 GB, free: 3.336 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: