Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 195.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.577/1.577, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001382/0.001382, allocations: 73.5 kB / 0.6717 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1901, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003929/0.1941, allocations: 3.039 MB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002545/0.1967, allocations: 2.181 MB / 0.7886 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.1969, allocations: 7.938 kB / 0.7886 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.1983, allocations: 0.4938 MB / 0.7891 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.1986, allocations: 150.9 kB / 0.7892 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.1988, allocations: 59.94 kB / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000463/0.1992, allocations: 445.8 kB / 0.7897 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.1995, allocations: 147.2 kB / 0.7899 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.1997, allocations: 159.3 kB / 0.79 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.1999, allocations: 183.1 kB / 0.7902 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.2, allocations: 36 kB / 0.7902 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.2, allocations: 32 kB / 0.7903 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.2001, allocations: 103.7 kB / 0.7904 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.2003, allocations: 218.9 kB / 0.7906 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.2007, allocations: 0.5411 MB / 0.7911 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2007, allocations: 3.984 kB / 0.7911 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2007, allocations: 0 / 0.7911 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.2007, allocations: 0 / 0.7911 GB, free: 5.531 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008576/0.2016, allocations: 0.6967 MB / 0.7918 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2016, allocations: 8.031 kB / 0.7918 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/0.2017, allocations: 58.73 kB / 0.7918 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.2017, allocations: 48.38 kB / 0.7919 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.2021, allocations: 378 kB / 0.7923 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2022, allocations: 16.81 kB / 0.7923 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.2022, allocations: 24.31 kB / 0.7923 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.2025, allocations: 203.4 kB / 0.7925 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2026, allocations: 4 kB / 0.7925 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.2026, allocations: 8 kB / 0.7925 GB, free: 4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2026, allocations: 4 kB / 0.7925 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.2029, allocations: 165.6 kB / 0.7927 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000996/0.204, allocations: 0.8739 MB / 0.7935 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.2042, allocations: 154.6 kB / 0.7937 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.2044, allocations: 107.8 kB / 0.7938 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.2044, allocations: 4 kB / 0.7938 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2045, allocations: 34.5 kB / 0.7938 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.2045, allocations: 0 / 0.7938 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005303/0.205, allocations: 267.8 kB / 0.7941 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.205, allocations: 55.41 kB / 0.7941 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.2054, allocations: 417.7 kB / 0.7945 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2055, allocations: 25.7 kB / 0.7945 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2056, allocations: 208.2 kB / 0.7947 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.2056, allocations: 59.11 kB / 0.7948 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.2057, allocations: 29.7 kB / 0.7948 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2058, allocations: 354.8 kB / 0.7952 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.2059, allocations: 55.97 kB / 0.7952 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2061, allocations: 55.92 kB / 0.7953 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.2063, allocations: 139.2 kB / 0.7954 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2063, allocations: 0 / 0.7954 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003436/0.2067, allocations: 217.1 kB / 0.7956 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2067, allocations: 4 kB / 0.7956 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2067, allocations: 3.938 kB / 0.7956 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2067, allocations: 0 / 0.7956 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.207, allocations: 55.91 kB / 0.7957 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.207, allocations: 0 / 0.7957 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.2071, allocations: 23.83 kB / 0.7957 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2071, allocations: 0 / 0.7957 GB, free: 0.5938 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.2073, allocations: 169.8 kB / 0.7958 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.2073, allocations: 39.47 kB / 0.7959 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.2074, allocations: 43.53 kB / 0.7959 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2074, allocations: 0 / 0.7959 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2074, allocations: 0 / 0.7959 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2074, allocations: 0 / 0.7959 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.2078, allocations: 377.3 kB / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2078, allocations: 0 / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.208, allocations: 55.91 kB / 0.7963 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.208, allocations: 0 / 0.7963 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.208, allocations: 11.94 kB / 0.7963 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2081, allocations: 4 kB / 0.7964 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2081, allocations: 0 / 0.7964 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.2086, allocations: 378.8 kB / 0.7967 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.2087, allocations: 120.7 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.2087, allocations: 4 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.2089, allocations: 15.98 kB / 0.7968 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.2089, allocations: 7.984 kB / 0.7969 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.2089, allocations: 8 kB / 0.7969 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002681/0.2092, allocations: 299.2 kB / 0.7971 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2092, allocations: 0 / 0.7971 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002731/0.2095, allocations: 75.84 kB / 0.7972 GB, free: 14.92 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007319/0.2102, allocations: 0.9255 MB / 0.7981 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.2106, allocations: 158 kB / 0.7983 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2106, allocations: 0 / 0.7983 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.2108, allocations: 83.97 kB / 0.7984 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.2113, allocations: 92.72 kB / 0.7984 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.2151, allocations: 3.54 MB / 0.8019 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.2154, allocations: 0.7951 MB / 0.8027 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.2155, allocations: 30.95 kB / 0.8027 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.2156, allocations: 127.4 kB / 0.8028 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of SimCode: time 6.52e-07/0.2157, allocations: 0 / 0.8028 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3931/0.6087, allocations: 7.836 MB / 0.8105 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.676, allocations: 19.58 kB / 0.8105 GB, free: 1.453 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)