Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.0008566/0.0008567, allocations: 92.31 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.001033/0.001033, 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 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005291/0.0005291, allocations: 13.56 kB / 0.6739 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2336, allocations: 116.3 MB / 0.7875 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001363/0.235, allocations: 1.09 MB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.2375, allocations: 1.692 MB / 0.7902 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.2376, allocations: 0 / 0.7902 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.2378, allocations: 11.92 kB / 0.7902 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.238, allocations: 31.89 kB / 0.7902 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.2403, allocations: 0.9158 MB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2404, allocations: 71.73 kB / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.2404, allocations: 4 kB / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.2405, allocations: 39.91 kB / 0.7912 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.2406, allocations: 31.91 kB / 0.7913 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.2406, allocations: 0 / 0.7913 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009498/0.2416, allocations: 0.6825 MB / 0.7919 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.668e-05/0.2417, allocations: 63.81 kB / 0.792 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.2417, allocations: 49.58 kB / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006052/0.2423, allocations: 0.5576 MB / 0.7926 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2424, allocations: 0 / 0.7926 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2424, allocations: 4 kB / 0.7926 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2424, allocations: 0 / 0.7926 GB, free: 6.523 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005711/0.243, allocations: 0.5683 MB / 0.7931 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.243, allocations: 8.031 kB / 0.7931 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.2431, allocations: 46.55 kB / 0.7932 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.2431, allocations: 23.67 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.2433, allocations: 213.6 kB / 0.7934 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2433, allocations: 7.984 kB / 0.7934 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.2433, allocations: 4 kB / 0.7934 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.2435, allocations: 101.7 kB / 0.7935 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2435, allocations: 0 / 0.7935 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2435, allocations: 4 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2435, allocations: 0 / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.98e-05/0.2436, allocations: 71.97 kB / 0.7936 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.2439, allocations: 281.8 kB / 0.7939 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.244, allocations: 126.4 kB / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.035e-05/0.2441, allocations: 108.9 kB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.2441, allocations: 4 kB / 0.7941 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.2441, allocations: 34.56 kB / 0.7941 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 9.12e-07/0.2441, allocations: 0 / 0.7941 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.000385/0.2445, allocations: 330.6 kB / 0.7944 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.2446, allocations: 55.34 kB / 0.7945 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.2448, allocations: 257 kB / 0.7947 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.2448, allocations: 29.64 kB / 0.7948 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.2449, allocations: 136.7 kB / 0.7949 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.245, allocations: 98.45 kB / 0.795 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.245, allocations: 0 / 0.795 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2452, allocations: 346.8 kB / 0.7953 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.2452, allocations: 71.97 kB / 0.7954 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.2453, allocations: 73.31 kB / 0.7955 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.2454, allocations: 108.2 kB / 0.7956 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2454, allocations: 0 / 0.7956 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002254/0.2457, allocations: 217.2 kB / 0.7958 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2457, allocations: 8.062 kB / 0.7958 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2457, allocations: 4 kB / 0.7958 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2457, allocations: 0 / 0.7958 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-06/0.2457, allocations: 3.984 kB / 0.7958 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2457, allocations: 3.938 kB / 0.7958 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.2458, allocations: 11.84 kB / 0.7958 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.2458, allocations: 0 / 0.7958 GB, free: 2.992 MB / 0.6075 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 0.0001233/0.2459, allocations: 161.8 kB / 0.796 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.246, allocations: 27.62 kB / 0.796 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.2462, allocations: 248.4 kB / 0.7962 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2463, allocations: 0 / 0.7962 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2463, allocations: 0 / 0.7962 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2463, allocations: 0 / 0.7962 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.2465, allocations: 285.8 kB / 0.7965 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2465, allocations: 0 / 0.7965 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2465, allocations: 0 / 0.7965 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2465, allocations: 4 kB / 0.7965 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.2465, allocations: 32 / 0.7965 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2465, allocations: 4 kB / 0.7965 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2465, allocations: 0 / 0.7965 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.2468, allocations: 268.5 kB / 0.7967 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.2469, allocations: 96.77 kB / 0.7968 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2469, allocations: 0 / 0.7968 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.2469, allocations: 4 kB / 0.7968 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.2469, allocations: 3.938 kB / 0.7968 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.247, allocations: 8.016 kB / 0.7969 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001496/0.2471, allocations: 188.4 kB / 0.797 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2471, allocations: 0 / 0.797 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005318/0.2477, allocations: 211.9 kB / 0.7972 GB, free: 1.406 MB / 0.6075 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.001035/0.2487, allocations: 1.009 MB / 0.7982 GB, free: 380 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.249, allocations: 261.6 kB / 0.7985 GB, free: 112 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.249, allocations: 0 / 0.7985 GB, free: 112 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.2491, allocations: 181.6 kB / 0.7986 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.2494, allocations: 16.56 kB / 0.7987 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.2511, allocations: 1.589 MB / 0.8002 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.2514, allocations: 0.7739 MB / 0.801 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.2514, allocations: 7.984 kB / 0.801 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.2515, allocations: 59.47 kB / 0.801 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2515, allocations: 0 / 0.801 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.2694, allocations: 7.396 MB / 0.8083 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.2696, allocations: 280.3 kB / 0.8085 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.213, allocations: 3.938 kB / 0.8085 GB, free: 5.91 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) Environment - environmentSimulation: