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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.7944/0.7944, allocations: 128.7 MB / 143.7 MB, free: 2.328 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.001121/0.001121, allocations: 178.8 kB / 173.7 MB, free: 6.125 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.675/1.675, allocations: 205.4 MB / 409 MB, free: 10.51 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.00105/0.00105, allocations: 89.16 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 14.03 kB / 0.5605 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1315, allocations: 76.77 MB / 0.6355 GB, free: 30.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.6174, allocations: 125.6 MB / 0.7581 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/0.6178, allocations: 124.3 kB / 0.7582 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.04746/0.6653, allocations: 15.69 MB / 0.7736 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6653, allocations: 0 / 0.7736 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.6653, allocations: 3.938 kB / 0.7736 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.001257/0.6666, allocations: 0.5718 MB / 0.7741 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.6667, allocations: 9.438 kB / 0.7741 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.6667, allocations: 109.8 kB / 0.7742 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.6668, allocations: 79.22 kB / 0.7743 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.6669, allocations: 252.2 kB / 0.7746 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.667, allocations: 152.2 kB / 0.7747 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.667, allocations: 158.4 kB / 0.7749 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.895e-05/0.6671, allocations: 101 kB / 0.775 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.6671, allocations: 83.22 kB / 0.775 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.6671, allocations: 159.8 kB / 0.7752 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.6672, allocations: 150.6 kB / 0.7753 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.056e-05/0.6672, allocations: 150.6 kB / 0.7755 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.6674, allocations: 464.6 kB / 0.7759 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.703e-05/0.6675, allocations: 178.2 kB / 0.7761 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.6675, allocations: 75.28 kB / 0.7762 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.6676, allocations: 110.6 kB / 0.7763 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.402e-06/0.6676, allocations: 0 / 0.7763 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.628e-05/0.6677, allocations: 37.47 kB / 0.7763 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.6677, allocations: 138.6 kB / 0.7764 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.6678, allocations: 117.1 kB / 0.7765 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.6678, allocations: 29.55 kB / 0.7766 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.6679, allocations: 90.86 kB / 0.7767 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.6679, allocations: 0 / 0.7767 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.6679, allocations: 0 / 0.7767 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.668, allocations: 321 kB / 0.777 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.668, allocations: 3.906 kB / 0.777 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.668, allocations: 13.98 kB / 0.777 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.6681, allocations: 5.656 kB / 0.777 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6681, allocations: 0 / 0.777 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001304/0.6682, allocations: 45.7 kB / 0.777 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6682, allocations: 5.062 kB / 0.777 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.6683, allocations: 7.969 kB / 0.777 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.6683, allocations: 0 / 0.777 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.6683, allocations: 0 / 0.777 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6683, allocations: 7.922 kB / 0.777 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.6683, allocations: 11.66 kB / 0.7771 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.6683, allocations: 7.969 kB / 0.7771 GB, free: 25.64 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 7.105e-05/0.6684, allocations: 182.4 kB / 0.7772 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.6685, allocations: 105.5 kB / 0.7773 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.6685, allocations: 106.1 kB / 0.7774 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/0.6686, allocations: 188.6 kB / 0.7776 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-05/0.6686, allocations: 176.9 kB / 0.7778 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/0.6686, allocations: 184.8 kB / 0.778 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.6688, allocations: 417.4 kB / 0.7784 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.6688, allocations: 109.3 kB / 0.7785 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.6689, allocations: 105 kB / 0.7786 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.268e-05/0.6689, allocations: 185.3 kB / 0.7787 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.6689, allocations: 184.8 kB / 0.7789 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.899e-05/0.669, allocations: 176.9 kB / 0.7791 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-05/0.669, allocations: 180.8 kB / 0.7793 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.126e-05/0.6691, allocations: 314.2 kB / 0.7796 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.6692, allocations: 190.6 kB / 0.7797 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.6692, allocations: 188.5 kB / 0.7799 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.6693, allocations: 105.4 kB / 0.78 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.6693, allocations: 177 kB / 0.7802 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.6694, allocations: 101 kB / 0.7803 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.225e-05/0.6694, allocations: 104.5 kB / 0.7804 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6694, allocations: 0 / 0.7804 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001178/0.6706, allocations: 336.3 kB / 0.7807 GB, free: 22 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.001899/0.6725, allocations: 1.206 MB / 0.7819 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.741e-05/0.6726, allocations: 44.81 kB / 0.7819 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6726, allocations: 4.062 kB / 0.7819 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.6726, allocations: 4 kB / 0.7819 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.6729, allocations: 0.527 MB / 0.7825 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009686/0.6739, allocations: 0.6038 MB / 0.783 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.6741, allocations: 0.6833 MB / 0.7837 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.883e-05/0.6741, allocations: 3.969 kB / 0.7837 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.6741, allocations: 15.38 kB / 0.7837 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.6741, allocations: 0 / 0.7837 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.6957, allocations: 6.623 MB / 0.7902 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.6959, allocations: 328.1 kB / 0.7905 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.505, allocations: 0 / 0.7905 GB, free: 16.12 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)