Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_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_8_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.001078/0.001078, allocations: 100.3 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.001186/0.001186, allocations: 177.3 kB / 15.94 MB, free: 220 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.963/1.963, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.884/1.884, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005715/0.0005716, allocations: 14.53 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3031, allocations: 116.3 MB / 0.7873 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004091/0.3073, allocations: 3.27 MB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003381/0.3107, allocations: 2.23 MB / 0.7926 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.3112, allocations: 8 kB / 0.7926 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.313, allocations: 490.1 kB / 0.7931 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005785/0.3136, allocations: 243.4 kB / 0.7933 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.3138, allocations: 83.91 kB / 0.7934 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006338/0.3145, allocations: 0.5623 MB / 0.794 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/0.3149, allocations: 249.5 kB / 0.7942 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.3152, allocations: 235.1 kB / 0.7944 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.3155, allocations: 266.8 kB / 0.7947 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.3156, allocations: 36 kB / 0.7947 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.3157, allocations: 32 kB / 0.7948 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3158, allocations: 123.6 kB / 0.7949 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.316, allocations: 161.3 kB / 0.795 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000626/0.3166, allocations: 0.7906 MB / 0.7958 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3166, allocations: 0 / 0.7958 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3166, allocations: 0 / 0.7958 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.3166, allocations: 0 / 0.7958 GB, free: 3.055 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001276/0.3179, allocations: 0.845 MB / 0.7966 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.318, allocations: 8.031 kB / 0.7966 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.3181, allocations: 82.53 kB / 0.7967 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.3183, allocations: 79.14 kB / 0.7968 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.3189, allocations: 444.6 kB / 0.7972 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.319, allocations: 40.94 kB / 0.7973 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.319, allocations: 48 kB / 0.7973 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007092/0.3197, allocations: 422.4 kB / 0.7977 GB, free: 1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3198, allocations: 0 / 0.7977 GB, free: 1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.3198, allocations: 20 kB / 0.7977 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.3198, allocations: 12 kB / 0.7977 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/0.3205, allocations: 379.8 kB / 0.7981 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.3225, allocations: 1.539 MB / 0.7996 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.323, allocations: 338.8 kB / 0.7999 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3231, allocations: 7.953 kB / 0.7999 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.3231, allocations: 47.31 kB / 0.8 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.3231, allocations: 0 / 0.8 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0009743/0.3241, allocations: 0.5017 MB / 0.8005 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3242, allocations: 59.34 kB / 0.8005 GB, free: 14 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/0.3247, allocations: 481.9 kB / 0.801 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.3248, allocations: 29.7 kB / 0.801 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.325, allocations: 280.3 kB / 0.8013 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.3251, allocations: 149.8 kB / 0.8014 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.3252, allocations: 8 kB / 0.8014 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3254, allocations: 366.8 kB / 0.8018 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.3256, allocations: 124.7 kB / 0.8019 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.3258, allocations: 129.2 kB / 0.802 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.3261, allocations: 142.6 kB / 0.8022 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3261, allocations: 4 kB / 0.8022 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000652/0.3268, allocations: 403.8 kB / 0.8025 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3268, allocations: 7.953 kB / 0.8026 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3268, allocations: 4 kB / 0.8026 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3269, allocations: 0 / 0.8026 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.3274, allocations: 135.8 kB / 0.8027 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3274, allocations: 0 / 0.8027 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.3277, allocations: 47.66 kB / 0.8027 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.3277, allocations: 16 kB / 0.8027 GB, free: 11.69 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.328, allocations: 197.8 kB / 0.8029 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.3281, allocations: 51.34 kB / 0.803 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.3282, allocations: 65.05 kB / 0.803 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3282, allocations: 4 kB / 0.803 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.3282, allocations: 4 kB / 0.8031 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3282, allocations: 3.984 kB / 0.8031 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.3289, allocations: 0.5712 MB / 0.8036 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3289, allocations: 0 / 0.8036 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.3294, allocations: 131.9 kB / 0.8037 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3294, allocations: 4 kB / 0.8037 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.3295, allocations: 7.938 kB / 0.8038 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.3295, allocations: 11.89 kB / 0.8038 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3295, allocations: 0 / 0.8038 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/0.3305, allocations: 0.6634 MB / 0.8044 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.3306, allocations: 136.5 kB / 0.8045 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.3307, allocations: 12 kB / 0.8046 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.3309, allocations: 23.98 kB / 0.8046 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.331, allocations: 23.92 kB / 0.8046 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.331, allocations: 8 kB / 0.8046 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004228/0.3315, allocations: 351.1 kB / 0.8049 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3315, allocations: 0 / 0.8049 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004859/0.332, allocations: 147.6 kB / 0.8051 GB, free: 9.203 MB / 0.6231 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 (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.001418/0.3334, allocations: 1.215 MB / 0.8063 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006559/0.3341, allocations: 331.7 kB / 0.8066 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3341, allocations: 0 / 0.8066 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.3344, allocations: 195.7 kB / 0.8068 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006812/0.3351, allocations: 110.5 kB / 0.8069 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005558/0.3406, allocations: 3.284 MB / 0.8101 GB, free: 4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.3412, allocations: 0.8785 MB / 0.8109 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002309/0.3414, allocations: 60.38 kB / 0.811 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.3417, allocations: 191.4 kB / 0.8112 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of SimCode: time 8.21e-07/0.3417, allocations: 0 / 0.8112 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.3658, allocations: 10.31 MB / 0.8212 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/0.3662, allocations: 252.2 kB / 0.8215 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.489, allocations: 0 / 0.8215 GB, free: 8.555 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: