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.000975/0.0009748, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4936/0.4936, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.338/1.338, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009615, allocations: 92.75 kB / 421.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.606e-05/7.61e-05, allocations: 4 kB / 0.4898 GB, free: 5.199 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3978, allocations: 72.3 MB / 0.5604 GB, free: 40.4 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.5383, allocations: 122.4 MB / 0.6799 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/0.5387, allocations: 116.7 kB / 0.68 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04557/0.5843, allocations: 15.41 MB / 0.6951 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5843, allocations: 0 / 0.6951 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.5843, allocations: 0 / 0.6951 GB, free: 14.26 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.0009071/0.5852, allocations: 0.5566 MB / 0.6956 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5853, allocations: 8.031 kB / 0.6956 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.5853, allocations: 108.4 kB / 0.6958 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.5854, allocations: 83.19 kB / 0.6958 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.5855, allocations: 250.2 kB / 0.6961 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.5856, allocations: 158.6 kB / 0.6962 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.5856, allocations: 154.6 kB / 0.6964 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.031e-05/0.5857, allocations: 101 kB / 0.6965 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.5857, allocations: 79.23 kB / 0.6965 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.5858, allocations: 154.5 kB / 0.6967 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.5858, allocations: 150.6 kB / 0.6968 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.5859, allocations: 154.6 kB / 0.697 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.5861, allocations: 469.8 kB / 0.6974 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.497e-05/0.5862, allocations: 169.1 kB / 0.6976 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.5863, allocations: 84.14 kB / 0.6977 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.5863, allocations: 79.28 kB / 0.6977 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.5863, allocations: 105.8 kB / 0.6978 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5864, allocations: 0 / 0.6978 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.041e-05/0.5864, allocations: 37.59 kB / 0.6979 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.5865, allocations: 126.7 kB / 0.698 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.5866, allocations: 122.3 kB / 0.6981 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.5866, allocations: 29.7 kB / 0.6981 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.5867, allocations: 96.12 kB / 0.6982 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.5867, allocations: 0 / 0.6982 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.5867, allocations: 0 / 0.6982 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.5868, allocations: 310.8 kB / 0.6985 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.5869, allocations: 8 kB / 0.6985 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.5869, allocations: 7.938 kB / 0.6986 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.5869, allocations: 11.98 kB / 0.6986 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5869, allocations: 0.8438 kB / 0.6986 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000115/0.587, allocations: 57.58 kB / 0.6986 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5871, allocations: 5.25 kB / 0.6986 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.5871, allocations: 4 kB / 0.6986 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.5871, allocations: 0 / 0.6986 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.5871, allocations: 0 / 0.6986 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5871, allocations: 6.828 kB / 0.6986 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.5871, allocations: 4 kB / 0.6986 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.5872, allocations: 7.984 kB / 0.6986 GB, free: 10.39 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 () * 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.451e-05/0.5872, allocations: 178.3 kB / 0.6988 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.5873, allocations: 112.9 kB / 0.6989 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.5874, allocations: 112.4 kB / 0.699 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-05/0.5874, allocations: 184.4 kB / 0.6992 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.527e-05/0.5875, allocations: 188.2 kB / 0.6994 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/0.5875, allocations: 184.2 kB / 0.6996 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.5877, allocations: 413.2 kB / 0.7 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-05/0.5878, allocations: 108.9 kB / 0.7001 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.5878, allocations: 101 kB / 0.7002 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.439e-05/0.5878, allocations: 184.2 kB / 0.7003 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/0.5879, allocations: 180.3 kB / 0.7005 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.073e-05/0.588, allocations: 176.3 kB / 0.7007 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.689e-05/0.588, allocations: 184.2 kB / 0.7008 GB, free: 8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.5882, allocations: 311.7 kB / 0.7011 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.5883, allocations: 186 kB / 0.7013 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.5884, allocations: 176.3 kB / 0.7015 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.5884, allocations: 113.8 kB / 0.7016 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.5885, allocations: 184.2 kB / 0.7018 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.5885, allocations: 108.9 kB / 0.7019 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.488e-05/0.5886, allocations: 96.53 kB / 0.702 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/0.5886, allocations: 0 / 0.702 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009983/0.5896, allocations: 327.4 kB / 0.7023 GB, free: 6.453 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 () * 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.001303/0.5909, allocations: 1.187 MB / 0.7034 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.232e-05/0.591, allocations: 37.7 kB / 0.7035 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.591, allocations: 4 kB / 0.7035 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.591, allocations: 0 / 0.7035 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.5913, allocations: 0.5357 MB / 0.704 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.5918, allocations: 337.4 kB / 0.7043 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.5921, allocations: 0.6926 MB / 0.705 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.236e-05/0.5921, allocations: 0 / 0.705 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.5921, allocations: 15.42 kB / 0.705 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.5921, allocations: 0 / 0.705 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3486/0.9408, allocations: 6.45 MB / 0.7113 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.941, allocations: 238.1 kB / 0.7115 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.634, allocations: 2.922 kB / 0.7115 GB, free: 130.5 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)