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.MultipoleThermalResistances_OneUTube.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.001592/0.001592, allocations: 91.92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.055/1.055, allocations: 143.4 MB / 434.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 8 kB / 0.5162 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1986, allocations: 83.41 MB / 0.5976 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001768/0.2005, allocations: 1.08 MB / 0.5987 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.2034, allocations: 1.644 MB / 0.6003 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.2035, allocations: 0 / 0.6003 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.2e-05/0.2036, allocations: 7.922 kB / 0.6003 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.2038, allocations: 19.91 kB / 0.6003 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.2064, allocations: 0.9213 MB / 0.6012 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2065, allocations: 63.75 kB / 0.6013 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.2065, allocations: 7.922 kB / 0.6013 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.517e-05/0.2066, allocations: 23.92 kB / 0.6013 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.2067, allocations: 31.84 kB / 0.6013 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2067, allocations: 4 kB / 0.6013 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.208, allocations: 0.6786 MB / 0.602 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.2081, allocations: 23.97 kB / 0.602 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.2081, allocations: 33.64 kB / 0.602 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008239/0.2089, allocations: 0.4955 MB / 0.6025 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.209, allocations: 0 / 0.6025 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.209, allocations: 0 / 0.6025 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.209, allocations: 0 / 0.6025 GB, free: 2.648 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006928/0.2097, allocations: 470.8 kB / 0.603 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.2097, allocations: 8.031 kB / 0.603 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.2098, allocations: 42.48 kB / 0.603 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.2099, allocations: 15.86 kB / 0.603 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.2101, allocations: 179.5 kB / 0.6032 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2101, allocations: 0 / 0.6032 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2101, allocations: 4 kB / 0.6032 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.2103, allocations: 49.69 kB / 0.6033 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.2103, allocations: 4 kB / 0.6033 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2103, allocations: 0 / 0.6033 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.2103, allocations: 0 / 0.6033 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.286e-05/0.2104, allocations: 35.86 kB / 0.6033 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.2106, allocations: 197.6 kB / 0.6035 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.285e-05/0.2107, allocations: 50.5 kB / 0.6035 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.2108, allocations: 28.89 kB / 0.6036 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.2108, allocations: 0 / 0.6036 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.2109, allocations: 38.55 kB / 0.6036 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.2109, allocations: 0 / 0.6036 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002368/0.2111, allocations: 125.7 kB / 0.6037 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2112, allocations: 51.41 kB / 0.6038 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.2113, allocations: 156.8 kB / 0.6039 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2113, allocations: 25.7 kB / 0.6039 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.2114, allocations: 100.1 kB / 0.604 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.2115, allocations: 19.66 kB / 0.6041 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.2115, allocations: 0 / 0.6041 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2116, allocations: 322.8 kB / 0.6044 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.2117, allocations: 32.02 kB / 0.6044 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.2117, allocations: 35.91 kB / 0.6044 GB, free: 484 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.2117, allocations: 23.98 kB / 0.6044 GB, free: 460 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2117, allocations: 0 / 0.6044 GB, free: 460 kB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001326/0.2119, allocations: 97.67 kB / 0.6045 GB, free: 356 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2119, allocations: 4 kB / 0.6045 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.2119, allocations: 4 kB / 0.6045 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2119, allocations: 0 / 0.6045 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.747e-06/0.212, allocations: 3.984 kB / 0.6046 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.212, allocations: 0 / 0.6046 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.54e-05/0.212, allocations: 7.922 kB / 0.6046 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.212, allocations: 8 kB / 0.6046 GB, free: 328 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/0.2121, allocations: 117.8 kB / 0.6047 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.2121, allocations: 7.906 kB / 0.6047 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.2123, allocations: 98.39 kB / 0.6048 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2123, allocations: 4 kB / 0.6048 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2123, allocations: 0 / 0.6048 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2123, allocations: 0 / 0.6048 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3407/0.553, allocations: 191 kB / 0.605 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.5531, allocations: 3.938 kB / 0.605 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.5531, allocations: 0 / 0.605 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.5531, allocations: 3.594 kB / 0.605 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.5531, allocations: 7.062 kB / 0.605 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.5531, allocations: 0 / 0.605 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5531, allocations: 0 / 0.605 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.5533, allocations: 120.9 kB / 0.6051 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.5533, allocations: 86.59 kB / 0.6052 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.5534, allocations: 1.969 kB / 0.6052 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/0.5534, allocations: 1.031 kB / 0.6052 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.5534, allocations: 3.062 kB / 0.6052 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.5534, allocations: 0.7812 kB / 0.6052 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.854e-05/0.5535, allocations: 123.4 kB / 0.6053 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5535, allocations: 0 / 0.6053 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007454/0.5543, allocations: 200.3 kB / 0.6055 GB, free: 40.28 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 (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 Backend phase and start with SimCode phase: time 0.0008878/0.5552, allocations: 0.8815 MB / 0.6064 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.5553, allocations: 95.03 kB / 0.6064 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5553, allocations: 2.531 kB / 0.6064 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.5554, allocations: 74.3 kB / 0.6065 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.5557, allocations: 8.266 kB / 0.6065 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008934/0.5566, allocations: 0.7814 MB / 0.6073 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.5567, allocations: 0.703 MB / 0.608 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.5568, allocations: 3.328 kB / 0.608 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.5568, allocations: 19 kB / 0.608 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.5568, allocations: 0 / 0.608 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.5728, allocations: 5.779 MB / 0.6136 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.573, allocations: 287.2 kB / 0.6139 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.5, allocations: 0 / 0.6139 GB, free: 37.84 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) Environment - environmentSimulation: