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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001023/0.001023, allocations: 179.7 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.5089/0.5089, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.353/1.353, allocations: 221.3 MB / 348.3 MB, free: 456 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.001009/0.001009, allocations: 105.6 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.188e-05/4.199e-05, allocations: 7.984 kB / 0.4898 GB, free: 5.211 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.364, allocations: 72.3 MB / 0.5604 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.5197, allocations: 122.4 MB / 0.6799 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.5201, allocations: 115.9 kB / 0.68 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04636/0.5664, allocations: 15.42 MB / 0.6951 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5665, allocations: 4 kB / 0.6951 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.5665, allocations: 0 / 0.6951 GB, free: 14.29 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.00117/0.5677, allocations: 0.5527 MB / 0.6956 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.5677, allocations: 8.031 kB / 0.6956 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.149e-05/0.5678, allocations: 109.8 kB / 0.6958 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.511e-05/0.5679, allocations: 80.12 kB / 0.6958 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.5681, allocations: 250.3 kB / 0.6961 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.374e-05/0.5682, allocations: 158.5 kB / 0.6962 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.5683, allocations: 154.6 kB / 0.6964 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.466e-05/0.5683, allocations: 101 kB / 0.6965 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.5684, allocations: 79.23 kB / 0.6965 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.5684, allocations: 154.6 kB / 0.6967 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.11e-05/0.5685, allocations: 150.6 kB / 0.6968 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.5686, allocations: 154.6 kB / 0.697 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.569, allocations: 469.8 kB / 0.6974 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.866e-05/0.5691, allocations: 173.7 kB / 0.6976 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.5691, allocations: 80.14 kB / 0.6977 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.5691, allocations: 79.28 kB / 0.6977 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.999e-05/0.5692, allocations: 105.8 kB / 0.6978 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.674e-06/0.5692, allocations: 0 / 0.6978 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 9.707e-05/0.5693, allocations: 41.58 kB / 0.6979 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.5694, allocations: 129.2 kB / 0.698 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.5696, allocations: 123.4 kB / 0.6981 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.5696, allocations: 29.7 kB / 0.6982 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.5696, allocations: 92.14 kB / 0.6982 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.5696, allocations: 0 / 0.6982 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.5697, allocations: 0 / 0.6982 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5698, allocations: 318.8 kB / 0.6985 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.5698, allocations: 4 kB / 0.6985 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.5698, allocations: 4 kB / 0.6986 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.5699, allocations: 11.94 kB / 0.6986 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5699, allocations: 0 / 0.6986 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001256/0.57, allocations: 57.58 kB / 0.6986 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.57, allocations: 7.984 kB / 0.6986 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.5701, allocations: 4 kB / 0.6986 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5701, allocations: 3.984 kB / 0.6986 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.5701, allocations: 0 / 0.6986 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.5701, allocations: 3.953 kB / 0.6986 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.5701, allocations: 0 / 0.6986 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.5701, allocations: 4 kB / 0.6986 GB, free: 10.43 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 9.795e-05/0.5702, allocations: 176.3 kB / 0.6988 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.5703, allocations: 112.9 kB / 0.6989 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.637e-05/0.5704, allocations: 120.3 kB / 0.699 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.879e-05/0.5705, allocations: 184.4 kB / 0.6992 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.358e-05/0.5705, allocations: 176.3 kB / 0.6994 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.148e-05/0.5706, allocations: 184.2 kB / 0.6996 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.5709, allocations: 421.2 kB / 0.7 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-05/0.5709, allocations: 104.9 kB / 0.7001 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.571, allocations: 101.9 kB / 0.7002 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.103e-05/0.571, allocations: 176.3 kB / 0.7003 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.5711, allocations: 184.2 kB / 0.7005 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.113e-05/0.5712, allocations: 176.3 kB / 0.7007 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-05/0.5713, allocations: 188.2 kB / 0.7008 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.5714, allocations: 311.8 kB / 0.7011 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.5715, allocations: 186 kB / 0.7013 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.5716, allocations: 180.2 kB / 0.7015 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.5717, allocations: 117.8 kB / 0.7016 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.5717, allocations: 176.3 kB / 0.7018 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.5718, allocations: 111.3 kB / 0.7019 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.69e-05/0.5719, allocations: 100.7 kB / 0.702 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5719, allocations: 0 / 0.702 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009477/0.5728, allocations: 323.5 kB / 0.7023 GB, free: 6.488 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.001596/0.5744, allocations: 1.187 MB / 0.7034 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.724e-05/0.5745, allocations: 41.69 kB / 0.7035 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5745, allocations: 0 / 0.7035 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/0.5746, allocations: 4 kB / 0.7035 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.5749, allocations: 0.5318 MB / 0.704 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.5756, allocations: 343.1 kB / 0.7043 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.5759, allocations: 0.6887 MB / 0.705 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.72e-05/0.5759, allocations: 3.938 kB / 0.705 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.5759, allocations: 15.44 kB / 0.705 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.5759, allocations: 0 / 0.705 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3212/0.8971, allocations: 6.442 MB / 0.7113 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.8974, allocations: 229.3 kB / 0.7115 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.609, allocations: 2.281 kB / 0.7115 GB, free: 130.7 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)