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.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.706/2.706, allocations: 287.5 MB / 302.4 MB, free: 8.254 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.001358/0.001358, allocations: 193.6 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.096/2.096, allocations: 205.4 MB / 0.6297 GB, free: 10.51 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.0009951/0.000995, allocations: 96.03 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006436/0.0006439, allocations: 13.45 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2073, allocations: 115.3 MB / 0.9785 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003601/0.211, allocations: 2.595 MB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003363/0.2144, allocations: 1.984 MB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.2147, allocations: 8 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.2163, allocations: 426.1 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.2167, allocations: 139.1 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.2169, allocations: 35.91 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005158/0.2174, allocations: 419.2 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.2176, allocations: 114.9 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.2179, allocations: 135.4 kB / 0.9842 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.2181, allocations: 163.2 kB / 0.9843 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.2182, allocations: 20 kB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.2183, allocations: 20 kB / 0.9844 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.759e-05/0.2184, allocations: 79.67 kB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.888e-05/0.2185, allocations: 105.5 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.2189, allocations: 442.7 kB / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2189, allocations: 0 / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.219, allocations: 4 kB / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.219, allocations: 0 / 0.985 GB, free: 21.53 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001117/0.2201, allocations: 0.6423 MB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2202, allocations: 8.031 kB / 0.9856 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.705e-05/0.2202, allocations: 54.55 kB / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.304e-05/0.2203, allocations: 47.39 kB / 0.9857 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.2209, allocations: 369 kB / 0.9861 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.2209, allocations: 16.44 kB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.221, allocations: 16 kB / 0.9861 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.2215, allocations: 207.3 kB / 0.9863 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.2216, allocations: 0 / 0.9863 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.2216, allocations: 12 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.2216, allocations: 4 kB / 0.9863 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.2222, allocations: 177.6 kB / 0.9865 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.2238, allocations: 0.8817 MB / 0.9873 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.2242, allocations: 156.6 kB / 0.9875 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.2246, allocations: 122.9 kB / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.2246, allocations: 7.938 kB / 0.9876 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.2247, allocations: 38.5 kB / 0.9876 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.146e-06/0.2247, allocations: 0 / 0.9876 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009123/0.2256, allocations: 261.5 kB / 0.9879 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.2257, allocations: 55.41 kB / 0.9879 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.2263, allocations: 417.7 kB / 0.9883 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2263, allocations: 29.7 kB / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.2265, allocations: 212.1 kB / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.2266, allocations: 59.11 kB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.2266, allocations: 4 kB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.2267, allocations: 346.8 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.2269, allocations: 63.92 kB / 0.989 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.2272, allocations: 67.91 kB / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.2275, allocations: 65.88 kB / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2275, allocations: 4 kB / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006311/0.2281, allocations: 213.1 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2281, allocations: 11.98 kB / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2282, allocations: 0 / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.2282, allocations: 0 / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.2286, allocations: 59.91 kB / 0.9894 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2287, allocations: 0 / 0.9894 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.229, allocations: 27.83 kB / 0.9895 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.229, allocations: 8 kB / 0.9895 GB, free: 16.69 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002265/0.2293, allocations: 165.8 kB / 0.9896 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.2293, allocations: 31.62 kB / 0.9897 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.259e-05/0.2294, allocations: 39.59 kB / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2295, allocations: 4 kB / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2295, allocations: 0 / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.2295, allocations: 0 / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.23, allocations: 381.2 kB / 0.9901 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.23, allocations: 4 kB / 0.9901 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.2305, allocations: 55.91 kB / 0.9901 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.2305, allocations: 4 kB / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.2306, allocations: 4 kB / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2306, allocations: 0 / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2306, allocations: 0 / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.2315, allocations: 397.4 kB / 0.9905 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.2316, allocations: 124.5 kB / 0.9906 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.704e-05/0.2317, allocations: 4 kB / 0.9906 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.232, allocations: 24.05 kB / 0.9907 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.2321, allocations: 7.984 kB / 0.9907 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.2321, allocations: 4 kB / 0.9907 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004478/0.2326, allocations: 303.1 kB / 0.991 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2326, allocations: 3.938 kB / 0.991 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000432/0.233, allocations: 71.84 kB / 0.991 GB, free: 15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001134/0.2342, allocations: 0.9357 MB / 0.9919 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005476/0.2347, allocations: 144.6 kB / 0.9921 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2348, allocations: 0 / 0.9921 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.235, allocations: 89.98 kB / 0.9922 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008929/0.2359, allocations: 94.73 kB / 0.9923 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.2406, allocations: 2.219 MB / 0.9944 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.2409, allocations: 0.7953 MB / 0.9952 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.2412, allocations: 30.95 kB / 0.9952 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.2414, allocations: 123.3 kB / 0.9953 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of SimCode: time 1.703e-06/0.2414, allocations: 4 kB / 0.9953 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.2718, allocations: 7.175 MB / 1.002 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/0.2721, allocations: 265.9 kB / 1.003 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/3.12, allocations: 3.938 kB / 1.003 GB, free: 3.215 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)