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.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 192.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9918/0.9918, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.5143 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1489, allocations: 82.04 MB / 0.5945 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002372/0.1513, allocations: 1.432 MB / 0.5959 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004026/0.1553, allocations: 2.872 MB / 0.5987 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.1554, allocations: 3.938 kB / 0.5987 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.1554, allocations: 7.984 kB / 0.5987 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.024e-05/0.1555, allocations: 19.8 kB / 0.5987 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.159, allocations: 1.584 MB / 0.6002 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.159, allocations: 47.67 kB / 0.6003 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.1591, allocations: 3.984 kB / 0.6003 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.492e-05/0.1591, allocations: 11.94 kB / 0.6003 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.022e-05/0.1592, allocations: 19.92 kB / 0.6003 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1592, allocations: 4 kB / 0.6003 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.1611, allocations: 1.462 MB / 0.6018 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.1611, allocations: 7.922 kB / 0.6018 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.1612, allocations: 15.88 kB / 0.6018 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.1625, allocations: 1.096 MB / 0.6029 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1625, allocations: 0 / 0.6029 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1625, allocations: 4 kB / 0.6029 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1625, allocations: 0 / 0.6029 GB, free: 0.8047 MB / 0.4981 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.0005668/0.1631, allocations: 0.5145 MB / 0.6034 GB, free: 248 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1631, allocations: 16.03 kB / 0.6034 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.924e-05/0.1632, allocations: 110 kB / 0.6035 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.1633, allocations: 80.2 kB / 0.6036 GB, free: 32 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2182/0.3815, allocations: 250.7 kB / 0.6038 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.3815, allocations: 151.6 kB / 0.6039 GB, free: 43.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.3816, allocations: 153.2 kB / 0.6041 GB, free: 43.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.903e-05/0.3816, allocations: 105.6 kB / 0.6042 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3816, allocations: 77.28 kB / 0.6043 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.3817, allocations: 150.6 kB / 0.6044 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.3817, allocations: 151.1 kB / 0.6045 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.3817, allocations: 159.4 kB / 0.6047 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.3819, allocations: 468.6 kB / 0.6051 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.382, allocations: 175.7 kB / 0.6053 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.382, allocations: 81.05 kB / 0.6054 GB, free: 42.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.382, allocations: 77.95 kB / 0.6055 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.382, allocations: 112.8 kB / 0.6056 GB, free: 41.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.382, allocations: 0.8125 kB / 0.6056 GB, free: 41.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.987e-05/0.3821, allocations: 32.23 kB / 0.6056 GB, free: 41.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.3822, allocations: 133.5 kB / 0.6057 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3823, allocations: 135.9 kB / 0.6059 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.3823, allocations: 26.77 kB / 0.6059 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.3823, allocations: 90.81 kB / 0.606 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.3823, allocations: 0 / 0.606 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.3824, allocations: 19.59 kB / 0.606 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.3824, allocations: 319.5 kB / 0.6063 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.3824, allocations: 3.812 kB / 0.6063 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.555e-05/0.3825, allocations: 4.094 kB / 0.6063 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.3825, allocations: 18.23 kB / 0.6063 GB, free: 41.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3825, allocations: 0.9375 kB / 0.6063 GB, free: 41.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001087/0.3826, allocations: 57.34 kB / 0.6064 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3826, allocations: 5.875 kB / 0.6064 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.3827, allocations: 4.031 kB / 0.6064 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3827, allocations: 1.125 kB / 0.6064 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-06/0.3827, allocations: 8.797 kB / 0.6064 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3827, allocations: 0 / 0.6064 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.3827, allocations: 5.906 kB / 0.6064 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3827, allocations: 1.938 kB / 0.6064 GB, free: 41.08 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.3828, allocations: 186.6 kB / 0.6066 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.3828, allocations: 107.5 kB / 0.6067 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.3829, allocations: 115.8 kB / 0.6068 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.3829, allocations: 182.1 kB / 0.607 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/0.3829, allocations: 181.6 kB / 0.6071 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.3829, allocations: 181 kB / 0.6073 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.3831, allocations: 414.9 kB / 0.6077 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.3831, allocations: 103.7 kB / 0.6078 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.297e-05/0.3831, allocations: 112.5 kB / 0.6079 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/0.3831, allocations: 182 kB / 0.6081 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.3831, allocations: 184.4 kB / 0.6083 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.702e-05/0.3832, allocations: 180.2 kB / 0.6084 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-05/0.3832, allocations: 181.8 kB / 0.6086 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.816e-05/0.3833, allocations: 314.1 kB / 0.6089 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.3833, allocations: 185.8 kB / 0.6091 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.3833, allocations: 178.2 kB / 0.6093 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.3834, allocations: 109.7 kB / 0.6094 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.3834, allocations: 181.9 kB / 0.6095 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3834, allocations: 107.4 kB / 0.6096 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.3835, allocations: 106.2 kB / 0.6097 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3835, allocations: 0 / 0.6097 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006976/0.3842, allocations: 281.8 kB / 0.61 GB, free: 37.58 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009681/0.3852, allocations: 1.172 MB / 0.6112 GB, free: 36.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.225e-05/0.3853, allocations: 45.48 kB / 0.6112 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3853, allocations: 0 / 0.6112 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.3853, allocations: 0 / 0.6112 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3856, allocations: 466.8 kB / 0.6116 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.3865, allocations: 1.598 MB / 0.6132 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.655e-05/0.3866, allocations: 0.6804 MB / 0.6139 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.45e-05/0.3866, allocations: 4.078 kB / 0.6139 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.3866, allocations: 24.14 kB / 0.6139 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3867, allocations: 0 / 0.6139 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.407, allocations: 7.119 MB / 0.6208 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.309, allocations: 14 kB / 0.6209 GB, free: 33.56 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)