Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6946/0.6946, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009801/0.0009801, allocations: 181.1 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008068/0.0008068, allocations: 91.58 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 275 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.111e-05, allocations: 8 kB / 0.6836 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3449, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4678, allocations: 129.3 MB / 0.8907 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.4681, allocations: 116.4 kB / 0.8908 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04234/0.5105, allocations: 15.2 MB / 0.9057 GB, free: 11.85 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5105, allocations: 0 / 0.9057 GB, free: 11.85 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.5105, allocations: 0 / 0.9057 GB, free: 11.85 MB / 0.573 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.000625/0.5111, allocations: 0.5489 MB / 0.9062 GB, free: 11.26 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5112, allocations: 8.031 kB / 0.9062 GB, free: 11.25 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.5112, allocations: 109.8 kB / 0.9063 GB, free: 11.13 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.5113, allocations: 87.19 kB / 0.9064 GB, free: 11.05 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.5114, allocations: 251.6 kB / 0.9066 GB, free: 10.76 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.5115, allocations: 150.6 kB / 0.9068 GB, free: 10.61 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.5115, allocations: 154.6 kB / 0.9069 GB, free: 10.46 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.449e-05/0.5116, allocations: 104.9 kB / 0.907 GB, free: 10.35 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.5116, allocations: 75.28 kB / 0.9071 GB, free: 10.28 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.5116, allocations: 162.5 kB / 0.9073 GB, free: 10.12 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/0.5117, allocations: 150.6 kB / 0.9074 GB, free: 9.969 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.9e-05/0.5117, allocations: 150.6 kB / 0.9075 GB, free: 9.82 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.512, allocations: 465.9 kB / 0.908 GB, free: 9.316 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.537e-05/0.5121, allocations: 173.1 kB / 0.9082 GB, free: 9.137 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.5121, allocations: 80.14 kB / 0.9082 GB, free: 9.055 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.5121, allocations: 79.28 kB / 0.9083 GB, free: 8.977 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.5122, allocations: 113.8 kB / 0.9084 GB, free: 8.855 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5122, allocations: 0 / 0.9084 GB, free: 8.855 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 6.849e-05/0.5123, allocations: 33.61 kB / 0.9084 GB, free: 8.816 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5123, allocations: 130.7 kB / 0.9086 GB, free: 8.676 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.5124, allocations: 118.4 kB / 0.9087 GB, free: 8.551 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.5124, allocations: 25.7 kB / 0.9087 GB, free: 8.52 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.5125, allocations: 92.14 kB / 0.9088 GB, free: 8.426 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.5125, allocations: 0 / 0.9088 GB, free: 8.426 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.5125, allocations: 0 / 0.9088 GB, free: 8.426 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.5126, allocations: 322.8 kB / 0.9091 GB, free: 8.102 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.5126, allocations: 0 / 0.9091 GB, free: 8.102 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.265e-05/0.5126, allocations: 8 kB / 0.9091 GB, free: 8.094 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/0.5127, allocations: 4 kB / 0.9091 GB, free: 8.09 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5127, allocations: 3.953 kB / 0.9091 GB, free: 8.086 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001043/0.5128, allocations: 53.59 kB / 0.9092 GB, free: 8.027 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5128, allocations: 4 kB / 0.9092 GB, free: 8.023 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.5128, allocations: 4 kB / 0.9092 GB, free: 8.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.5128, allocations: 0 / 0.9092 GB, free: 8.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.5128, allocations: 0 / 0.9092 GB, free: 8.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5129, allocations: 3.203 kB / 0.9092 GB, free: 8.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.5129, allocations: 0 / 0.9092 GB, free: 8.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.5129, allocations: 12.06 kB / 0.9092 GB, free: 8.008 MB / 0.573 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 () * 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.04e-05/0.513, allocations: 180.2 kB / 0.9094 GB, free: 7.824 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.513, allocations: 120.8 kB / 0.9095 GB, free: 7.699 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.5131, allocations: 108.8 kB / 0.9096 GB, free: 7.586 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.496e-05/0.5131, allocations: 184.2 kB / 0.9098 GB, free: 7.398 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-05/0.5132, allocations: 180.3 kB / 0.9099 GB, free: 7.215 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-05/0.5132, allocations: 184.2 kB / 0.9101 GB, free: 7.027 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.5134, allocations: 413.2 kB / 0.9105 GB, free: 6.566 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/0.5135, allocations: 105 kB / 0.9106 GB, free: 6.457 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.5135, allocations: 108.9 kB / 0.9107 GB, free: 6.344 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.643e-05/0.5135, allocations: 176.3 kB / 0.9109 GB, free: 6.164 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.5136, allocations: 184.2 kB / 0.911 GB, free: 5.977 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.855e-05/0.5137, allocations: 184.2 kB / 0.9112 GB, free: 5.789 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.913e-05/0.5137, allocations: 180.3 kB / 0.9114 GB, free: 5.605 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.5138, allocations: 299.8 kB / 0.9117 GB, free: 5.289 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.5139, allocations: 203.1 kB / 0.9119 GB, free: 5.066 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.514, allocations: 184.2 kB / 0.9121 GB, free: 4.879 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.36e-05/0.514, allocations: 101 kB / 0.9121 GB, free: 4.773 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.5141, allocations: 184.2 kB / 0.9123 GB, free: 4.586 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.5141, allocations: 105 kB / 0.9124 GB, free: 4.477 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.5142, allocations: 97.77 kB / 0.9125 GB, free: 4.383 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5142, allocations: 0 / 0.9125 GB, free: 4.383 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006591/0.5148, allocations: 331.4 kB / 0.9128 GB, free: 4.059 MB / 0.573 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 () * 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.001254/0.5161, allocations: 1.208 MB / 0.914 GB, free: 2.828 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 8.16e-05/0.5162, allocations: 45.69 kB / 0.9141 GB, free: 2.777 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5162, allocations: 0 / 0.9141 GB, free: 2.777 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.5162, allocations: 4 kB / 0.9141 GB, free: 2.773 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.5165, allocations: 0.5224 MB / 0.9146 GB, free: 2.246 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.517, allocations: 341.2 kB / 0.9149 GB, free: 1.875 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.5172, allocations: 0.6965 MB / 0.9156 GB, free: 1.152 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.312e-05/0.5173, allocations: 3.938 kB / 0.9156 GB, free: 1.148 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.5173, allocations: 11.44 kB / 0.9156 GB, free: 1.137 MB / 0.573 GB Notification: Performance of SimCode: time 3.01e-07/0.5173, allocations: 0 / 0.9156 GB, free: 1.137 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3115/0.8288, allocations: 6.447 MB / 0.9219 GB, free: 137.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.829, allocations: 279.9 kB / 0.9222 GB, free: 137.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.555, allocations: 4.031 kB / 0.9222 GB, free: 137.1 MB / 0.573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)