Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5017/0.5017, allocations: 90.81 MB / 104.5 MB, free: 13.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.3 MB / 348.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009923/0.0009925, allocations: 95.94 kB / 421.2 MB, free: 5.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.319e-05, allocations: 4 kB / 0.4898 GB, free: 46.49 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1524, allocations: 72.31 MB / 0.5604 GB, free: 6.273 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4937/0.6462, allocations: 105.9 MB / 0.6638 GB, free: 2.012 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.6466, allocations: 118.6 kB / 0.6639 GB, free: 1.934 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01845/0.6651, allocations: 6.314 MB / 0.6701 GB, free: 12.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6651, allocations: 0 / 0.6701 GB, free: 12.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.6652, allocations: 3.938 kB / 0.6701 GB, free: 12.54 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005218/0.6657, allocations: 401.9 kB / 0.6705 GB, free: 12.11 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.485e-05/0.6658, allocations: 8.031 kB / 0.6705 GB, free: 12.1 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.6658, allocations: 41.77 kB / 0.6705 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.6659, allocations: 4 kB / 0.6705 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.6661, allocations: 167 kB / 0.6707 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.6661, allocations: 4 kB / 0.6707 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.6661, allocations: 0 / 0.6707 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.6662, allocations: 41.06 kB / 0.6707 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.6663, allocations: 3.938 kB / 0.6707 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.6663, allocations: 4 kB / 0.6707 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.6663, allocations: 3.953 kB / 0.6707 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.6664, allocations: 8 kB / 0.6707 GB, free: 11.78 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.6666, allocations: 164.1 kB / 0.6709 GB, free: 11.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.505e-05/0.6667, allocations: 40.88 kB / 0.6709 GB, free: 11.53 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.6667, allocations: 12.89 kB / 0.671 GB, free: 11.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009769/0.6677, allocations: 0.9811 MB / 0.6719 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.6677, allocations: 41.69 kB / 0.672 GB, free: 10.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.6678, allocations: 0 / 0.672 GB, free: 10.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001466/0.6679, allocations: 49 kB / 0.672 GB, free: 10.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.668, allocations: 55.36 kB / 0.6721 GB, free: 10.15 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.816e-05/0.668, allocations: 97.48 kB / 0.6721 GB, free: 10.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.6681, allocations: 25.7 kB / 0.6722 GB, free: 10.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.6681, allocations: 84.14 kB / 0.6723 GB, free: 9.938 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.6681, allocations: 19.03 kB / 0.6723 GB, free: 9.922 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.6681, allocations: 0 / 0.6723 GB, free: 9.922 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6683, allocations: 318.2 kB / 0.6726 GB, free: 9.605 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.6683, allocations: 4 kB / 0.6726 GB, free: 9.602 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.6683, allocations: 8 kB / 0.6726 GB, free: 9.594 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.262e-05/0.6683, allocations: 7.75 kB / 0.6726 GB, free: 9.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.6683, allocations: 0 / 0.6726 GB, free: 9.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.756e-05/0.6684, allocations: 57.25 kB / 0.6726 GB, free: 9.531 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6685, allocations: 4 kB / 0.6727 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6685, allocations: 4 kB / 0.6727 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.6685, allocations: 0 / 0.6727 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.6686, allocations: 15.98 kB / 0.6727 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6686, allocations: 320 / 0.6727 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.6686, allocations: 7.859 kB / 0.6727 GB, free: 9.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.6687, allocations: 7.938 kB / 0.6727 GB, free: 9.492 MB / 474.7 MB 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 (4): * Single equations (assignments): 4 * 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 6.516e-05/0.6687, allocations: 105 kB / 0.6728 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.685e-06/0.6687, allocations: 0 / 0.6728 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.6689, allocations: 68.7 kB / 0.6729 GB, free: 9.316 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.6689, allocations: 3.938 kB / 0.6729 GB, free: 9.312 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6689, allocations: 0 / 0.6729 GB, free: 9.312 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6689, allocations: 4 kB / 0.6729 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.669, allocations: 156.6 kB / 0.673 GB, free: 9.109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6691, allocations: 0 / 0.673 GB, free: 9.109 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.6691, allocations: 19.98 kB / 0.673 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.6692, allocations: 0 / 0.673 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.6692, allocations: 4 kB / 0.673 GB, free: 9.086 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6692, allocations: 0 / 0.673 GB, free: 9.086 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6692, allocations: 3.984 kB / 0.673 GB, free: 9.082 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.6693, allocations: 83.73 kB / 0.6731 GB, free: 8.988 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.6694, allocations: 85.05 kB / 0.6732 GB, free: 8.887 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.6694, allocations: 0 / 0.6732 GB, free: 8.887 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.6694, allocations: 4 kB / 0.6732 GB, free: 8.883 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.6694, allocations: 3.984 kB / 0.6732 GB, free: 8.879 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.6694, allocations: 7.188 kB / 0.6732 GB, free: 8.875 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.869e-05/0.6695, allocations: 79.28 kB / 0.6733 GB, free: 8.797 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6695, allocations: 0 / 0.6733 GB, free: 8.797 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.6697, allocations: 55.61 kB / 0.6733 GB, free: 8.746 MB / 474.7 MB 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 (4): * Single equations (assignments): 4 * 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.0005941/0.6703, allocations: 0.676 MB / 0.674 GB, free: 8.047 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.642e-05/0.6704, allocations: 19.31 kB / 0.674 GB, free: 8.031 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6704, allocations: 0 / 0.674 GB, free: 8.031 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.037e-05/0.6705, allocations: 8 kB / 0.674 GB, free: 8.023 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.6706, allocations: 8.703 kB / 0.674 GB, free: 8.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.6709, allocations: 129.4 kB / 0.6742 GB, free: 7.863 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.6712, allocations: 0.6926 MB / 0.6748 GB, free: 7.145 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.6713, allocations: 11.73 kB / 0.6748 GB, free: 7.137 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.6713, allocations: 10.44 kB / 0.6749 GB, free: 7.129 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6713, allocations: 0 / 0.6749 GB, free: 7.129 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.684, allocations: 1.87 MB / 0.6767 GB, free: 5.477 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.6843, allocations: 234.8 kB / 0.6769 GB, free: 5.188 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.214, allocations: 0 / 0.6769 GB, free: 5.188 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)