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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.7434/0.7434, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001155/0.001155, allocations: 185.9 kB / 173.7 MB, free: 6.133 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.684/1.684, 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.0009098/0.0009098, allocations: 99.91 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 14.34 kB / 0.5605 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1567, allocations: 76.78 MB / 0.6355 GB, free: 30.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5293/0.6861, allocations: 124.8 MB / 0.7574 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/0.6865, allocations: 130.5 kB / 0.7575 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.04562/0.7321, allocations: 15.37 MB / 0.7725 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7321, allocations: 3.938 kB / 0.7725 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.7321, allocations: 3.312 kB / 0.7725 GB, free: 29.09 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.00121/0.7334, allocations: 0.5716 MB / 0.7731 GB, free: 28.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.7334, allocations: 9.219 kB / 0.7731 GB, free: 28.56 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.7335, allocations: 110.2 kB / 0.7732 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.7335, allocations: 77.81 kB / 0.7732 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.7337, allocations: 259.4 kB / 0.7735 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.7337, allocations: 151.2 kB / 0.7736 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.7337, allocations: 151.6 kB / 0.7738 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.91e-05/0.7338, allocations: 101.6 kB / 0.7739 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.7338, allocations: 75.28 kB / 0.7739 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.7339, allocations: 155.3 kB / 0.7741 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.7339, allocations: 163.2 kB / 0.7742 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.736e-05/0.7339, allocations: 152.4 kB / 0.7744 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.7342, allocations: 463.3 kB / 0.7748 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.355e-05/0.7342, allocations: 166.2 kB / 0.775 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.7343, allocations: 79.28 kB / 0.7751 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.7343, allocations: 111.8 kB / 0.7752 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.7343, allocations: 0.5 kB / 0.7752 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.251e-05/0.7344, allocations: 32.17 kB / 0.7752 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.7344, allocations: 132 kB / 0.7753 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.7346, allocations: 119.7 kB / 0.7754 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.7346, allocations: 29.7 kB / 0.7755 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.7346, allocations: 92 kB / 0.7756 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.7346, allocations: 3.906 kB / 0.7756 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.7346, allocations: 0 / 0.7756 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.7347, allocations: 313.5 kB / 0.7759 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.7347, allocations: 5.969 kB / 0.7759 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.7347, allocations: 3.969 kB / 0.7759 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.7348, allocations: 7.875 kB / 0.7759 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7348, allocations: 3.938 kB / 0.7759 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/0.7349, allocations: 48.42 kB / 0.7759 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7349, allocations: 7.812 kB / 0.7759 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.735, allocations: 3.875 kB / 0.7759 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.735, allocations: 0 / 0.7759 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.735, allocations: 48 / 0.7759 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.735, allocations: 0 / 0.7759 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/0.735, allocations: 14.77 kB / 0.776 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.735, allocations: 0 / 0.776 GB, free: 25.56 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.918e-05/0.7351, allocations: 186.1 kB / 0.7761 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.7352, allocations: 113.5 kB / 0.7762 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.7352, allocations: 112 kB / 0.7764 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/0.7352, allocations: 176.8 kB / 0.7765 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-05/0.7353, allocations: 181.4 kB / 0.7767 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/0.7353, allocations: 183.2 kB / 0.7769 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.7355, allocations: 422.5 kB / 0.7773 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.7355, allocations: 105.6 kB / 0.7774 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.7355, allocations: 104.9 kB / 0.7775 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.245e-05/0.7356, allocations: 189.4 kB / 0.7777 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.7356, allocations: 179.6 kB / 0.7778 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.871e-05/0.7356, allocations: 180.8 kB / 0.778 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-05/0.7357, allocations: 189 kB / 0.7782 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.522e-05/0.7358, allocations: 310.9 kB / 0.7785 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.7358, allocations: 181.9 kB / 0.7786 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.7359, allocations: 182.5 kB / 0.7788 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/0.7359, allocations: 108.1 kB / 0.7789 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.736, allocations: 176.3 kB / 0.7791 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.736, allocations: 108.9 kB / 0.7792 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.7361, allocations: 100.9 kB / 0.7793 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.7361, allocations: 0 / 0.7793 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001201/0.7373, allocations: 323.1 kB / 0.7796 GB, free: 21.93 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.001802/0.7391, allocations: 1.215 MB / 0.7808 GB, free: 21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.874e-05/0.7392, allocations: 37.42 kB / 0.7808 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7392, allocations: 0 / 0.7808 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.7392, allocations: 7.938 kB / 0.7808 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.7395, allocations: 0.5262 MB / 0.7813 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.7405, allocations: 0.6022 MB / 0.7819 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.7406, allocations: 0.6844 MB / 0.7826 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.7406, allocations: 0 / 0.7826 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.7406, allocations: 15.28 kB / 0.7826 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/0.7407, allocations: 0 / 0.7826 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.7612, allocations: 6.468 MB / 0.7889 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.7614, allocations: 321.2 kB / 0.7892 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.552, allocations: 0 / 0.7892 GB, free: 16.54 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)