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.777/2.777, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001372/0.001372, allocations: 186 kB / 371 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.6297 GB, free: 10.52 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.0008616/0.0008617, allocations: 97.19 kB / 0.743 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004892, allocations: 12.48 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 115.3 MB / 0.9785 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001593/0.2151, allocations: 1.086 MB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.2184, allocations: 1.684 MB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.2185, allocations: 0 / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.2187, allocations: 11.92 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.2189, allocations: 39.83 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.2222, allocations: 0.9232 MB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.2224, allocations: 67.75 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.2224, allocations: 0 / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.2225, allocations: 39.91 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.2226, allocations: 39.84 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.2227, allocations: 0 / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.2242, allocations: 0.6825 MB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.2243, allocations: 71.8 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.2243, allocations: 49.58 kB / 0.9831 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009547/0.2253, allocations: 0.546 MB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2253, allocations: 0 / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2254, allocations: 0 / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2254, allocations: 0 / 0.9836 GB, free: 22.95 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.0007111/0.2261, allocations: 0.5722 MB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2261, allocations: 12.02 kB / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.2262, allocations: 42.55 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.2263, allocations: 27.67 kB / 0.9843 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.2265, allocations: 221.7 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2265, allocations: 0 / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2265, allocations: 0 / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.2267, allocations: 105.6 kB / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2267, allocations: 4 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2267, allocations: 0 / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2267, allocations: 0 / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.2268, allocations: 75.92 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.2271, allocations: 277.8 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2273, allocations: 122.5 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.2274, allocations: 108.9 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.2274, allocations: 0 / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2274, allocations: 34.55 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.2275, allocations: 7.875 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0004257/0.2279, allocations: 329.9 kB / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.2279, allocations: 55.44 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.2282, allocations: 260.9 kB / 0.9858 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.2282, allocations: 25.7 kB / 0.9858 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.2283, allocations: 128.7 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.507e-05/0.2284, allocations: 102.5 kB / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.2284, allocations: 0 / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.2285, allocations: 342.8 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.2286, allocations: 71.98 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-05/0.2287, allocations: 76.77 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.2289, allocations: 112.2 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2289, allocations: 0 / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000267/0.2291, allocations: 217.2 kB / 0.9868 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2292, allocations: 4 kB / 0.9868 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.2292, allocations: 7.938 kB / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2292, allocations: 0 / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.2292, allocations: 0 / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2293, allocations: 0 / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/0.2293, allocations: 11.84 kB / 0.9868 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.2294, allocations: 7.953 kB / 0.9868 GB, free: 19.41 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.0001387/0.2295, allocations: 161.8 kB / 0.987 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.2295, allocations: 19.72 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.2299, allocations: 265.3 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2299, allocations: 0 / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2299, allocations: 0 / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2299, allocations: 0 / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.2302, allocations: 285.9 kB / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2302, allocations: 0 / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-06/0.2302, allocations: 0 / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2302, allocations: 3.984 kB / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.2302, allocations: 0 / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2302, allocations: 4 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2302, allocations: 0 / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.2305, allocations: 260.7 kB / 0.9878 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.2306, allocations: 104.7 kB / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.2306, allocations: 4.031 kB / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.2307, allocations: 0 / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.2307, allocations: 3.938 kB / 0.9879 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2307, allocations: 4 kB / 0.9879 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001993/0.231, allocations: 188.4 kB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-07/0.231, allocations: 0 / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007119/0.2317, allocations: 207.8 kB / 0.9883 GB, free: 17.83 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.001345/0.233, allocations: 1.012 MB / 0.9893 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.2334, allocations: 261.6 kB / 0.9895 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2334, allocations: 0 / 0.9895 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.2336, allocations: 181.6 kB / 0.9897 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.2339, allocations: 16.55 kB / 0.9897 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.2362, allocations: 1.582 MB / 0.9913 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.2365, allocations: 0.7748 MB / 0.992 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.007e-05/0.2366, allocations: 4 kB / 0.992 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.2366, allocations: 59.48 kB / 0.9921 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.2366, allocations: 0 / 0.9921 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.2749, allocations: 7.394 MB / 0.9993 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/0.2753, allocations: 287.2 kB / 0.9996 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/3.084, allocations: 4 kB / 0.9996 GB, free: 6.242 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)