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.8764/0.8764, allocations: 143.3 MB / 158.3 MB, free: 5.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 177 kB / 191.5 MB, free: 5.77 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.619/1.619, allocations: 223.1 MB / 447.7 MB, free: 4.832 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.0008974/0.0008975, allocations: 88.27 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.00187, allocations: 279.6 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004934, allocations: 11.72 kB / 0.693 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1879, allocations: 82.79 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6351/0.8231, allocations: 129.4 MB / 0.9002 GB, free: 21.93 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.8235, allocations: 122.9 kB / 0.9003 GB, free: 21.93 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04651/0.87, allocations: 15.28 MB / 0.9152 GB, free: 20.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.857e-06/0.8701, allocations: 0 / 0.9152 GB, free: 20.94 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.8701, allocations: 0 / 0.9152 GB, free: 20.94 MB / 0.5417 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.001291/0.8714, allocations: 0.5653 MB / 0.9158 GB, free: 20.43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.8714, allocations: 8.094 kB / 0.9158 GB, free: 20.43 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.354e-05/0.8715, allocations: 105.8 kB / 0.9159 GB, free: 20.31 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.8716, allocations: 82.98 kB / 0.916 GB, free: 20.24 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.8717, allocations: 257.5 kB / 0.9162 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.8718, allocations: 154.5 kB / 0.9164 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.8718, allocations: 150.6 kB / 0.9165 GB, free: 19.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.605e-05/0.8719, allocations: 101 kB / 0.9166 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.8719, allocations: 79.19 kB / 0.9167 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.872, allocations: 154.6 kB / 0.9168 GB, free: 19.32 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.872, allocations: 150.6 kB / 0.917 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.8721, allocations: 150.6 kB / 0.9171 GB, free: 19.03 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.8723, allocations: 472.2 kB / 0.9176 GB, free: 18.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.618e-05/0.8724, allocations: 176.9 kB / 0.9177 GB, free: 18.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.8724, allocations: 75.28 kB / 0.9178 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.8725, allocations: 109.8 kB / 0.9179 GB, free: 18.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.8725, allocations: 0 / 0.9179 GB, free: 18.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 0.000105/0.8726, allocations: 33.55 kB / 0.9179 GB, free: 18.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.8726, allocations: 126.7 kB / 0.9181 GB, free: 18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.8728, allocations: 124.6 kB / 0.9182 GB, free: 17.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.8728, allocations: 29.7 kB / 0.9182 GB, free: 17.87 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.8728, allocations: 91.58 kB / 0.9183 GB, free: 17.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.8728, allocations: 3.938 kB / 0.9183 GB, free: 17.79 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.8728, allocations: 0 / 0.9183 GB, free: 17.79 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.8729, allocations: 318.3 kB / 0.9186 GB, free: 17.47 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.8729, allocations: 3.844 kB / 0.9186 GB, free: 17.47 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.225e-05/0.873, allocations: 3.875 kB / 0.9186 GB, free: 17.47 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/0.873, allocations: 11.56 kB / 0.9186 GB, free: 17.47 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.873, allocations: 0 / 0.9186 GB, free: 17.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001073/0.8731, allocations: 52.89 kB / 0.9187 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.8731, allocations: 7.75 kB / 0.9187 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.8731, allocations: 0 / 0.9187 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.8732, allocations: 0 / 0.9187 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.8732, allocations: 7.844 kB / 0.9187 GB, free: 17.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8732, allocations: 0 / 0.9187 GB, free: 17.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.8732, allocations: 0 / 0.9187 GB, free: 17.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.8732, allocations: 0 / 0.9187 GB, free: 17.42 MB / 0.5417 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.528e-05/0.8733, allocations: 188.6 kB / 0.9189 GB, free: 17.23 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.8734, allocations: 120.5 kB / 0.919 GB, free: 17.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007159/0.8741, allocations: 108.8 kB / 0.9191 GB, free: 33.01 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.498e-05/0.8742, allocations: 180.2 kB / 0.9193 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-05/0.8742, allocations: 180.1 kB / 0.9194 GB, free: 32.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.662e-05/0.8743, allocations: 187.9 kB / 0.9196 GB, free: 32.46 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.8745, allocations: 408.6 kB / 0.92 GB, free: 32.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.308e-05/0.8746, allocations: 108.8 kB / 0.9201 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.8746, allocations: 105 kB / 0.9202 GB, free: 31.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.113e-05/0.8747, allocations: 188 kB / 0.9204 GB, free: 31.61 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.8748, allocations: 180.2 kB / 0.9206 GB, free: 31.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.696e-05/0.8749, allocations: 180.1 kB / 0.9207 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-05/0.875, allocations: 188.2 kB / 0.9209 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.8751, allocations: 307.2 kB / 0.9212 GB, free: 30.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.8752, allocations: 185.9 kB / 0.9214 GB, free: 30.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.8753, allocations: 180.2 kB / 0.9216 GB, free: 30.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.8754, allocations: 108.9 kB / 0.9217 GB, free: 30.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.8756, allocations: 187.8 kB / 0.9218 GB, free: 30.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.8756, allocations: 101 kB / 0.9219 GB, free: 29.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.808e-05/0.8757, allocations: 96.05 kB / 0.922 GB, free: 29.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.112e-06/0.8757, allocations: 0 / 0.922 GB, free: 29.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001155/0.8769, allocations: 319.3 kB / 0.9223 GB, free: 29.8 MB / 0.5573 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.001382/0.8782, allocations: 1.213 MB / 0.9235 GB, free: 28.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.705e-05/0.8784, allocations: 37.14 kB / 0.9235 GB, free: 28.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8784, allocations: 0 / 0.9235 GB, free: 28.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.967e-06/0.8784, allocations: 4 kB / 0.9236 GB, free: 28.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.8788, allocations: 0.5427 MB / 0.9241 GB, free: 28.31 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.8795, allocations: 0.5977 MB / 0.9247 GB, free: 27.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.8798, allocations: 0.6837 MB / 0.9253 GB, free: 27.11 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.466e-05/0.8798, allocations: 0 / 0.9253 GB, free: 27.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.8798, allocations: 22.81 kB / 0.9254 GB, free: 27.09 MB / 0.5573 GB Notification: Performance of SimCode: time 2.715e-06/0.8798, allocations: 0 / 0.9254 GB, free: 27.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.8983, allocations: 6.395 MB / 0.9316 GB, free: 24.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.8986, allocations: 309.3 kB / 0.9319 GB, free: 24.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.821, allocations: 0 / 0.9319 GB, free: 24.18 MB / 0.5573 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)