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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7299/0.7299, allocations: 128.7 MB / 143.7 MB, free: 2.352 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 182.4 kB / 173.7 MB, free: 6.148 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 90.84 kB / 486.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 9.875 kB / 0.5605 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1503, allocations: 76.77 MB / 0.6355 GB, free: 30.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5803/0.7306, allocations: 124.8 MB / 0.7574 GB, free: 30.14 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003966/0.7311, allocations: 128.9 kB / 0.7575 GB, free: 30.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.04671/0.7778, allocations: 15.36 MB / 0.7725 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7778, allocations: 0 / 0.7725 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.7778, allocations: 1.156 kB / 0.7725 GB, free: 29.19 MB / 0.5105 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.001283/0.7791, allocations: 0.5751 MB / 0.773 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.7792, allocations: 9.375 kB / 0.7731 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.7792, allocations: 109.3 kB / 0.7732 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.7793, allocations: 84.52 kB / 0.7732 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.7794, allocations: 246.7 kB / 0.7735 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.7795, allocations: 151.2 kB / 0.7736 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.7795, allocations: 151.5 kB / 0.7738 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.022e-05/0.7796, allocations: 101.5 kB / 0.7739 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.7796, allocations: 79.77 kB / 0.7739 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.7796, allocations: 163 kB / 0.7741 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.7797, allocations: 156.7 kB / 0.7742 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.954e-05/0.7797, allocations: 158.2 kB / 0.7744 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.78, allocations: 460.2 kB / 0.7748 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.302e-05/0.78, allocations: 176.4 kB / 0.775 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.78, allocations: 75.28 kB / 0.7751 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.7801, allocations: 109.8 kB / 0.7752 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.7801, allocations: 0 / 0.7752 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.672e-05/0.7802, allocations: 33.33 kB / 0.7752 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.7802, allocations: 133.8 kB / 0.7753 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.7803, allocations: 119.7 kB / 0.7755 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.7803, allocations: 28.64 kB / 0.7755 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.7804, allocations: 87.92 kB / 0.7756 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.7804, allocations: 0 / 0.7756 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.7804, allocations: 0 / 0.7756 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.7805, allocations: 321.6 kB / 0.7759 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.7805, allocations: 0 / 0.7759 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.417e-05/0.7805, allocations: 7.219 kB / 0.7759 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.7805, allocations: 7.812 kB / 0.7759 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7806, allocations: 4.031 kB / 0.7759 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001241/0.7807, allocations: 56.56 kB / 0.7759 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.7807, allocations: 3.875 kB / 0.7759 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.7807, allocations: 3.875 kB / 0.7759 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.7808, allocations: 0 / 0.7759 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.041e-06/0.7808, allocations: 0 / 0.7759 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7808, allocations: 0.7031 kB / 0.7759 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.7808, allocations: 3.953 kB / 0.776 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.7808, allocations: 6.969 kB / 0.776 GB, free: 25.66 MB / 0.5105 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 6.426e-05/0.7809, allocations: 185.2 kB / 0.7761 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.7809, allocations: 112.7 kB / 0.7762 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.781, allocations: 110.2 kB / 0.7763 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.781, allocations: 180.2 kB / 0.7765 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/0.781, allocations: 181.1 kB / 0.7767 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.841e-05/0.7811, allocations: 177.1 kB / 0.7769 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.7813, allocations: 427.2 kB / 0.7773 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.7813, allocations: 101 kB / 0.7774 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.7813, allocations: 101.5 kB / 0.7775 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.265e-05/0.7813, allocations: 192.7 kB / 0.7776 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.7814, allocations: 180 kB / 0.7778 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.219e-05/0.7814, allocations: 184.8 kB / 0.778 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.942e-05/0.7815, allocations: 177 kB / 0.7782 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.755e-05/0.7816, allocations: 318.5 kB / 0.7785 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.7816, allocations: 178.1 kB / 0.7786 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.7817, allocations: 185.3 kB / 0.7788 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.7817, allocations: 112.2 kB / 0.7789 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.7818, allocations: 181.6 kB / 0.7791 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.7818, allocations: 101 kB / 0.7792 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.7818, allocations: 100.1 kB / 0.7793 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7818, allocations: 0 / 0.7793 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001357/0.7832, allocations: 327.8 kB / 0.7796 GB, free: 22.02 MB / 0.5105 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.001961/0.7852, allocations: 1.217 MB / 0.7808 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.297e-05/0.7853, allocations: 33.45 kB / 0.7808 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7853, allocations: 0 / 0.7808 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.487e-06/0.7853, allocations: 4 kB / 0.7808 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.7856, allocations: 0.5339 MB / 0.7813 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.7866, allocations: 0.605 MB / 0.7819 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.7868, allocations: 0.6891 MB / 0.7826 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.679e-05/0.7868, allocations: 0 / 0.7826 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.7868, allocations: 11.38 kB / 0.7826 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of SimCode: time 2.1e-07/0.7868, allocations: 0 / 0.7826 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.81, allocations: 6.452 MB / 0.7889 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.8102, allocations: 305.2 kB / 0.7892 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.688, allocations: 0 / 0.7892 GB, free: 16.69 MB / 0.5105 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)