Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.595/2.595, allocations: 287.3 MB / 302.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 182.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.00125, allocations: 96.28 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004705, allocations: 12.86 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2278, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001556/0.2294, allocations: 1.082 MB / 0.9794 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.2326, allocations: 1.668 MB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.2327, allocations: 0 / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.2329, allocations: 7.938 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.233, allocations: 27.95 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.2361, allocations: 0.9051 MB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.506e-05/0.2362, allocations: 31.95 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.2363, allocations: 4 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.2364, allocations: 35.89 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.2365, allocations: 27.92 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.2365, allocations: 0 / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.2377, allocations: 0.6318 MB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.2378, allocations: 59.83 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.2379, allocations: 61.45 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008537/0.2388, allocations: 0.5538 MB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2388, allocations: 0 / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2388, allocations: 4 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2388, allocations: 0 / 0.9833 GB, free: 23.15 MB / 0.6198 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.0006546/0.2395, allocations: 0.5683 MB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2395, allocations: 19.95 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.2396, allocations: 42.55 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.2396, allocations: 23.67 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.2398, allocations: 213.7 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.2398, allocations: 4 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.2399, allocations: 4 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.24, allocations: 101.7 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2401, allocations: 0 / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.2401, allocations: 4 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2401, allocations: 0 / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.816e-05/0.2402, allocations: 75.92 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.2405, allocations: 277.8 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.2406, allocations: 122.5 kB / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.2406, allocations: 8.031 kB / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.2407, allocations: 34.56 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.552e-06/0.2407, allocations: 0 / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0004891/0.2412, allocations: 422.9 kB / 0.9852 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2412, allocations: 59.34 kB / 0.9852 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.2415, allocations: 257 kB / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.2416, allocations: 29.64 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.2416, allocations: 124.7 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.2417, allocations: 106.4 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.2417, allocations: 0 / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.2418, allocations: 346.8 kB / 0.986 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.2419, allocations: 71.98 kB / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.242, allocations: 72.77 kB / 0.9862 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.2421, allocations: 100.2 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2422, allocations: 0 / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002645/0.2424, allocations: 225.2 kB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2425, allocations: 4.062 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.2425, allocations: 4 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2425, allocations: 0 / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.164e-06/0.2425, allocations: 0 / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.2425, allocations: 4 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.855e-05/0.2426, allocations: 7.844 kB / 0.9865 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.2426, allocations: 7.922 kB / 0.9865 GB, free: 19.62 MB / 0.6198 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.0001326/0.2428, allocations: 161.8 kB / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.2428, allocations: 19.72 kB / 0.9867 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.2432, allocations: 256.3 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2432, allocations: 0 / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2432, allocations: 4 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2432, allocations: 0 / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.2434, allocations: 285.8 kB / 0.9872 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2434, allocations: 4 kB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.2435, allocations: 0 / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2435, allocations: 0 / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2435, allocations: 4.031 kB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2435, allocations: 4 kB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2435, allocations: 0 / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.2438, allocations: 268.6 kB / 0.9875 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.2438, allocations: 104.7 kB / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.2439, allocations: 0 / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.244, allocations: 0 / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.244, allocations: 0 / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.244, allocations: 4.031 kB / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001949/0.2442, allocations: 196.4 kB / 0.9878 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2442, allocations: 0 / 0.9878 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000775/0.245, allocations: 203.9 kB / 0.988 GB, free: 18.04 MB / 0.6198 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.001269/0.2463, allocations: 1.004 MB / 0.9889 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003378/0.2466, allocations: 265.6 kB / 0.9892 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2467, allocations: 0 / 0.9892 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.2469, allocations: 181.6 kB / 0.9894 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2471, allocations: 20.53 kB / 0.9894 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.2494, allocations: 1.558 MB / 0.9909 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2497, allocations: 0.7748 MB / 0.9917 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.2497, allocations: 3.984 kB / 0.9917 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.2498, allocations: 59.47 kB / 0.9917 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of SimCode: time 1.292e-06/0.2498, allocations: 0 / 0.9917 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.2833, allocations: 7.377 MB / 0.9989 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.2836, allocations: 284.7 kB / 0.9992 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.119, allocations: 3.938 kB / 0.9992 GB, free: 6.484 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_8.0.0_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_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)