Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.001056/0.001056, allocations: 99.7 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.001174/0.001174, 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 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.035/1.035, allocations: 143.3 MB / 434.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 8 kB / 0.516 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 83.41 MB / 0.5974 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001557/0.2045, allocations: 1.103 MB / 0.5985 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003986/0.2085, allocations: 2.552 MB / 0.601 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.2086, allocations: 0 / 0.601 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.2086, allocations: 7.922 kB / 0.601 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.2087, allocations: 11.97 kB / 0.601 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.212, allocations: 1.209 MB / 0.6022 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.9e-05/0.212, allocations: 31.94 kB / 0.6022 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.2121, allocations: 4 kB / 0.6022 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.2121, allocations: 7.938 kB / 0.6022 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.373e-05/0.2122, allocations: 15.92 kB / 0.6022 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2122, allocations: 7.938 kB / 0.6023 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.2141, allocations: 1.158 MB / 0.6034 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.2141, allocations: 7.922 kB / 0.6034 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.2141, allocations: 29.7 kB / 0.6034 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009831/0.2151, allocations: 0.7021 MB / 0.6041 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2151, allocations: 0 / 0.6041 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2151, allocations: 0 / 0.6041 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.2151, allocations: 0 / 0.6041 GB, free: 0.8711 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005632/0.2157, allocations: 0.5067 MB / 0.6046 GB, free: 324 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.2158, allocations: 8.031 kB / 0.6046 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.2158, allocations: 121.7 kB / 0.6047 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.2159, allocations: 83.14 kB / 0.6048 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3847/0.6006, allocations: 244.1 kB / 0.605 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.6007, allocations: 155.6 kB / 0.6052 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.6008, allocations: 150.6 kB / 0.6053 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.084e-05/0.6008, allocations: 102.8 kB / 0.6054 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6008, allocations: 77.38 kB / 0.6055 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.6009, allocations: 151.4 kB / 0.6056 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.6009, allocations: 152.3 kB / 0.6058 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.6009, allocations: 157.8 kB / 0.6059 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.6012, allocations: 462.8 kB / 0.6064 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.422e-05/0.6012, allocations: 169.7 kB / 0.6065 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.6013, allocations: 78.72 kB / 0.6066 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.6013, allocations: 108.8 kB / 0.6067 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.6013, allocations: 3.75 kB / 0.6067 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.264e-05/0.6014, allocations: 33.55 kB / 0.6068 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.6014, allocations: 128 kB / 0.6069 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.6016, allocations: 137.3 kB / 0.607 GB, free: 38.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.6016, allocations: 26.39 kB / 0.607 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.6016, allocations: 93.33 kB / 0.6071 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.6016, allocations: 1.75 kB / 0.6071 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.6016, allocations: 0 / 0.6071 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.6017, allocations: 316.3 kB / 0.6074 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.6017, allocations: 6.172 kB / 0.6074 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.587e-05/0.6018, allocations: 7.562 kB / 0.6074 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.6018, allocations: 5.875 kB / 0.6075 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6018, allocations: 0 / 0.6075 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001288/0.6019, allocations: 52.88 kB / 0.6075 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.602, allocations: 4.719 kB / 0.6075 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.602, allocations: 7.531 kB / 0.6075 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.602, allocations: 4.484 kB / 0.6075 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-06/0.602, allocations: 2.094 kB / 0.6075 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.602, allocations: 0.5469 kB / 0.6075 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.6021, allocations: 3.125 kB / 0.6075 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.6021, allocations: 3.562 kB / 0.6075 GB, free: 37.87 MB / 0.4981 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.112e-05/0.6021, allocations: 184.6 kB / 0.6077 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.6022, allocations: 110.9 kB / 0.6078 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.6022, allocations: 112.2 kB / 0.6079 GB, free: 37.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/0.6023, allocations: 187.8 kB / 0.6081 GB, free: 37.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.142e-05/0.6023, allocations: 181.7 kB / 0.6083 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.6023, allocations: 179.9 kB / 0.6084 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.6025, allocations: 417.5 kB / 0.6088 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.6025, allocations: 106.2 kB / 0.6089 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.6025, allocations: 101.6 kB / 0.609 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.506e-05/0.6026, allocations: 183.2 kB / 0.6092 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.6026, allocations: 184.4 kB / 0.6094 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-05/0.6026, allocations: 185.1 kB / 0.6096 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.613e-05/0.6026, allocations: 181.7 kB / 0.6097 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.713e-05/0.6027, allocations: 316.9 kB / 0.61 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.6028, allocations: 182 kB / 0.6102 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.6028, allocations: 187.7 kB / 0.6104 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.6029, allocations: 102.8 kB / 0.6105 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.6029, allocations: 183.2 kB / 0.6107 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.6029, allocations: 108.2 kB / 0.6108 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.603, allocations: 98.75 kB / 0.6109 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.603, allocations: 3.609 kB / 0.6109 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008262/0.6038, allocations: 276.7 kB / 0.6111 GB, free: 34.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0009534/0.6048, allocations: 1.125 MB / 0.6122 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.71e-05/0.6049, allocations: 36.86 kB / 0.6123 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6049, allocations: 0 / 0.6123 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.6049, allocations: 0 / 0.6123 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.6052, allocations: 0.5387 MB / 0.6128 GB, free: 33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.6057, allocations: 0.549 MB / 0.6133 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.6058, allocations: 0.6883 MB / 0.614 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.37e-05/0.6059, allocations: 0 / 0.614 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.6059, allocations: 18.64 kB / 0.614 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.6059, allocations: 0 / 0.614 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.6245, allocations: 6.633 MB / 0.6205 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.6248, allocations: 278 kB / 0.6208 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.577, allocations: 0 / 0.6208 GB, free: 31.03 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: