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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 181.6 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.5518/0.5518, allocations: 91.98 MB / 108.5 MB, free: 13.05 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.485/1.485, allocations: 223.1 MB / 354.3 MB, free: 12.09 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.001006/0.001005, allocations: 88.28 kB / 427.3 MB, free: 3.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 12 kB / 0.4984 GB, free: 42.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 72.3 MB / 0.569 GB, free: 1.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4771/0.6215, allocations: 122.5 MB / 0.6886 GB, free: 13.83 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.6218, allocations: 119.8 kB / 0.6887 GB, free: 13.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04638/0.6682, allocations: 15.48 MB / 0.7038 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6683, allocations: 3.938 kB / 0.7038 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.6683, allocations: 0 / 0.7038 GB, free: 14.23 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.001047/0.6693, allocations: 0.5729 MB / 0.7044 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.6694, allocations: 8.031 kB / 0.7044 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.6694, allocations: 113.8 kB / 0.7045 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.6695, allocations: 83.19 kB / 0.7046 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.6697, allocations: 246.2 kB / 0.7048 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.6697, allocations: 150.6 kB / 0.705 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.6698, allocations: 150.6 kB / 0.7051 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.925e-05/0.6699, allocations: 109 kB / 0.7052 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.6699, allocations: 79.23 kB / 0.7053 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/0.6699, allocations: 154.6 kB / 0.7055 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.67, allocations: 150.6 kB / 0.7056 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.747e-05/0.67, allocations: 154.5 kB / 0.7057 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.6703, allocations: 465.9 kB / 0.7062 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.6704, allocations: 165.1 kB / 0.7063 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.6704, allocations: 79.27 kB / 0.7064 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.6705, allocations: 109.8 kB / 0.7065 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.6705, allocations: 0 / 0.7065 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 7.31e-05/0.6706, allocations: 37.5 kB / 0.7066 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.6707, allocations: 134.7 kB / 0.7067 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.6708, allocations: 126.8 kB / 0.7068 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.6708, allocations: 25.7 kB / 0.7068 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.6709, allocations: 92.12 kB / 0.7069 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/0.6709, allocations: 0 / 0.7069 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.6709, allocations: 0 / 0.7069 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.671, allocations: 314.8 kB / 0.7072 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.671, allocations: 4 kB / 0.7072 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.671, allocations: 15.98 kB / 0.7072 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.484e-05/0.6711, allocations: 4 kB / 0.7072 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6711, allocations: 0 / 0.7072 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001161/0.6712, allocations: 53.55 kB / 0.7073 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6712, allocations: 7.938 kB / 0.7073 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.6712, allocations: 4 kB / 0.7073 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.6713, allocations: 0 / 0.7073 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.6713, allocations: 0 / 0.7073 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.6713, allocations: 3.953 kB / 0.7073 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.6713, allocations: 0 / 0.7073 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.6713, allocations: 12.05 kB / 0.7073 GB, free: 10.43 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 9.705e-05/0.6714, allocations: 185.1 kB / 0.7075 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.6715, allocations: 108.9 kB / 0.7076 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/0.6715, allocations: 115.6 kB / 0.7077 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.033e-05/0.6716, allocations: 184.2 kB / 0.7079 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.622e-05/0.6717, allocations: 192.2 kB / 0.7081 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.215e-05/0.6717, allocations: 184.2 kB / 0.7082 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.672, allocations: 409.2 kB / 0.7086 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.214e-05/0.672, allocations: 104.9 kB / 0.7087 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.672, allocations: 105 kB / 0.7088 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.917e-05/0.6721, allocations: 192.2 kB / 0.709 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/0.6722, allocations: 180.3 kB / 0.7092 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.063e-05/0.6722, allocations: 176.8 kB / 0.7094 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.842e-05/0.6723, allocations: 180.2 kB / 0.7095 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.6724, allocations: 319.6 kB / 0.7098 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.6725, allocations: 182.1 kB / 0.71 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.6726, allocations: 180.3 kB / 0.7102 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.6726, allocations: 104.9 kB / 0.7103 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.6727, allocations: 180.2 kB / 0.7105 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.6728, allocations: 104.9 kB / 0.7106 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.6728, allocations: 100.8 kB / 0.7107 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6728, allocations: 0 / 0.7107 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001087/0.6739, allocations: 335.4 kB / 0.711 GB, free: 6.469 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.001328/0.6752, allocations: 1.186 MB / 0.7121 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.426e-05/0.6754, allocations: 41.64 kB / 0.7122 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6754, allocations: 0 / 0.7122 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.6754, allocations: 64 / 0.7122 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.6757, allocations: 0.5389 MB / 0.7127 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.6765, allocations: 0.6137 MB / 0.7133 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.6768, allocations: 0.6887 MB / 0.714 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.6768, allocations: 0 / 0.714 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.6768, allocations: 11.44 kB / 0.714 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/0.6768, allocations: 4 kB / 0.714 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.6962, allocations: 6.4 MB / 0.7202 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.6965, allocations: 264.1 kB / 0.7205 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.535, allocations: 0 / 0.7205 GB, free: 12.74 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)