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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.001409, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5097/0.5097, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.524/1.524, allocations: 223.2 MB / 354.3 MB, free: 12.18 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.0009866/0.0009868, allocations: 104.2 kB / 427.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 12 kB / 0.4984 GB, free: 42.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 72.31 MB / 0.569 GB, free: 1.762 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5206/0.6884, allocations: 121.8 MB / 0.6879 GB, free: 14.44 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.6888, allocations: 119.9 kB / 0.688 GB, free: 14.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04871/0.7375, allocations: 15.15 MB / 0.7028 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.966e-06/0.7376, allocations: 0 / 0.7028 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.7376, allocations: 0 / 0.7028 GB, free: 15.17 MB / 0.4948 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.001165/0.7388, allocations: 0.569 MB / 0.7034 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.7388, allocations: 12.03 kB / 0.7034 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.154e-05/0.7389, allocations: 105.8 kB / 0.7035 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.739, allocations: 79.19 kB / 0.7036 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.7392, allocations: 254.2 kB / 0.7038 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/0.7393, allocations: 154.6 kB / 0.7039 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.7394, allocations: 154.6 kB / 0.7041 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.993e-05/0.7394, allocations: 104.9 kB / 0.7042 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.7395, allocations: 83.22 kB / 0.7043 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.7395, allocations: 150.6 kB / 0.7044 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.156e-05/0.7396, allocations: 150.6 kB / 0.7046 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.534e-05/0.7397, allocations: 154.5 kB / 0.7047 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.7401, allocations: 469.9 kB / 0.7052 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.7402, allocations: 177.1 kB / 0.7053 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.7402, allocations: 75.28 kB / 0.7054 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.72e-05/0.7403, allocations: 109.8 kB / 0.7055 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.7404, allocations: 0 / 0.7055 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 9.184e-05/0.7404, allocations: 33.66 kB / 0.7055 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.7405, allocations: 126.7 kB / 0.7057 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.7407, allocations: 122.6 kB / 0.7058 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.7407, allocations: 25.7 kB / 0.7058 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.7408, allocations: 96.08 kB / 0.7059 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-06/0.7408, allocations: 0 / 0.7059 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.7408, allocations: 0 / 0.7059 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.741, allocations: 318.8 kB / 0.7062 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.741, allocations: 8 kB / 0.7062 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.741, allocations: 4 kB / 0.7062 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.7411, allocations: 4 kB / 0.7062 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7411, allocations: 0 / 0.7062 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001587/0.7413, allocations: 45.69 kB / 0.7063 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.7413, allocations: 9.406 kB / 0.7063 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.7413, allocations: 0 / 0.7063 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.7413, allocations: 0 / 0.7063 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.7413, allocations: 4.062 kB / 0.7063 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.7414, allocations: 3.953 kB / 0.7063 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.7414, allocations: 11.84 kB / 0.7063 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.7414, allocations: 0 / 0.7063 GB, free: 11.38 MB / 0.4948 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 0.0001556/0.7416, allocations: 189 kB / 0.7065 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.381e-05/0.7417, allocations: 105 kB / 0.7066 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/0.7418, allocations: 119.7 kB / 0.7067 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/0.7419, allocations: 184.2 kB / 0.7069 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.235e-05/0.742, allocations: 176.3 kB / 0.707 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.377e-05/0.7421, allocations: 184.2 kB / 0.7072 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.7424, allocations: 417.2 kB / 0.7076 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.454e-05/0.7425, allocations: 101 kB / 0.7077 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.7425, allocations: 108.9 kB / 0.7078 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.7426, allocations: 184.3 kB / 0.708 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.897e-05/0.7427, allocations: 184.2 kB / 0.7081 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.074e-05/0.7428, allocations: 176.3 kB / 0.7083 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-05/0.7429, allocations: 180.3 kB / 0.7085 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.743, allocations: 323.6 kB / 0.7088 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.7431, allocations: 185.9 kB / 0.709 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.7432, allocations: 180.3 kB / 0.7091 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.7433, allocations: 108.9 kB / 0.7092 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.7434, allocations: 180.2 kB / 0.7094 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.7434, allocations: 105 kB / 0.7095 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.7435, allocations: 100.5 kB / 0.7096 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7435, allocations: 0 / 0.7096 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001107/0.7446, allocations: 319.5 kB / 0.7099 GB, free: 7.434 MB / 0.4948 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.002099/0.7467, allocations: 1.179 MB / 0.7111 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.7468, allocations: 45.69 kB / 0.7111 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7468, allocations: 0 / 0.7111 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.7468, allocations: 0 / 0.7111 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.7473, allocations: 0.5277 MB / 0.7116 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.7485, allocations: 0.6096 MB / 0.7122 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.7488, allocations: 0.6848 MB / 0.7129 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.7488, allocations: 8.031 kB / 0.7129 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.7489, allocations: 15.44 kB / 0.7129 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of SimCode: time 2.21e-07/0.7489, allocations: 0 / 0.7129 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.7709, allocations: 6.25 MB / 0.719 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.7712, allocations: 270.9 kB / 0.7193 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.649, allocations: 0 / 0.7193 GB, free: 13.88 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)